1 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
2 "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
3 [<!ENTITY mdash "—">]>
5 - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
6 - Copyright (C) 2000-2002 Internet Software Consortium.
8 - Permission to use, copy, modify, and distribute this software for any
9 - purpose with or without fee is hereby granted, provided that the above
10 - copyright notice and this permission notice appear in all copies.
12 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
13 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
15 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
17 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18 - PERFORMANCE OF THIS SOFTWARE.
21 <!-- $Id: named-checkzone.docbook,v 1.3.2.2.8.11 2005/05/12 21:35:57 sra Exp $ -->
25 <date>June 13, 2000</date>
29 <refentrytitle><application>named-checkzone</application></refentrytitle>
30 <manvolnum>8</manvolnum>
31 <refmiscinfo>BIND9</refmiscinfo>
38 <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
44 <holder>Internet Software Consortium.</holder>
49 <refname><application>named-checkzone</application></refname>
50 <refpurpose>zone file validity checking tool</refpurpose>
55 <command>named-checkzone</command>
56 <arg><option>-d</option></arg>
57 <arg><option>-j</option></arg>
58 <arg><option>-q</option></arg>
59 <arg><option>-v</option></arg>
60 <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
61 <arg><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
62 <arg><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
63 <arg><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
64 <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
65 <arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
66 <arg><option>-D</option></arg>
67 <arg choice="req">zonename</arg>
68 <arg choice="req">filename</arg>
73 <title>DESCRIPTION</title>
75 <command>named-checkzone</command> checks the syntax and integrity of
76 a zone file. It performs the same checks as <command>named</command>
77 does when loading a zone. This makes
78 <command>named-checkzone</command> useful for checking zone
79 files before configuring them into a name server.
84 <title>OPTIONS</title>
100 Quiet mode - exit code only.
109 Print the version of the <command>named-checkzone</command>
119 When loading the zone file read the journal if it exists.
125 <term>-c <replaceable class="parameter">class</replaceable></term>
128 Specify the class of the zone. If not specified "IN" is assumed.
134 <term>-k <replaceable class="parameter">mode</replaceable></term>
137 Perform <command>"check-name"</command> checks with the specified failure mode.
138 Possible modes are <command>"fail"</command>,
139 <command>"warn"</command> (default) and
140 <command>"ignore"</command>.
146 <term>-n <replaceable class="parameter">mode</replaceable></term>
149 Specify whether NS records should be checked to see if they
150 are addresses. Possible modes are <command>"fail"</command>,
151 <command>"warn"</command> (default) and
152 <command>"ignore"</command>.
158 <term>-o <replaceable class="parameter">filename</replaceable></term>
161 Write zone output to <filename>filename</filename>.
167 <term>-t <replaceable class="parameter">directory</replaceable></term>
170 chroot to <filename>directory</filename> so that include
171 directives in the configuration file are processed as if
172 run by a similarly chrooted named.
178 <term>-w <replaceable class="parameter">directory</replaceable></term>
181 chdir to <filename>directory</filename> so that relative
182 filenames in master file $INCLUDE directives work. This
183 is similar to the directory clause in
184 <filename>named.conf</filename>.
193 Dump zone file in canonical format.
199 <term>zonename</term>
202 The domain name of the zone being checked.
208 <term>filename</term>
211 The name of the zone file.
221 <title>RETURN VALUES</title>
223 <command>named-checkzone</command> returns an exit status of 1 if
224 errors were detected and 0 otherwise.
229 <title>SEE ALSO</title>
232 <refentrytitle>named</refentrytitle>
233 <manvolnum>8</manvolnum>
235 <citetitle>RFC 1035</citetitle>,
236 <citetitle>BIND 9 Administrator Reference Manual</citetitle>.
241 <title>AUTHOR</title>
243 <corpauthor>Internet Systems Consortium</corpauthor>