TinyDNS (DJBDNS) Installation

I love DJBDNS. Its fast and secure, and superior to BIND in many ways, imho.
You will need to be root for this.

First, install the packages:
apt-get install daemontools
apt-get install daemontools-run
apt-get install ucspi-tcp
apt-get install djbdns

Then, add the necessary user accounts:
adduser --no-create-home --disabled-login --shell /bin/false dnslog
adduser --no-create-home --disabled-login --shell /bin/false tinydns

Step 1:
tinydns-conf tinydns dnslog /etc/tinydns/ EXTERNAL.IP.ADDRESS

(where EXTERNAL.IP.ADDRESS == your internet IP)

Step 2:
mkdir /etc/service ; cd /etc/service ; ln -sf /etc/tinydns/

Start it:
initctl start svscan

Check it:
svstat /etc/service/tinydns

Stop it:
svc -d /etc/service/tinydns

Start it:
svc -u /etc/service/tinydns

Please Register.

If you wish to add comments.