Merge from vendor branch GROFF:
[dragonfly.git] / contrib / bind-9.2.4rc7 / bin / check / named-checkzone.8
1 .\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
2 .\" Copyright (C) 2000-2002  Internet Software Consortium.
3 .\"
4 .\" Permission to use, copy, modify, and 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.
7 .\"
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.
15 .\"
16 .\" $Id: named-checkzone.8,v 1.11.2.3 2004/06/03 05:21:08 marka Exp $
17 .\"
18 .TH "NAMED-CHECKZONE" "8" "June 13, 2000" "BIND9" ""
19 .SH NAME
20 named-checkzone \- zone file validity checking tool
21 .SH SYNOPSIS
22 .sp
23 \fBnamed-checkzone\fR [ \fB-d\fR ]  [ \fB-j\fR ]  [ \fB-q\fR ]  [ \fB-v\fR ]  [ \fB-c \fIclass\fB\fR ]  \fBzonename\fR \fBfilename\fR
24 .SH "DESCRIPTION"
25 .PP
26 \fBnamed-checkzone\fR checks the syntax and integrity of
27 a zone file. It performs the same checks as \fBnamed\fR
28 does when loading a zone. This makes
29 \fBnamed-checkzone\fR useful for checking zone
30 files before configuring them into a name server.
31 .SH "OPTIONS"
32 .TP
33 \fB-d\fR
34 Enable debugging.
35 .TP
36 \fB-q\fR
37 Quiet mode - exit code only.
38 .TP
39 \fB-v\fR
40 Print the version of the \fBnamed-checkzone\fR
41 program and exit.
42 .TP
43 \fB-j\fR
44 When loading the zone file read the journal if it exists.
45 .TP
46 \fB-c \fIclass\fB\fR
47 Specify the class of the zone. If not specified "IN" is assumed.
48 .TP
49 \fBzonename\fR
50 The domain name of the zone being checked.
51 .TP
52 \fBfilename\fR
53 The name of the zone file.
54 .SH "RETURN VALUES"
55 .PP
56 \fBnamed-checkzone\fR returns an exit status of 1 if
57 errors were detected and 0 otherwise.
58 .SH "SEE ALSO"
59 .PP
60 \fBnamed\fR(8),
61 \fIRFC 1035\fR,
62 \fIBIND 9 Administrator Reference Manual\fR.
63 .SH "AUTHOR"
64 .PP
65 Internet Systems Consortium