Web Hosting Talk







View Full Version : How to configure a slave DNS?


pmak0
05-09-2001, 02:31 PM
In /etc/named.conf of the master nameserver, I have:

zone "anifics.com" {
type master;
file "domains/anifics.com";
};

Would this be the correct way to setup the slave nameserver, or did I miss something?

zone "anifics.com" {
type slave;
file "domains/anifics.com";
};

Will that make it automatically synchonize the domains/anifics.com file with the master?

Planet Z
05-09-2001, 08:21 PM
You need to specify what server it will get the information from.

For example:


zone "anifics.com" {
type slave;
file "domains/anifics.com";
masters {
101.101.101.101;
};
};

Assuming that 101.101.101.101 is the IP of the primary nameserver for the domain.

Josh