Bind
From Logicalwebhost-Wiki
I'm FINALLY switching over to BIND, not because djbdns isn't good, it is, but the guy who wrote it won't open it up, and so now hardly anyone supports it, so there you go :)
BIND server is a big hairy complex package that does DNS, sometimes well. You can do some pretty complex routing stuff with it, but my guess is you're not, you probably just need the basics. So here's my version of what those might be:
- you have you yourdomain.com on your server that you want to set up as a nameserver, so it'd be ns1.yourdomain.com or similar
- you want to point other domains to your nameserver and have them know where to go to find their site, often times it might be on the same server. BIND doesn't really care if it is or isn't, it treats everything the same. This is why things get soooo confusing
- Your nameserver grabs periodic snapshots (or DNS cache) of things it has found on the internet, so it doesn't have to go looking for them again and again. You don't need to care about this, but it's why when you make a DNS change, nothing happens for awhile, because all the other DNS servers do the same thing, to avoid swamping the internet.
Likely the first thing you want to do is install it so run
apt-get install bind9
this will install it in the normal /etc/bind9 folder, if you want to chroot it elsewhere for security, you can try it using this howto
after you get it installed, you have to modify the config file /etc/bind9/named.conf
