named.conf.4 (2010 09)
n
named.conf(4) named.conf(4)
(BIND 9.3)
view "external" {
match-clients { any; };
// Refuse recursive service to external clients.
recursion no;
// Provide a restricted view of the example.com zone
// containing only publicly accessible hosts.
zone "example.com" {
type master;
file "example-external.db";
};
};
The zone Statement
zone Statement Grammar
zone zone_name [ class ][{
type ( master | slave | hint
| stub | forward | delegation-only ) ;
[ allow-notify { address_match_list }; ]
[ allow-query { address_match_list }; ]
[ allow-transfer { address_match_list }; ]
[ allow-update { address_match_list }; ]
[ allow-update-forwarding { address_match_list }; ]
[ also-notify { ( ip_addr [ port ip_port ] ; )... }; ]
[ alt-transfer-source ( ip4_addr | * )[port ip_port ] ; ]
[ alt-transfer-source-v6 ( ip6_addr | * )[port ip_port ] ; ]
[ check-names ( warn | fail | ignore ) ; ]
[ database string ; ]
[ delegation-only yes_or_no ; ]
[ dialup dialup_option ; ]
[ file string ; ]
[ forward ( only | first ) ; ]
[ forwarders { ( ip_addr [ port ip_port ] ; )... }; ]
[ ixfr-from-differences yes_or_no ; ]
[ key-directory path_name ; ]
[ masters [ port ip_port ] { (
( masters_name | ip_addr [ port ip_port ][key key ]);
)... }; ]
[ max-refresh-time number ; ]
[ max-retry-time number ; ]
[ max-transfer-idle-in number ; ]
[ max-transfer-idle-out number ; ]
[ max-transfer-time-in number ; ]
[ max-transfer-time-out number ; ]
[ min-refresh-time number ; ]
[ min-retry-time number ; ]
[ multi-master yes_or_no ; ]
[ notify yes_or_no | explicit ; ]
[ notify-source ( ip4_addr | * )[port ip_port ] ; ]
[ notify-source-v6 ( ip6_addr | * )[port ip_port ] ; ]
[ sig-validity-interval number ; ]
[ transfer-source ( ip4_addr | * )[port ip_port ] ; ]
[ transfer-source-v6 ( ip6_addr | * )[port ip_port ] ; ]
[ update-policy { update_policy_rule }; ]...
[ use-alt-transfer-source yes_or_no ; ]
[ zone-statistics yes_or_no ; ]
} ] ;
zone Statement Definition and Usage
zone_name A name for the zone.
class The class of the zone; one of the following:
HP-UX 11i Version 3: September 2010 − 25 − Hewlett-Packard Company 25