1 .\" Copyright (C) 2004-2007, 2009-2011, 2013-2015 Internet Systems Consortium, Inc. ("ISC")
2 .\" Copyright (C) 2000-2002 Internet Software Consortium.
4 .\" Permission to use, copy, modify, and/or distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 .\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 .\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 .\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 .\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 .\" PERFORMANCE OF THIS SOFTWARE.
19 .\" Title: named-checkzone
21 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
27 .TH "NAMED\-CHECKZONE" "8" "2013\-04\-29" "ISC" "BIND9"
28 .\" -----------------------------------------------------------------
29 .\" * Define some portability stuff
30 .\" -----------------------------------------------------------------
31 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 .\" http://bugs.debian.org/507673
33 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 .\" -----------------------------------------------------------------
38 .\" * set default formatting
39 .\" -----------------------------------------------------------------
40 .\" disable hyphenation
42 .\" disable justification (adjust text to left margin only)
44 .\" -----------------------------------------------------------------
45 .\" * MAIN CONTENT STARTS HERE *
46 .\" -----------------------------------------------------------------
48 named-checkzone, named-compilezone \- zone file validity checking or converting tool
50 .HP \w'\fBnamed\-checkzone\fR\ 'u
51 \fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-h\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-T\ \fR\fB\fImode\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
52 .HP \w'\fBnamed\-compilezone\fR\ 'u
53 \fBnamed\-compilezone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-C\ \fR\fB\fImode\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-T\ \fR\fB\fImode\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {\fB\-o\ \fR\fB\fIfilename\fR\fR} {zonename} {filename}
56 \fBnamed\-checkzone\fR
57 checks the syntax and integrity of a zone file\&. It performs the same checks as
59 does when loading a zone\&. This makes
60 \fBnamed\-checkzone\fR
61 useful for checking zone files before configuring them into a name server\&.
63 \fBnamed\-compilezone\fR
65 \fBnamed\-checkzone\fR, 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
66 \fBnamed\fR\&. When manually specified otherwise, the check levels must at least be as strict as those specified in the
78 Print the usage summary and exit\&.
83 Quiet mode \- exit code only\&.
88 Print the version of the
89 \fBnamed\-checkzone\fR
95 When loading the zone file read the journal if it exists\&.
100 Specify the class of the zone\&. If not specified, "IN" is assumed\&.
105 Perform post\-load zone integrity checks\&. Possible modes are
108 \fB"full\-sibling"\fR,
110 \fB"local\-sibling"\fR
116 checks that MX records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames)\&. Mode
118 only checks MX records which refer to in\-zone hostnames\&.
122 checks that SRV records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames)\&. Mode
124 only checks SRV records which refer to in\-zone hostnames\&.
128 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
130 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\&.
133 \fB"full\-sibling"\fR
135 \fB"local\-sibling"\fR
136 disable sibling glue checks but are otherwise the same as
144 disables the checks\&.
149 Specify the format of the zone file\&. Possible formats are
157 Specify the format of the output file specified\&. For
158 \fBnamed\-checkzone\fR, this does not cause any effects unless it dumps the zone contents\&.
165 \fB"raw=N"\fR, which store the zone in a binary format for rapid loading by
168 specifies the format version of the raw zone file: if N is 0, the raw file can be read by any version of
169 \fBnamed\fR; if N is 1, the file can be read by release 9\&.9\&.0 or higher\&. The default is 1\&.
176 checks with the specified failure mode\&. Possible modes are
179 \fBnamed\-compilezone\fR),
182 \fBnamed\-checkzone\fR) and
188 When compiling a zone to \*(Aqraw\*(Aq format, set the "source serial" value in the header to the specified serial number\&. (This is expected to be used primarily for testing purposes\&.)
193 Specify whether MX records should be checked to see if they are addresses\&. Possible modes are
202 Check if a MX record refers to a CNAME\&. Possible modes are
211 Specify whether NS records should be checked to see if they are addresses\&. Possible modes are
214 \fBnamed\-compilezone\fR),
217 \fBnamed\-checkzone\fR) and
228 then write to standard out\&. This is mandatory for
229 \fBnamed\-compilezone\fR\&.
234 Check for records that are treated as different by DNSSEC but are semantically equal in plain DNS\&. Possible modes are
243 Specify the style of the dumped zone file\&. Possible styles are
246 \fB"relative"\fR\&. The full format is most suitable for processing automatically by a separate script\&. On the other hand, the relative format is more human\-readable and is thus suitable for editing by hand\&. For
247 \fBnamed\-checkzone\fR
248 this does not cause any effects unless it dumps the zone contents\&. It also does not have any meaning if the output format is not text\&.
253 Check if a SRV record refers to a CNAME\&. Possible modes are
264 so that include directives in the configuration file are processed as if run by a similarly chrooted named\&.
269 Check if Sender Policy Framework (SPF) records exist and issues a warning if an SPF\-formatted TXT record is not also present\&. Possible modes are
279 so that relative filenames in master file $INCLUDE directives work\&. This is similar to the directory clause in
285 Dump zone file in canonical format\&. This is always enabled for
286 \fBnamed\-compilezone\fR\&.
291 Specify whether to check for non\-terminal wildcards\&. Non\-terminal wildcards are almost always the result of a failure to understand the wildcard matching algorithm (RFC 1034)\&. Possible modes are
299 The domain name of the zone being checked\&.
304 The name of the zone file\&.
308 \fBnamed\-checkzone\fR
309 returns an exit status of 1 if errors were detected and 0 otherwise\&.
313 \fBnamed-checkconf\fR(8),
315 BIND 9 Administrator Reference Manual\&.
318 \fBInternet Systems Consortium, Inc\&.\fR
321 Copyright \(co 2004-2007, 2009-2011, 2013-2015 Internet Systems Consortium, Inc. ("ISC")
323 Copyright \(co 2000-2002 Internet Software Consortium.