1N/A - Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC") 1N/A - Copyright (C) 2000-2003 Internet Software Consortium. 1N/A - Permission to use, copy, modify, and/or distribute this software for any 1N/A - purpose with or without fee is hereby granted, provided that the above 1N/A - copyright notice and this permission notice appear in all copies. 1N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 1N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 1N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 1N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 1N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 1N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 1N/A - PERFORMANCE OF THIS SOFTWARE. 1N/A<
meta http-
equiv="Content-Type" content="text/html; charset=ISO-8859-1">
1N/A<
title>named-checkconf</
title>
1N/A<
meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
1N/A<
link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
1N/A<
body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
1N/A<
div class="navheader">
1N/A<
table width="100%" summary="Navigation header">
1N/A<
tr><
th colspan="3" align="center"><
span class="application">named-checkconf</
span></
th></
tr>
1N/A<
td width="20%" align="left">
1N/A<
th width="60%" align="center">Manual pages</
th>
1N/A<
div class="refentry" lang="en">
1N/A<
div class="refnamediv">
1N/A<
p><
span class="application">named-checkconf</
span> — named configuration file syntax checking tool</
p>
1N/A<
div class="refsynopsisdiv">
1N/A<
div class="cmdsynopsis"><
p><
code class="command">named-checkconf</
code> [<
code class="option">-h</
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">-p</
code>] [<
code class="option">-z</
code>]</
p></
div>
1N/A<
div class="refsect1" lang="en">
1N/A<
a name="id2631585"></
a><
h2>DESCRIPTION</
h2>
1N/A<
p><
span><
strong class="command">named-checkconf</
strong></
span>
1N/A checks the syntax, but not the semantics, of a
1N/A <
span><
strong class="command">named</
strong></
span> configuration file. The file is parsed
1N/A and checked for syntax errors, along with all files included by it.
1N/A Note: files that <
span><
strong class="command">named</
strong></
span> reads in separate
1N/A parser contexts, such as <
code class="filename">
rndc.key</
code> and
1N/A <
code class="filename">
bind.keys</
code>, are not automatically read
1N/A by <
span><
strong class="command">named-checkconf</
strong></
span>. Configuration
1N/A errors in these files may cause <
span><
strong class="command">named</
strong></
span> to
1N/A fail to run, even if <
span><
strong class="command">named-checkconf</
strong></
span> was
1N/A successful. <
span><
strong class="command">named-checkconf</
strong></
span> can be run
1N/A on these files explicitly, however.
1N/A<
div class="refsect1" lang="en">
1N/A<
a name="id2631655"></
a><
h2>OPTIONS</
h2>
1N/A<
div class="variablelist"><
dl>
1N/A<
dt><
span class="term">-h</
span></
dt>
1N/A Print the usage summary and exit.
1N/A<
dt><
span class="term">-t <
em class="replaceable"><
code>directory</
code></
em></
span></
dt>
1N/A Chroot to <
code class="filename">directory</
code> so that include
1N/A directives in the configuration file are processed as if
1N/A run by a similarly chrooted named.
1N/A<
dt><
span class="term">-v</
span></
dt>
1N/A Print the version of the <
span><
strong class="command">named-checkconf</
strong></
span>
1N/A<
dt><
span class="term">-p</
span></
dt>
1N/A Print out the <
code class="filename">
named.conf</
code> and included files
1N/A in canonical form if no errors were detected.
1N/A<
dt><
span class="term">-z</
span></
dt>
1N/A Perform a test load of all master zones found in
1N/A<
dt><
span class="term">-j</
span></
dt>
1N/A When loading a zonefile read the journal if it exists.
1N/A<
dt><
span class="term">filename</
span></
dt>
1N/A The name of the configuration file to be checked. If not
1N/A<
div class="refsect1" lang="en">
1N/A<
a name="id2633974"></
a><
h2>RETURN VALUES</
h2>
1N/A<
p><
span><
strong class="command">named-checkconf</
strong></
span>
1N/A returns an exit status of 1 if
1N/A errors were detected and 0 otherwise.
1N/A<
div class="refsect1" lang="en">
1N/A<
a name="id2633988"></
a><
h2>SEE ALSO</
h2>
1N/A<
p><
span class="citerefentry"><
span class="refentrytitle">named</
span>(8)</
span>,
1N/A <
span class="citerefentry"><
span class="refentrytitle">named-checkzone</
span>(8)</
span>,
1N/A <
em class="citetitle">BIND 9 Administrator Reference Manual</
em>.
1N/A<
div class="refsect1" lang="en">
1N/A<
a name="id2634018"></
a><
h2>AUTHOR</
h2>
1N/A<
p><
span class="corpauthor">Internet Systems Consortium</
span>
1N/A<
div class="navfooter">
1N/A<
table width="100%" summary="Navigation footer">
1N/A<
td width="40%" align="left">
1N/A<
td width="40%" align="left" valign="top">
1N/A<
span class="application">dnssec-verify</
span>�</
td>
1N/A<
td width="20%" align="center"><
a accesskey="h" href="Bv9ARM.html">Home</
a></
td>
1N/A<
td width="40%" align="right" valign="top">�<
span class="application">named-checkzone</
span>