2810N/A - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") 2810N/A - Copyright (C) 2000-2002 Internet Software Consortium. 2810N/A - Permission to use, copy, modify, and distribute this software for any 2810N/A - purpose with or without fee is hereby granted, provided that the above 2810N/A - copyright notice and this permission notice appear in all copies. 2810N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 2810N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 2810N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 2810N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 2810N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 2810N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 2810N/A - PERFORMANCE OF THIS SOFTWARE. 2810N/A<
meta http-
equiv="Content-Type" content="text/html; charset=ISO-8859-1">
2810N/A<
title>named-checkconf</
title>
2810N/A<
meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
2810N/A<
body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><
div class="refentry" lang="en">
2810N/A<
p><
span class="application">named-checkconf</
span> — named configuration file syntax checking tool</
p>
2810N/A<
div class="refsynopsisdiv">
2810N/A<
div class="cmdsynopsis"><
p><
code class="command">named-checkconf</
code> [<
code class="option">-v</
code>] [<
code class="option">-j</
code>] [<
code class="option">-t <
em class="replaceable"><
code>directory</
code></
em></
code>] {filename} [<
code class="option">-z</
code>]</
p></
div>
2810N/A<
div class="refsect1" lang="en">
2900N/A<
a name="id2514627"></
a><
h2>DESCRIPTION</
h2>
2810N/A<
p><
span><
strong class="command">named-checkconf</
strong></
span>
2810N/A checks the syntax, but not the semantics, of a named
2810N/A<
div class="refsect1" lang="en">
2810N/A<
a name="id2514638"></
a><
h2>OPTIONS</
h2>
2810N/A<
div class="variablelist"><
dl>
2810N/A<
dt><
span class="term">-t <
em class="replaceable"><
code>directory</
code></
em></
span></
dt>
2810N/A chroot to <
code class="filename">directory</
code> so that
2810N/A directives in the configuration file are processed as if
2810N/A run by a similarly chrooted named.
2900N/A<
dt><
span class="term">-v</
span></
dt>
2900N/A Print the version of the <
span><
strong class="command">named-checkconf</
strong></
span>
2810N/A<
dt><
span class="term">-z</
span></
dt>
2810N/A Perform a check load the master zonefiles found in
2810N/A<
dt><
span class="term">-j</
span></
dt>
2900N/A When loading a zonefile read the journal if it exists.
2810N/A<
dt><
span class="term">filename</
span></
dt>
2810N/A The name of the configuration file to be checked. If not
2810N/A<
div class="refsect1" lang="en">
2810N/A<
a name="id2514731"></
a><
h2>RETURN VALUES</
h2>
2810N/A<
p><
span><
strong class="command">named-checkconf</
strong></
span>
2810N/A returns an exit status of 1 if
2810N/A errors were detected and 0 otherwise.
<
div class="refsect1" lang="en">
<
a name="id2514811"></
a><
h2>SEE ALSO</
h2>
<
p><
span class="citerefentry"><
span class="refentrytitle">named</
span>(8)</
span>,
<
em class="citetitle">BIND 9 Administrator Reference Manual</
em>.
<
div class="refsect1" lang="en">
<
a name="id2514833"></
a><
h2>AUTHOR</
h2>
<
p><
span class="corpauthor">Internet Systems Consortium</
span>