Djbdns

From Qmail Info Wiki

djbdns is a suite of programs written by Dr. Daniel J. Bernstein which can be used to provide DNS resolution services.

The biggest difference between djbdns and other DNS server packages (particularly BIND (http://www.isc.org/sw/bind/)) is that it uses separate programs for caching nameservers and authoritative nameservers. Even though the RFC's which describe how DNS works plainly state that the preferred configuration is to have separate servers, BIND (which was written by one of the authors of the original DNS specification) doesn't actually work that way.

The second biggest difference is that DNS data is stored in a binary hash table using djb's CDB format.

Web sites relating to djbdns

  • djbdnsrocks (http://www.djbdnsrocks.org/) has a walk-through of how to set up a djbdns server. It's written by the same person who wrote the qmailrocks (http://www.qmailrocks.org/) web site, but sadly it doesn't get nearly as much traffic.
  • www.jms1.net/djbdns has a few pages by John Simpson which explain how to do some advanced things with djbdns, such as blocking certain domain names from resolving (http://www.jms1.net/djbdns/blocking.shtml) as a way to prevent spam, or to keep from seeing banner ads in web pages.