Red Hat ENTERPRISE LINUX 3 Reference Manual page 205

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

Chapter 12. Berkeley Internet Name Domain (BIND)
— Designates the nameserver as authoritative for this zone. A zone should be set as the
master
if the zone's configuration files reside on the system.
master
— Designates the nameserver as a slave server for this zone. Also specifies the IP address
slave
of the master nameserver for the zone.
zone-statistics
them to either the default location (
statistics-file
for more information about the
12.2.1.5. Sample
zone
Most changes to the
ifying, or deleting
zone
nameservers require only a small subset to function efficiently. The following
very basic examples illustrating a master-slave nameserver relationship.
The following is an example of a
(
):
192.168.0.1
zone "example.com" IN {
type master;
file "example.com.zone";
allow-update { none; };
};
In the statement, the zone is identified as
service is instructed to read the
allow any other hosts to update.
A slave server's
zone
For a slave server, the type is set to
the IP address of the master server.
named
The following is an example slave server
zone "example.com" {
type slave;
file "example.com.zone";
masters { 192.168.0.1; };
};
This
statement configures
zone
IP address for information about the
192.168.0.1
server receives from the master server is saved to the
12.2.2. Other Statement Types
The following is a list of lesser used statement types available within
— Configures various security requirements necessary to use the
controls
administer the
named
Refer to Section 12.4.1 Configuring
statement is structured and about the options which are available.
— Configures
named
option in the
server
server
Statements
/etc/named.conf
statements. While these
statement for the primary nameserver hosting
zone
/var/named/example.com.zone
statement for
example.com
slave
zone
named
service.
/etc/named.conf
to keep statistics concerning this zone, writing
/var/named/named.stats
statement. See Section 12.2.2 Other Statement Types
statement.
file of a master or slave nameserver involves adding, mod-
statements can contain many options, most
zone
, the type is set to
example.com
is slightly different from the previous example.
and in place of the
allow-update
statement for
example.com
on the slave server to query the master server at the
example.com
/var/named/example.com.zone
to learn more about how the
) or the file listed in the
statements are
zone
example.com
, and the
master
file. It also tells
named
line is a directive telling
zone:
zone. The information the slave
named.conf
command to
rndc
187
named
not to
file.
controls

Advertisement

Table of Contents
loading

Table of Contents