HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
n
named(1M) named(1M)
only the last is used. Lines in the configuration file cannot be continued on subsequent lines. The following
is a small example:
//
/* configuration file for name server */
#
options {
directory "/usr/local/domain";
forwarders {
10.0.0.78;
10.2.0.78;
};
noforward {
test.com;
c.b.a.in-addr.arpa;
};
sortlist {
10.0.0.0;
26.0.0.0;
};
};
zone "." {
type hint;
file "db.cache";
};
zone "berkeley.edu" {
type master;
file "db.berkeley";
};
zone "32.128.in-addr.arpa" {
type master;
file "db.128.32";
};
zone "cc.berkeley.edu" {
type slave;
file "db.cc";
masters {
128.32.137.8;
};
};
};
The directory statement causes the server to change its working directory to the directory specified.
This can be important for the correct processing of $INCLUDE files (described later) in primary server’s
master files.
Files referenced in the configuration file contain data in the master file format described in RFC1035.
The
forwarders line specifies the addresses of sitewide servers that will accept recursive queries from
other servers. If the configuration file specifies one or more forwarders, then the server will send all
queries for data not in the cache or in its authoritative data to the forwarders first. Each forwarder will be
asked in turn until an answer is returned or the list is exhausted. If no answer is forthcoming from a for-
warder, the server will continue as it would have without the forwarders line unless it is in
forward-only mode. The forwarding facility is useful to cause a large sitewide cache to be generated
on a master, and to reduce traffic over links to outside servers.
The noforward line specifies that the DNS server will not forward any request for something in or below
the listed domains, even if the forwarders directive exists.
Section 1M−−526 − 2 − HP-UX Release 11i: December 2000
___
___