examples/README.md in rubydns-0.9.1 vs examples/README.md in rubydns-0.9.2
- old
+ new
@@ -11,11 +11,11 @@
By default this server will listen for UDP requests on port 5300 and does not need to be started as root.
To start the server, ensure that you're in the examples subdirectory and type
bundle
- bundle exec ./flakey-dns.rb
+ bundle exec ./flakey-dns.rb start
To see it in action you can then query some domains. For example,
dig @localhost -p 5300 slashdot.org -t A
dig @localhost -p 5300 www.hackernews.com -t A
@@ -49,11 +49,11 @@
system.
To start the server, ensure that you're in the examples subdirectory and type
bundle
- sudo bundle exec ./fortune-dns.rb
+ sudo bundle exec ./fortune-dns.rb start
To create a new fortune type
dig @localhost fortune -t TXT
@@ -96,11 +96,11 @@
By default this server will listen for UDP requests on port 5300 and does not need to be started as root.
To start the server, ensure that you're in the examples subdirectory and type
bundle
- sudo bundle exec ./geoip-dns.rb
+ sudo bundle exec ./geoip-dns.rb start
To see the behavior, run a DNS query against the server where you are running the GeoIPDNS
daemon. Depending on the continent to which the client machine's IP address is mapped,
you will receive a different IP address in the answer section:
@@ -122,10 +122,10 @@
system.
To start the server, ensure that you're in the examples subdirectory and type
bundle
- sudo bundle exec ./wikipedia-dns.rb
+ sudo bundle exec ./wikipedia-dns.rb start
To query Wikipedia, pick a term - say, 'helium' - and make a DNS query like
dig @localhost helium.wikipedia -t TXT