Specifications
A
DNS — Domain Name Service
options {
directory "/var/lib/named";
forwarders { 10.11.12.13; 10.11.12.14; };
listen-on { 127.0.0.1; 192.168.0.99; };
allow-query { 127/8; 192.168.0/24; };
notify no;
};
File 8: Forwarding Options in named.conf
Adjust the IP addresses to your personal environment. After options follows
the zone, “localhost”, “0.0.127.in-addr.arpa”, and “.” entries. At least en-
tries from “type hint” should exist. Their corresponding files never have to
be modified, as they function in their present state. Also, be sure that a “;”
follows each entry and that the curly braces are properly set.
If you have made changes to the configuration file /etc/named.conf or to
the zone files, have BIND reread these files by entering rcnamed reload.
Otherwise, completely restart the name server with rcnamed restart. To
stop the name server, enter rcnamed stop.
The Configuration File /etc/named.conf
Make all the settings for the name server BIND8 and BIND9 in the /etc/
named.conf file. The zone data, consisting of the host names, IP addresses,
and similar, for the domains to administer are stored in separate files in the
/var/lib/named directory.
The /etc/named.conf is roughly divided into two areas. One is the op-
tions section for general settings and the other consists of zone entries for the
individual domains. Additional sections for logging and acl type entries can
be added. Comment lines begin with a ‘#’ sign or ‘//’. A minimalistic
/etc/named.conf looks like File 9.
options {
directory "/var/lib/named";
forwarders 10.0.0.1; ;
notify no;
};
zone "localhost" in {
type master;
file "localhost.zone";
159SuSE Linux – Firewall on CD2










