HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

n
named(1M) named(1M)
use is to prime the server with the locations of root domain servers. This information is used to find the
current root servers and their addresses. The current root server information is placed in the operating
cache. Data for the root name servers in the backup cache are never discarded.
The
zone "berkeley.edu"
line states that the master file db.berkeley contains authoritative
data for the
berkeley.edu zone. A server authoritative for a zone has the most accurate information
for the zone. All domain names are relative to the origin, in this case,
berkeley.edu (see below for a
more detailed description).
The
zone "32.128.in-addr.arpa"
line states that the file
db.128.32 contains authoritative
data for the domain
32.128.in-addr.arpa. This domain is used to translate addresses in network
128.32 to hostnames.
The
zone "cc.berkeley.edu"
line specifies that all authoritative data in the
cc.berkeley.edu
zone is to be transferred from the name server at Internet address 128.32.137.8 and will be saved in the
backup file db.cc. Up to 10 addresses can be listed on this line. If a transfer fails, it will try the next
address in the list. The secondary copy is also authoritative for the specified domain. The first non-
Internet address on this line will be taken as a filename in which to backup the transferred zone. The
name server will load the zone from this backup file (if it exists) when it boots, providing a complete copy,
even if the master servers are unreachable. Whenever a new copy of the domain is received from one of
the master servers, this file is updated. If no file name is given, a temporary file will be used and will be
deleted after each successful zone transfer. This is not recommended because it causes a needless waste
of bandwidth.
IPv6 Options
listen-on-v6 This option will specify the ports on which the server will listen for incoming
queries sent using IPv6. In this option, only two values are supported:
any and
none. If this option is not specified in the named configuration file
(named.conf), named will not listen on any IPv6 interfaces.
Examples, using
any:
listen-on-v6 port 80 {any;};
listen-on-v6 port 1234 {any;};
Example, using none, to stop the server from listening to IPv6 addresses:
listen-on-v6 {none;};
NOTE: The hosts_to_named configuration file migration script does not add the
listen-on-v6 option to the named.conf file on dual stack machine. In order
to enable DNS services to listen on IPv6 interfaces, this entry needs to be added
manually.
query-source-v6
This option will specify the server with IPv6 address, which is to be contacted for
the answer to a query from an IPv6 source.
Example:
query-source-v6 address c000:1::a35 port 5000
transfer-source-v6
This option is similar to the transfer-source option, but is meant for zone transfers
using IPv6. This works in an identical fashion for both Options statement gram-
mar and Zone statement grammar.
Master File Format
The master file consists of control information and a list of resource records for objects in the zone of the
forms:
$INCLUDE filename opt_domain
$ORIGIN domain
domain opt_ttl opt_class type resource_record_data
where:
domain is
. for root, @ for the current origin, or a standard domain name. If domain is a
standard domain name that does not end with ‘‘.’’, the current origin is appended to
the domain. Domain names ending with ‘‘.’’ are unmodified.
Section 1M490 Hewlett-Packard Company 3 HP-UX 11i Version 2: August 2003