Rewrite DNS for testing applications
Switch branches/tags
Nothing to show
Latest commit d917b14 Feb 17, 2012 Tarun Desikan Merge branch 'ruby19'
Failed to load latest commit information.
bin gem-ify Feb 17, 2012
config initial running rewriter Jul 7, 2011
lib bug fix Feb 17, 2012
.gitignore fix depedencies Jul 7, 2011
Gemfile gem-ify Feb 17, 2012 gem-ify Feb 17, 2012
Rakefile gem-ify Feb 17, 2012
VERSION increment the version as this has been tested in prod Jul 12, 2011
dnsrr.gemspec gem-ify Feb 17, 2012



bundle install

Setting up

  1. create a config file

    cp config/example.yaml /etc/dnsrr_config.yaml

edit it to meet your needs

  1. run with default configs

    rvmsudo bin/dnsrr_control start

  2. pass arguments

    rvmsudo bin/dnsrr_control start -- --config /home/user/test/config.yaml

  3. run in the foreground - gets errors

    rvmsudo bin/dnsrr_control run

  4. Available arguments

    --config = takes absolute path to a config file default is /etc/dnsrr_config.yaml --port = listen on a different port than the default 53 --protocol = change the protocol from the default udp --pid-file = write a pidfile default is /tmp/ --listen-ip = default is ( all interfaces )

  5. Set as your primary nameserver in your network settings

Big thanks to the rubydns gem from