Installing djbdns

You need three source tarballs: daemontools, uscpi-tcp, and djbdns. Get these from the djbdns home page at http://cr.yp.to/djbdns.html.

After installation, you’re ready to start configuration.

More...

To install daemontools, follow these steps:

# mkdir -m 1755 /package

# cd /package

Download and unpack the latest daemontools tarball into /package, as follows:

# tar xzvpf daemontools-0.76.tar.gz

# cd admin/daemontools-0.76

To compile and set up the daemontools programs, use:

# package/install

Next, fetch the latest uspci-tcp tarball and install it:

# cd /usr/sources

# tar xzvf ucspi-tcp-0.88.tar

# cd ucspi-tcp-0.88

# make

# make setup check

It puts itself into /usr/local/bin.

Finally, fetch and install djbdns:

# tar xzvf djbdns-1.05.tar.gz

# cd djbdns-1.05

# make

# make setup check

It puts itself into /usr/local/bin.

daemontools is a suite of utilities for managing services. You’ll see supervise, multilog, and svstat. supervise automatically restarts services if they die unexpectedly. multilog is a nice log manager that automatically rotates log data, so that logs don’t consume your disk space and you always have fresh data. svstat tells you the status of a service.

uspci-tcp takes the place of inetd and xinetd, for running djbdns and other Dan Bernstein programs. You don’t have to do anything other than install it.

djbdns is a suite of DNS programs.