djbdns (better alternative DNS to BIND)
Everything is there , and the best part is, it is not cryptic like DJB's page!

info on patches/addons:

needed patches:

further info:


How to install daemontools

Create a /package directory:

     mkdir -p /package
     chmod 1755 /package
     cd /package

Download daemontools-0.76.tar.gz into /package. Unpack the daemontools package:

     gunzip daemontools-0.76.tar
     tar -xpf daemontools-0.76.tar
     rm daemontools-0.76.tar
     cd admin/daemontools-0.76
patch -p1 < /path/to/patch/daemontools-0.76.errno.patch

Compile and set up the daemontools programs:


install ucspi-tcp:

Download the ucspi-tcp package. The latest published ucspi-tcp package is ucspi-tcp-0.88.tar.gz.

Unpack the ucspi-tcp package(to anywhere):

     gunzip ucspi-tcp-0.88.tar
     tar -xfz ucspi-tcp-0.88.tar
     cd ucspi-tcp-0.88

Compile the ucspi-tcp programs:


As root, install the ucspi-tcp programs under /usr/local:

     make setup check
Install djbdns:
Download the djbdns package. The latest published djbdns package is djbdns-1.05.tar.gz. 

Unpack the djbdns package (unpack anywhere):

     # tar -xfvz djbdns-1.05.tar
     # cd djbdns-1.05

Compile the djbdns programs:

     # make

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

    # make setup check

Create the users that will be needed to run DjbDNS:

# useradd -d /dev/null -s /bin/false dnslog
# useradd -d /dev/null -s /bin/false dnscache
# useradd -d /dev/null -s /bin/false tinydns

Configure dnscache and tinydns. If you are running bind, now would be a good time to shut it down ("service named stop" for you redhat users, or "killall -9 named" for everybody else)

# dnscache-conf dnscache dnslog /etc/dnscache
# tinydns-conf tinydns dnslog /etc/tinydns <YOUR NAME SERVER IP HERE>
# cd /service (Create it if it doesn't exsist)
# ln -s /etc/dnscache
# ln -s /etc/tinydns
(dnscache and tinydns should start up in a few seconds)

Set your local dns cache to be dnscache by editing

          #vi /etc/resolv.conf


Tags: Linux