slave on per-zone basis only?

WebReactor Networks bind at
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 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>
Organization: UUNET Canada News Reader Service
To: comp-protocols-dns-bind at
Newsgroups: comp.protocols.dns.bind


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 "" {
                        type slave;
                        file "";
                        masters {;  };

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?


More information about the bind-users mailing list