Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 461 — #487
i
i
i
i
i
i
i
i
21
Linux in the Network
21.7.3 Important Configuration Options
directory "/var/lib/named"; Specifies the directory where BIND can find
the files containing the zone data.
forwarders 10.0.0.1;; Specifies the name servers (mostly of the provider) to
which DNS requests should be forwarded if they cannot be resolved
directly.
forward first; Causes DNS requests to be forwarded before an attempt is
made to resolve them via the root name servers. Instead of forward
first, forward only can be written to have all requests forwarded
and none sent to the root name servers. This makes sense for firewall
configurations.
listen-on port 53 127.0.0.1; 192.168.0.1;;
Tells BIND to which network interface and port to listen. The port
53 specification can be left out, as 53 is the default port. If this entry is
completely omitted, BIND accepts requests on all interfaces.
listen-on-v6 port 53 any; ; Tells BIND on which port it should listen for
IPv6 client requests. The only alternative to any is none. As far as
IPv6 is concerned, the server only accepts a wild card address.
query-source address * port 53; This entry is necessary if a firewall is
blocking outgoing DNS requests. This tells BIND to post requests ex-
ternally from port 53 and not from any of the high ports above 1024.
query-source-v6 address * port 53; Tells BIND which port to use for IPv6
queries.
allow-query 127.0.0.1; 192.168.1/24;;
Defines the networks from which clients can post DNS requests. The
/24 at the end is an abbreviated expression for the netmask, in this
case, 255.255.255.0.
allow-transfer ! *;; controls which hosts can request zone transfers. In the
example, such requests are completely denied with ! *. Without this
entry, zone transfers can be requested from anywhere without restric-
tions.
statistics-interval 0; In the absence of this entry, BIND generates several
lines of statistical information per hour in /var/log/messages.
Specify 0 to completely suppress such statistics or specify an interval
in minutes.
461
SUSE LINUX Enterprise Server










