slave on per-zone basis only?
WebReactor Networks
bind at webreactor.net
Wed Feb 20 17:40:40 UTC 2002
Yes, you need a "zone" entry for each domain. This could be scripted.
$ grep '^zone ' named.conf | cut -d\" -f2
...run on the master will return a list of zones served by the master. Feed this to another script to generate the zone entries for the slave(s) and append that to your basic config.
-------- Original Message --------
Subject: slave on per-zone basis only?
Date: Wed, 20 Feb 2002 09:31:09 -0500
From: "j2n tech" <dweeb at geek.com>
Organization: UUNET Canada News Reader Service
To: comp-protocols-dns-bind at moderators.isc.org
Newsgroups: comp.protocols.dns.bind
Hello,
I have a general question about the configuration of slave nameservers.
Does a slave have to have an entry for every zone that a master serves?
Such as:
zone "foobar.com" {
type slave;
file "db.foobar.com";
masters { 192.168.1.235; };
};
Does an entry such as this need to added for *every* domain that this server
is a slave for? Or is there a global command that will tell the server to
slave for every domain a specific master serves?
--matt
More information about the bind-users
mailing list