[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slave DNS server



On Tue, 8 Sep 1998 reckless@trapdoor.aracnet.net wrote:

> 
> Can anyone point me to a good step by step setup for a slave DNS server on
> a debian machine?  We have one that isn't working and I'm thinking of just
> starting from scratch.  Any tips appreciated.
> 
> Regards,
> Bill.

Here is how I do it:

Assuming bind-8 on a hamm system. I added the following to /etc/named.conf
in the section that starts with Name server zone boot file ...

zone "shorelink.com" {
	type slave;
	file "cc.shorelink";
	masters {
		207.88.7.17;
		198.137.202.3;
	};
};

This will cause a zone transfer from the master and create a backup file
in /var/named/cc.shorelink.  If the connection to the masters is lost, it
will continue to serve from the cc file until the SOA record expires.

Don't forget to update the serial number of the SOA record when making
changes on the master or the slaves will never pick up the changes.


George Bonser

The Linux "We're never going out of business" sale at an FTP site near you!


Reply to: