Installing and Administering Internet Services

Chapter 3 101
Configuring and Administering the BIND Name Service
Configuring a Primary Master Name Server
Interface Options: listen-on [port ip_port]\
{address_match_list};
The interfaces and ports from which the server will answer queries may
be specified using the listen-on option. The listen-on option takes an
optional port and an address_match_list. The server will listen on all
interfaces allowed by the address match list. If a port is not specified,
port 53 will be used. If no listen-on is specified, the server will listen on
port 53 on all interfaces.
Multiple listen-on statements are allowed. Here’s an example:
listen-on { 5.6.7.8; } ;
listen-on port 1234 { 11.2.3.4; 1.2/16; } ;
Zone Transfer Options: Table 3-7 lists the zone transfer options.
allow-transfer {
address_match_list};
This specifies which hosts are allowed to receive zone
transfers from the server. The allow-transfer
option may also be specified in the zone statement. If
it is specified in the zone statement, it overrides the
options allow-transfer statement. The default is
to allow transfers from all hosts.
Table 3-6 Access Control Options
Options Descriptions
Table 3-7 Zone Transfer Options
Options Description
max-transfer-
time-in number;
Inbound zone transfers (named-xfer processes) that run longer than
the minutes specified will be terminated. The default is 120 minutes
(2 hours).
transfer-format
(one-answer |
many-answers );
The server supports two zone transfer methods. one-answer uses
one DNS message per resource record transferred. many-answers
packs as many resource records as possible into a message.
many-answers is more efficient, but only understood by BIND
8.1.2 and patched versions of BIND 4.9.7. The default is
one-answer. The transfer-format option may be overridden
on a per-server basis by using the server statement.