1
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
1
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
2
2
.\" Copyright (C) 2000-2002 Internet Software Consortium.
4
4
.\" Permission to use, copy, modify, and distribute this software for any
13
13
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
.\" PERFORMANCE OF THIS SOFTWARE.
16
.\" $Id: named-checkzone.8,v 1.11.2.1.8.8 2005/10/13 02:33:41 marka Exp $
16
.\" $Id: named-checkzone.8,v 1.42 2007/06/20 02:27:32 marka Exp $
20
.\" ** You probably do not want to edit this file directly **
21
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
22
.\" Instead of manually editing it, you probably should edit the DocBook XML
23
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
20
.\" Title: named\-checkzone
22
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
23
.\" Date: June 13, 2000
24
27
.TH "NAMED\-CHECKZONE" "8" "June 13, 2000" "BIND9" "BIND9"
25
28
.\" disable hyphenation
27
30
.\" disable justification (adjust text to left margin only)
30
named\-checkzone \- zone file validity checking tool
33
named\-checkzone, named\-compilezone \- zone file validity checking or converting tool
33
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] {zonename} {filename}
36
\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\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
38
\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\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
36
41
\fBnamed\-checkzone\fR
39
44
does when loading a zone. This makes
40
45
\fBnamed\-checkzone\fR
41
46
useful for checking zone files before configuring them into a name server.
48
\fBnamed\-compilezone\fR
50
\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
51
\fBnamed\fR. When manually specified otherwise, the check levels must at least be as strict as those specified in the
63
Print the usage summary and exit.
48
68
Quiet mode \- exit code only.
51
73
Print the version of the
52
74
\fBnamed\-checkzone\fR
56
80
When loading the zone file read the journal if it exists.
59
85
Specify the class of the zone. If not specified "IN" is assumed.
90
Perform post\-load zone integrity checks. Possible modes are
93
\fB"full\-sibling"\fR,
95
\fB"local\-sibling"\fR
101
checks that MX records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). Mode
103
only checks MX records which refer to in\-zone hostnames.
107
checks that SRV records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). Mode
109
only checks SRV records which refer to in\-zone hostnames.
113
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
115
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.
118
\fB"full\-sibling"\fR
120
\fB"local\-sibling"\fR
121
disable sibling glue checks but are otherwise the same as
134
Specify the format of the zone file. Possible formats are
142
Specify the format of the output file specified. Possible formats are
146
\fBnamed\-checkzone\fR, this does not cause any effects unless it dumps the zone contents.
64
153
checks with the specified failure mode. Possible modes are
156
\fBnamed\-compilezone\fR),
159
\fBnamed\-checkzone\fR) and
165
Specify whether MX records should be checked to see if they are addresses. Possible modes are
174
Check if a MX record refers to a CNAME. Possible modes are
71
183
Specify whether NS records should be checked to see if they are addresses. Possible modes are
186
\fBnamed\-compilezone\fR),
189
\fBnamed\-checkzone\fR) and
77
193
\-o \fIfilename\fR
78
195
Write zone output to
200
then write to standard out. This is mandatory for
201
\fBnamed\-compilezone\fR.
206
Specify the style of the dumped zone file. Possible styles are
209
\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
210
\fBnamed\-checkzone\fR
211
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.
216
Check if a SRV record refers to a CNAME. Possible modes are
81
223
\-t \fIdirectory\fR
84
227
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
86
230
\-w \fIdirectory\fR
89
234
so that relative filenames in master file $INCLUDE directives work. This is similar to the directory clause in
93
Dump zone file in canonical format.
240
Dump zone file in canonical format. This is always enabled for
241
\fBnamed\-compilezone\fR.
246
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
96
254
The domain name of the zone being checked.
99
259
The name of the zone file.
100
261
.SH "RETURN VALUES"
102
263
\fBnamed\-checkzone\fR