|
Now we will install djbdns, the core of our dns server. Once djbdns is installed, we will then setup the 2 services we wish to run: tinydns (the authoritative name server) and dnscache (the caching nameserver).
So let's install djbdns...
1. cd /downloads/djbdnsrocks
2. tar zxvf djbdns-1.05.tar.gz
3. cd djbdns-1.05
|
Redhat users insert the following step...
To accomodate for the newer glibc package that comes with newer linux distros, you will need to apply to following patch before compiling djbdns:
patch < /downloads//djbdnsrocks/djbdns_errnopatch
Viola! All patched!
|
Now compile/install it...
4. make
You will see a bunch of stuff fly by on the screen. This is normal. ;)
5. make setup check
A successful "make setup check" will produce the following output:
./install
./instcheck
Wow, that was easy! A successful installation will install djbdns and all its tools into /usr/local/bin. Now let's setup tinydns and dnscache.
Proceed to step 4
|