Installation
RubyDNS is available as a ruby gem:
$ sudo gem install rubydns
Some of the auxiliary commands rely on dig:
$ apt-get install dig
Source Code
The source code is available on GitHub: https://github.com/ioquatix/rubydns.
Next:
Basic DNS Server