HP-UX IP Address and Client Management Administrator's Guide (October 2009)
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; ]
[ also-notify { ip_addr; [ ip_addr; ... ] };
};
The slave or stub zone statement is of the following format:
zone domain_name [ ( in hs hesiod chaos ) ] {
type ( slave stub ) ;
[ file path_name; ]
master { ip_addr; [ ip_addr; ... ] }
[ check-names ( warn fail ignore ) ; ]
[ allow-update { address_match_list }; ]
[ allow-query { address_match_list }; ]
[ allow-transfer { address_match_list}; ]
[ allow-update { address_match_list } ; ]
[ forwarders { ip_addr [port ip_port ] ;
[ ip_addr [port ip_port] ; ... ] }; ]
[ max-transfer-time-in number; ]
[ max-transfer-time-out number ; ]
[ max-transfer-idle-out number ; ]
[ notify yes_or_no; ]
[ sig-validity-interval number ; ]
[ also-notify { ip_addr; [ip_addr; ... ] };
};
The hint zone statement is of the following format:
zone . [ (in hs hesiod chaos ) ] {
type hint;
file path_name;
[ check-names ( warn fail ignore ); ]
};
42 Overview