Installing and Administering Internet Services
104 Chapter3
Configuring and Administering the BIND Name Service
Configuring a Primary Master Name Server
server Statement
The server statement in the /etc/named.conf file defines the
characteristics associated with remote name server. For example, if you
know that a name server is giving out bad data, you can mark it as
bogus to prevent further queries to it.
The server supports two zone transfer methods that can be defined
within the transfer-format phrase in the server statement.
• transfer-format one-answer;
Each resource record gets its own DNS message. This format is not
the most efficient, but is widely understood.
• transfer-format many-answers;
As many resource records as will fit are put into each DNS message.
This format is the most efficient and works with BIND 8.1.2.
You can specify which of the two methods to use for a server with the
transfer-format option within the server statement. If
transfer-format is not specified, then the transfer-format specified
by the options Statement will be used.
server Statement Syntax The syntax to use the server statement is
as follows:
server ip_addr {
[ bogus yes_or_no; ]
[ transfers number; ]
[ transfer-format ( one-answer | many-answers ); ]
[ keys { key_id [key_id ...] } ; ]
};
sortlist { ip_addr;
...}
The sortlist line can be used to indicate networks that are
preferred over other, unlisted networks. Address sorting only
happens when the query is from a host on the same network as the
server. The best address is placed first in the response. The address
preference order is local network addresses on the sort list, then
other addresses.
Table 3-9 Periodic Task Intervals Options
Options Description