Other Statement Types - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 12. Berkeley Internet...
2.1.5. Sample
zone
Most changes to the
/etc/named.conf
modifying, or deleting
most nameservers require only a small subset to function efficiently. The following
statements are very basic examples illustrating a master-slave nameserver relationship.
The following is an example of a
(
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
service is instructed to read the
named
not to allow any other hosts to update.
A slave server's
zone
For a slave server, the type is set to
telling
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
slave server receives from the master server is saved to the
file.

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
to administer the
named
Refer to
Section 4.1, "Configuring
statement is structured and available options.
key "<key-name>"
various actions, such as secure updates or the use of the
used with
:
key
algorithm <algorithm-name>
220
Statements
file of a master or slave nameserver involves adding,
statements. While these
zone
statement for the primary nameserver hosting
zone
):
example.com
/var/named/example.com.zone
statement for
example.com
and in place of the
slave
zone
on the slave server to query the master server at the
named
service.
/etc/named.conf
— Defines a particular key by name. Keys are used to authenticate
— The type of algorithm used, such as
statements can contain many options,
zone
, the type is set to
is slightly different from the previous example.
allow-update
statement for
example.com
zone. The information the
example.com
/var/named/example.com.zone
"
to learn more about how the
command. Two options are
rndc
zone
, and the
master
file. It also tells
named
line is a directive
zone:
:
named.conf
command
rndc
controls
or
dsa
hmac-md5
.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents