Technical data

Configuring and Managing BIND
5.3 Configuring the BIND Server (BIND 8.1)
Example 5–6 shows how to specify an
options
statement to control zone
transfers.
Example 5–6 Zone Transfer Options
options {
max-transfer-time-in 120;
transfer-format one-answer;
transfers-in 10;
transfers-per-ns 2;
};
5.3.2.9 Periodic Task Intervals
Table 5–9 describes the periodic task options.
Table 5–9 Periodic Task Options
Option Description
cleaning-interval
The server removes expired resource records from the cache
every
cleaning-interval
minutes. The default is 60
minutes. If set to 0, no periodic cleaning occurs.
interface-interval
The server scans the network interface list every
interface-
interval
minutes to see if interfaces have been added or
deleted. The default is 60 minutes. If set to 0, only interface
scanning occurs when the configuration file is loaded. After
the scan, listeners are started on any new interfaces (provided
they are allowed by the listen-on configuration). Listeners are
deleted for any interface that has gone away.
statistics-
interval
Name-server statistics are logged every
statistics-
interval
minutes. The default is 60. If set to 0, no statistics
are logged.
5.3.2.10 Topology
If other settings are the same, when the server chooses a name server to query
from a list of name servers, it chooses the one that is topologically closest to
itself. The topology statement takes an
address_match_list
and interprets
it in a special way. Each top-level list element is assigned a distance. Non-
negated elements get a distance based on their position in the list; the closer the
match is to the start of the list, the shorter the distance is between the match
and the server. A negated match is assigned the maximum distance from the
server. If there is no match, the address gets a distance that is further than any
non-negated list element and closer than any negated element.
In the following example, the server prefers servers on network 10 the most,
followed by hosts on network 1.2.0.0 (netmask 255.255.0.0) and network 3,
with the exception of hosts on network 1.2.3 (netmask 255.255.255.0), which is
preferred least of all.
topology {
10/8;
!1.2.3/24;
{ 1.2/16; 3/8; };
};
Configuring and Managing BIND 5–17