Other Statement Types - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

Chapter 17. Berkeley Internet Name Domain (BIND)
• slave — Designates the nameserver as a slave server for this zone. Also specifies the IP
address of the master nameserver for the zone.
zone-statistics
Configures named to keep statistics concerning this zone, writing them to either the default
location (/var/named/named.stats) or the file listed in the statistics-file option in the
server statement. Refer to
the server statement.
17.2.1.5. Sample zone Statements
Most changes to the /etc/named.conf file of a master or slave nameserver involves adding,
modifying, or deleting zone statements. While these zone statements can contain many options, most
nameservers require only a small subset to function efficiently. The following zone statements are
very basic examples illustrating a master-slave nameserver relationship.
The following is an example of a zone statement for the primary nameserver hosting example.com
(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 example.com, the type is set to master, and the named
service is instructed to read the /var/named/example.com.zone file. It also tells named not to
allow any other hosts to update.
A slave server's zone statement for example.com is slightly different from the previous example. For
a slave server, the type is set to slave and in place of the allow-update line is a directive telling
named the IP address of the master server.
The following is an example slave server zone statement for example.com zone:
zone "example.com" { type slave; file "example.com.zone"; masters { 192.168.0.1; }; };
This zone statement configures named on the slave server to query the master server at the
192.168.0.1 IP address for information about the example.com zone. The information that the
slave server receives from the master server is saved to the /var/named/example.com.zone file.

17.2.2. Other Statement Types

The following is a list of lesser used statement types available within named.conf:
controls
Configures various security requirements necessary to use the rndc command to administer the
named service.
Section 17.4.1, "Configuring /etc/named.conf"
Refer to
controls statement is structured and what options are available.
key "<key-name>"
Defines a particular key by name. Keys are used to authenticate various actions, such as secure
updates or the use of the rndc command. Two options are used with key:
210
Section 17.2.2, "Other Statement Types"
for more information about
to learn more about how the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Table of Contents