|
The next several steps will involve the setup of the master DNS server in our multiple server solution. These steps will be repeated, with some slight variations, on the slave servers later in the install. The setup of the slave servers will be covered in a seperate step, so for now just worry about the master DNS server.
The first thing we will do on the master DNS server is to 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 on the master DNS server...
1. cd /downloads/djbdnsrocks
2. tar zxvf djbdns-1.05.tar.gz
3. cd djbdns-1.05
|
Redhat/Fedora 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
|