Specifications

Zone Entry Structure
zone "my-domain.de" in
{
type master;
file "my-domain.zone";
notify no;
};
File 11: Zone Entry for my-domain.de
After zone, the name of the domain to administer is specified, my-domain.de,
followed by in and a block of relevant options enclosed in curly braces, as
shown in File 11. To define a “slave zone”, the type is simply switched to
slave and a name server is specified that administers this zone as master (but
can also be a “slave”), as shown in File 12.
zone "other-domain.de" in {
type slave;
file "slave/other-domain.zone";
masters { 10.0.0.1; };
};
File 12: Zone Entry for other-domain.de
The options:
type master; master indicates that this zone is administered on this name
server. This assumes that your zone file has been properly created.
type slave; This zone is transferred from another name server. Must be used
together with masters.
type hint; The zone . of the type hint is used for specification of the root
name servers. This zone definition can be left alone.
file “my-domain.zone” or file “slave/other-domain.zone”; This entry spec-
ifies the file where zone data for the domain is located. This file is not
required by slaves, because its contents is read by another name server.
To differentiate master and slave files, the directory slave is specified
for the slave files.
162 The Configuration File /etc/named.conf