D. J. Bernstein
Internet publication
djbdns

How to install djbdns

Like any other piece of software (and information generally), djbdns comes with NO WARRANTY. Exception: See the djbdns security guarantee.

System requirements

djbdns works only under UNIX.

djbdns uses daemontools to start, monitor, and control the DNS services. Before running djbdns you need to install daemontools 0.70 or above. Make sure that the daemontools programs are in your system's default path.

You will also need to install ucspi-tcp if you want to use axfrdns or axfr-get.

Installation

Download the djbdns package. The latest published djbdns package is djbdns-1.02.tar.gz.

Unpack the djbdns package:

     gunzip djbdns-1.02.tar
     tar -xf djbdns-1.02.tar
     cd djbdns-1.02

Compile the djbdns programs:

     make

As root, install the djbdns programs under /usr/local:

     make setup check

Now you can configure a local cache, an external cache, and a DNS server. If you're not familiar with djbdns, you should start by reviewing the standard configuration and, if you're behind a firewall, the standard firewall configuration. If you're not familiar with the Domain Name System, you should start by learning how DNS works.

Once djbdns is running, you should report success in two ways:

Installing documentation

To install a local copy of these web pages under /doc, download doc.tar.gz, and unpack it in the / directory:
     gunzip < doc.tar.gz | (cd /; tar -xf -)
     cd /doc
     sort merge/*/packages.html > packages.html.new
     mv packages.html.new packages.html
     sort merge/*/commands.html > commands.html.new
     mv commands.html.new commands.html
     sort merge/*/cfunctions.html > cfunctions.html.new
     mv cfunctions.html.new cfunctions.html