2N/A<!
DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
2N/A - Copyright (C) 2001 Internet Software Consortium. 2N/A - Permission to use, copy, modify, and distribute this software for any 2N/A - purpose with or without fee is hereby granted, provided that the above 2N/A - copyright notice and this permission notice appear in all copies. 2N/A - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM 2N/A - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL 2N/A - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL 2N/A - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, 2N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING 2N/A - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 2N/A - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 2N/A - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 2N/A <
date>June 13, 2000</
date>
2N/A <
refentrytitle><
application>named-checkzone</
application></
refentrytitle>
2N/A <
manvolnum>8</
manvolnum>
2N/A <
refmiscinfo>BIND9</
refmiscinfo>
2N/A <
refname><
application>named-checkzone</
application></
refname>
2N/A <
refpurpose>zone file validity checking tool</
refpurpose>
2N/A <
command>named-checkzone</
command>
2N/A <
arg><
option>-d</
option></
arg>
2N/A <
arg><
option>-j</
option></
arg>
2N/A <
arg><
option>-q</
option></
arg>
2N/A <
arg><
option>-v</
option></
arg>
2N/A <
arg><
option>-c <
replaceable class="parameter">class</
replaceable></
option></
arg>
2N/A <
arg><
option>-k <
replaceable class="parameter">mode</
replaceable></
option></
arg>
2N/A <
arg><
option>-n <
replaceable class="parameter">mode</
replaceable></
option></
arg>
2N/A <
arg><
option>-o <
replaceable class="parameter">filename</
replaceable></
option></
arg>
2N/A <
arg><
option>-t <
replaceable class="parameter">directory</
replaceable></
option></
arg>
2N/A <
arg><
option>-w <
replaceable class="parameter">directory</
replaceable></
option></
arg>
2N/A <
arg><
option>-D</
option></
arg>
2N/A <
arg choice="req">zonename</
arg>
2N/A <
arg choice="req">filename</
arg>
2N/A <
title>DESCRIPTION</
title>
2N/A <
command>named-checkzone</
command> checks the syntax and integrity of
2N/A a zone file. It performs the same checks as <
command>named</
command>
2N/A does when loading a zone. This makes
2N/A <
command>named-checkzone</
command> useful for checking zone
2N/A files before configuring them into a name server.
2N/A <
title>OPTIONS</
title>
2N/A Quiet mode - exit code only.
2N/A Print the version of the <
command>named-checkzone</
command>
2N/A When loading the zone file read the journal if it exists.
2N/A <
term>-c <
replaceable class="parameter">class</
replaceable></
term>
2N/A Specify the class of the zone. If not specified "IN" is assumed.
2N/A <
term>-k <
replaceable class="parameter">mode</
replaceable></
term>
2N/A Perform <
command>"check-name"</
command> checks with the specified failure mode.
2N/A Possible modes are <
command>"fail"</
command>,
2N/A <
command>"warn"</
command> (default) and
2N/A <
command>"ignore"</
command>.
2N/A <
term>-n <
replaceable class="parameter">mode</
replaceable></
term>
2N/A Specify whether NS records should be checked to see if they
2N/A are addresses. Possible modes are <
command>"fail"</
command>,
2N/A <
command>"warn"</
command> (default) and
2N/A <
command>"ignore"</
command>.
2N/A <
term>-o <
replaceable class="parameter">filename</
replaceable></
term>
2N/A Write zone output to <
filename>directory</
filename>.
2N/A <
term>-t <
replaceable class="parameter">directory</
replaceable></
term>
2N/A chroot to <
filename>directory</
filename> so that include
2N/A directives in the configuration file are processed as if
2N/A run by a similarly chrooted named.
2N/A <
term>-w <
replaceable class="parameter">directory</
replaceable></
term>
2N/A chdir to <
filename>directory</
filename> so that relative
2N/A filenames in master file $INCLUDE directives work. This
2N/A is similar to the directory clause in
2N/A Dump zone file in canonical format.
2N/A <
term>zonename</
term>
2N/A The domain name of the zone being checked.
2N/A <
term>filename</
term>
2N/A The name of the zone file.
<
title>RETURN VALUES</
title>
<
command>named-checkzone</
command> returns an exit status of 1 if
errors were detected and 0 otherwise.
<
refentrytitle>named</
refentrytitle>
<
citetitle>RFC 1035</
citetitle>,
<
citetitle>BIND 9 Administrator Reference Manual</
citetitle>.
<
corpauthor>Internet Software Consortium</
corpauthor>