HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3

The server Statement
The server statement in the /etc/named.conf file defines the remote name server
characteristics. For example, if a name server is giving incorrect data, you can label the name
server to prevent further queries to it.
The server supports the following types of zone transfer methods, which you can define in the
transfer-format phrase in the server statement.
transfer-format one-answer;
Each resource record receives its own DNS message. This format is widely accepted but not
efficient.
transfer-format many-answers;
Each DNS message accommodates as many resource records as possible. This format is
efficient when compared to the transfer-format one-answer option.
You can specify any of the transfer-format options for a server using the transfer-format
option within the server statement. If you do not specify the transfer-format option, the
transfer-format specified by the options statement is used.
The server statement is of the following format:
server ip_addr { [ bogus yes_or_no ; ]
[ edns yes_or_no ; ] [ keys { string ; [ string ; ]... };
] [ provide-ixfr yes_or_no ; ] [ request-ixfr yes_or_no
; ] [ transfer-format ( one-answer | many-answers ) ; ]
[ transfer-source ( ip4_addr | * ) [ port ip_port ] ; ] [ transfer-source-v6
( ip6_addr | * ) [ port ip_port ] ; ] [ transfers number ; ]
};
The zone Statement
The zone statement in the /etc/named.conf file defines a zone as a master, slave, stub, or
hint.
The following are the zone types:
Master – This is the master copy of the data in a zone.
Slave – A slave zone is a replica of a master zone. The master list specifies one or more IP
addresses that the slave contacts to update its copy of the zone. If you specify a file, the
replica is written to the file specified in the slave zone. HP recommends that you use a file
because it speeds the server startup and prevents unnecessary wastage of bandwidth.
Stub – A stub zone is similar to a slave zone, except that it replicates only the name server
records of a master zone instead of the entire zone.
Hint – A hint zone specifies the initial set of root name servers. Upon startup, the server
uses the root hints to find a root name server and gets the latest list of root name servers.
You can specify the following access limitations for the zone in the zone statement:
Updates
Queries
Transfers
The zone statement is of the following format:
zone domain_name [ ( in hs hesiod chaos ) ] {
type master;
file path_name;
[ check-names ( warn fail ignore ); ]
[ allow-update { address_match_list }; ]
[ allow-query { address_match_list }; ]
[ allow-transfer { address_match_list }; ]
[ update-policy { update_policy_rule [...] ; }
[ notify yes_or_no; ]
40 Overview