|
1 |
| -RubyDNS |
2 |
| -======= |
3 |
| - |
4 |
| -* Released under the MIT license. |
5 |
| -* Copyright (C) 2009, 2011 [Samuel G. D. Williams](http://www.codeotaku.com/samuel-williams/). |
6 |
| -* [](http://travis-ci.org/ioquatix/rubydns) |
| 1 | +# RubyDNS |
7 | 2 |
|
8 | 3 | RubyDNS is a simple programmatic DSL (domain specific language) for configuring and running a DNS server. RubyDNS provides a daemon that runs a DNS server which can process DNS requests depending on specific policy. Rule selection is based on pattern matching, and results can be hard-coded, computed, fetched from a remote DNS server, fetched from a local cache, etc.
|
9 | 4 |
|
10 | 5 | RubyDNS provides a full daemon server using RExec. You can either use the built in daemon, customize it to your needs, or specify a full daemon implementation.
|
11 | 6 |
|
12 | 7 | RubyDNS is not designed to be high-performance and uses a thread-per-request model. This is designed to make it as easy as possible to achieve concurrent performance. This is also due to the fact that many other APIs work best this way (unfortunately).
|
13 | 8 |
|
14 |
| -For examples please see the main [project page][1]. |
15 |
| - |
16 |
| -[1]: http://www.oriontransfer.co.nz/gems/rubydns |
| 9 | +[](http://travis-ci.org/ioquatix/rubydns) |
17 | 10 |
|
18 |
| -Basic Example |
19 |
| -------------- |
| 11 | +## Basic Example |
20 | 12 |
|
21 | 13 | This is copied from `test/examples/test-dns-2.rb`. It has been simplified slightly.
|
22 | 14 |
|
@@ -48,8 +40,11 @@ After starting this server you can test it using dig:
|
48 | 40 | dig @localhost dev.mydomain.org
|
49 | 41 | dig @localhost google.com
|
50 | 42 |
|
51 |
| -Compatibility |
52 |
| -------------- |
| 43 | +For examples and documentation please see the main [project page][1]. |
| 44 | + |
| 45 | +[1]: http://www.oriontransfer.co.nz/gems/rubydns |
| 46 | + |
| 47 | +## Compatibility |
53 | 48 |
|
54 | 49 | ### Migrating from RubyDNS 0.3.x to 0.4.x ###
|
55 | 50 |
|
@@ -119,16 +114,16 @@ Once you call this, the transaction won't complete until you call either `transa
|
119 | 114 |
|
120 | 115 | You can see a complete example in `test/test_slow_server.rb`.
|
121 | 116 |
|
122 |
| -Todo |
123 |
| ----- |
| 117 | +## Future |
124 | 118 |
|
125 | 119 | * Support for more features of DNS such as zone transfer.
|
126 | 120 | * Support reverse records more easily.
|
127 | 121 |
|
128 |
| -License |
129 |
| -------- |
| 122 | +## License |
| 123 | + |
| 124 | +Released under the MIT license. |
130 | 125 |
|
131 |
| -Copyright (c) 2010, 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz> |
| 126 | +Copyright, 2009, 2012, by [Samuel G. D. Williams](http://www.codeotaku.com/samuel-williams). |
132 | 127 |
|
133 | 128 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
134 | 129 | of this software and associated documentation files (the "Software"), to deal
|
|
0 commit comments