How to install tinydns ( a very secure dns server ) on Suse Linux 10
Sep 14, 2006

Installing djbdns on suse linux can be rather difficult if you are not familiar with the exact procedure and how to apply the needed patches, so we are writing this tutorial to help others as well as ourselves. The documentation at is very good and we are borrowing heavily from it, but adding the patch stuff and putting it all in one document


To start open a root terminal on the suse linux server you are planning to install tinydns on(we are assuming you have none of the djb software installed).


Get the patches:


mkdir -p /usr/local/djb/patches

cd /usr/local/djb/patches


tar xfvz djb_errno_patches.tgz


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 Daemontools
patch -p1 < /usr/local/djb/patches/daemontools-0.76.errno.patch

Compile and set up the daemontools programs:


To report success:

mail < /package/admin/daemontools/compile/sysdeps



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

Unpack the ucspi-tcp package:

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


patch -p1 < /usr/local/djb/patches/ucspi-tcp-0.88.errno.patch


Compile the ucspi-tcp programs:


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

     make setup check

To report success:

( echo 'First M. Last'; cat `cat SYSDEPS` ) | mail

Replace First M. Last with your name.


Install DJBDNS


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


Unpack the djbdns package:

     gunzip djbdns-1.05.tar
tar -xf djbdns-1.05.tar
cd djbdns-1.05

Compile the djbdns programs:

 echo gcc -O2 -include /usr/include/errno.h > conf-cc 
 As root, install the djbdns programs under /usr/local:

make setup check


At this point you should be able to configure it many different ways, oh and don't forget to open your firewall.


The link below will bring you back to the djb site for configuring djbdns ..



Page 1 of 1

create discussion Create Discussion

Privacy Policy