1
.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
2
.\" Copyright (C) 2000-2002 Internet Software Consortium.
1
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
2
.\" Copyright (C) 2000-2002 Internet Software Consortium.
4
4
.\" Permission to use, copy, modify, and distribute this software for any
5
5
.\" purpose with or without fee is hereby granted, provided that the above
6
6
.\" copyright notice and this permission notice appear in all copies.
8
8
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9
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,
10
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11
11
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
12
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
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.4 2004/06/03 05:35:42 marka Exp $
16
.\" $Id: named-checkzone.8,v 1.11.2.1.8.8 2005/10/13 02:33:41 marka Exp $
18
.TH "NAMED-CHECKZONE" "8" "June 13, 2000" "BIND9" ""
20
named-checkzone \- zone file validity checking tool
23
\fBnamed-checkzone\fR [ \fB-d\fR ] [ \fB-j\fR ] [ \fB-q\fR ] [ \fB-v\fR ] [ \fB-c \fIclass\fB\fR ] [ \fB-k \fImode\fB\fR ] [ \fB-n \fImode\fB\fR ] [ \fB-o \fIfilename\fB\fR ] [ \fB-t \fIdirectory\fB\fR ] [ \fB-w \fIdirectory\fB\fR ] [ \fB-D\fR ] \fBzonename\fR \fBfilename\fR
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.
24
.TH "NAMED\-CHECKZONE" "8" "June 13, 2000" "BIND9" "BIND9"
25
.\" disable hyphenation
27
.\" disable justification (adjust text to left margin only)
30
named\-checkzone \- zone file validity checking 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}
26
\fBnamed-checkzone\fR checks the syntax and integrity of
27
a zone file. It performs the same checks as \fBnamed\fR
36
\fBnamed\-checkzone\fR
37
checks the syntax and integrity of a zone file. It performs the same checks as
28
39
does when loading a zone. This makes
29
\fBnamed-checkzone\fR useful for checking zone
30
files before configuring them into a name server.
40
\fBnamed\-checkzone\fR
41
useful for checking zone files before configuring them into a name server.
37
Quiet mode - exit code only.
48
Quiet mode \- exit code only.
40
Print the version of the \fBnamed-checkzone\fR
51
Print the version of the
52
\fBnamed\-checkzone\fR
44
56
When loading the zone file read the journal if it exists.
47
59
Specify the class of the zone. If not specified "IN" is assumed.
50
Perform \fB"check-name"\fR checks with the specified failure mode.
51
Possible modes are \fB"fail"\fR,
52
\fB"warn"\fR (default) and
56
Specify whether NS records should be checked to see if they
57
are addresses. Possible modes are \fB"fail"\fR,
58
\fB"warn"\fR (default) and
61
\fB-o \fIfilename\fB\fR
62
Write zone output to \fIdirectory\fR.
64
\fB-t \fIdirectory\fB\fR
65
chroot to \fIdirectory\fR so that include
66
directives in the configuration file are processed as if
67
run by a similarly chrooted named.
69
\fB-w \fIdirectory\fB\fR
70
chdir to \fIdirectory\fR so that relative
71
filenames in master file $INCLUDE directives work. This
72
is similar to the directory clause in
64
checks with the specified failure mode. Possible modes are
71
Specify whether NS records should be checked to see if they are addresses. Possible modes are
84
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
89
so that relative filenames in master file $INCLUDE directives work. This is similar to the directory clause in
76
93
Dump zone file in canonical format.
79
96
The domain name of the zone being checked.
82
99
The name of the zone file.
83
100
.SH "RETURN VALUES"
85
\fBnamed-checkzone\fR returns an exit status of 1 if
86
errors were detected and 0 otherwise.
102
\fBnamed\-checkzone\fR
103
returns an exit status of 1 if errors were detected and 0 otherwise.
91
\fIBIND 9 Administrator Reference Manual\fR.
108
BIND 9 Administrator Reference Manual.
94
111
Internet Systems Consortium