table of contents
NAMED-CHECKZONE(8) | BIND9 | NAMED-CHECKZONE(8) |
NAME¶
named-checkzone, named-compilezone - zone file validity checking or converting tool
SYNOPSIS¶
named-checkzone [-d] [-h] [-j] [-q] [-v] [-c class] [-f format] [-F format] [-i mode] [-k mode] [-m mode] [-M mode] [-n mode] [-o filename] [-r mode] [-s style] [-S mode] [-t directory] [-w directory] [-D] [-W mode] {zonename} {filename}
named-compilezone [-d] [-j] [-q] [-v] [-c class] [-C mode] [-f format] [-F format] [-i mode] [-k mode] [-m mode] [-n mode] [-r mode] [-s style] [-t directory] [-w directory] [-D] [-W mode] {-o filename} {zonename} {filename}
DESCRIPTION¶
named-checkzone checks the syntax and integrity of a zone file. It performs the same checks as named does when loading a zone. This makes named-checkzone useful for checking zone files before configuring them into a name server.
named-compilezone is similar to named-checkzone, but it always dumps the zone contents to a specified file in a specified format. Additionally, it applies stricter check levels by default, since the dump output will be used as an actual zone file loaded by named. When manually specified otherwise, the check levels must at least be as strict as those specified in the named configuration file.
OPTIONS¶
-d
-h
-q
-v
-j
-c class
-i mode
Mode "full" checks that MX records refer to A or AAAA record (both in-zone and out-of-zone hostnames). Mode "local" only checks MX records which refer to in-zone hostnames.
Mode "full" checks that SRV records refer to A or AAAA record (both in-zone and out-of-zone hostnames). Mode "local" only checks SRV records which refer to in-zone hostnames.
Mode "full" checks that delegation NS records refer to A or AAAA record (both in-zone and out-of-zone hostnames). It also checks that glue address records in the zone match those advertised by the child. Mode "local" only checks NS records which refer to in-zone hostnames or that some required glue exists, that is when the nameserver is in a child zone.
Mode "full-sibling" and "local-sibling" disable sibling glue checks but are otherwise the same as "full" and "local" respectively.
Mode "none" disables the checks.
-f format
-F format
-k mode
-m mode
-M mode
-n mode
-o filename
-r mode
-s style
-S mode
-t directory
-w directory
-D
-W mode
zonename
filename
RETURN VALUES¶
named-checkzone returns an exit status of 1 if errors were detected and 0 otherwise.
SEE ALSO¶
named(8), named-checkconf(8), RFC 1035, BIND 9 Administrator Reference Manual.
AUTHOR¶
Internet Systems Consortium
COPYRIGHT¶
Copyright © 2004-2007, 2009, 2010 Internet Systems
Consortium, Inc. ("ISC")
Copyright © 2000-2002 Internet Software Consortium.
June 13, 2000 | BIND9 |