named-checkconf.html revision 1224c3b69b3d18f7127aa042644936af25a2d679
486N/A<!--
486N/A - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
486N/A - Copyright (C) 2000-2002 Internet Software Consortium.
486N/A -
486N/A - Permission to use, copy, modify, and distribute this software for any
486N/A - purpose with or without fee is hereby granted, provided that the above
486N/A - copyright notice and this permission notice appear in all copies.
486N/A -
486N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
486N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
486N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
486N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
486N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
486N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
486N/A - PERFORMANCE OF THIS SOFTWARE.
486N/A-->
486N/A<!-- $Id: named-checkconf.html,v 1.30 2007/06/20 02:27:32 marka Exp $ -->
486N/A<html>
486N/A<head>
873N/A<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
486N/A<title>named-checkconf</title>
486N/A<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
486N/A</head>
486N/A<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
486N/A<a name="man.named-checkconf"></a><div class="titlepage"></div>
830N/A<div class="refnamediv">
486N/A<h2>Name</h2>
486N/A<p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
619N/A</div>
619N/A<div class="refsynopsisdiv">
619N/A<h2>Synopsis</h2>
619N/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">-z</code>]</p></div>
619N/A</div>
619N/A<div class="refsect1" lang="en">
619N/A<a name="id2543387"></a><h2>DESCRIPTION</h2>
619N/A<p><span><strong class="command">named-checkconf</strong></span>
619N/A checks the syntax, but not the semantics, of a named
619N/A configuration file.
619N/A </p>
619N/A</div>
619N/A<div class="refsect1" lang="en">
619N/A<a name="id2543399"></a><h2>OPTIONS</h2>
486N/A<div class="variablelist"><dl>
486N/A<dt><span class="term">-h</span></dt>
486N/A<dd><p>
486N/A Print the usage summary and exit.
486N/A </p></dd>
486N/A<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
486N/A<dd><p>
486N/A Chroot to <code class="filename">directory</code> so that
536N/A include
2976N/A directives in the configuration file are processed as if
2976N/A run by a similarly chrooted named.
536N/A </p></dd>
2976N/A<dt><span class="term">-v</span></dt>
2976N/A<dd><p>
2976N/A Print the version of the <span><strong class="command">named-checkconf</strong></span>
2976N/A program and exit.
2976N/A </p></dd>
2976N/A<dt><span class="term">-z</span></dt>
1181N/A<dd><p>
2976N/A Perform a test load of all master zones found in
1181N/A <code class="filename">named.conf</code>.
536N/A </p></dd>
2976N/A<dt><span class="term">-j</span></dt>
830N/A<dd><p>
830N/A When loading a zonefile read the journal if it exists.
830N/A </p></dd>
830N/A<dt><span class="term">filename</span></dt>
830N/A<dd><p>
830N/A The name of the configuration file to be checked. If not
2650N/A specified, it defaults to <code class="filename">/etc/named.conf</code>.
830N/A </p></dd>
830N/A</dl></div>
830N/A</div>
2296N/A<div class="refsect1" lang="en">
830N/A<a name="id2543507"></a><h2>RETURN VALUES</h2>
961N/A<p><span><strong class="command">named-checkconf</strong></span>
961N/A returns an exit status of 1 if
961N/A errors were detected and 0 otherwise.
486N/A </p>
2976N/A</div>
486N/A<div class="refsect1" lang="en">
486N/A<a name="id2543518"></a><h2>SEE ALSO</h2>
486N/A<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
486N/A <span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
2296N/A <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
2296N/A </p>
2650N/A</div>
2296N/A<div class="refsect1" lang="en">
2296N/A<a name="id2543548"></a><h2>AUTHOR</h2>
2650N/A<p><span class="corpauthor">Internet Systems Consortium</span>
2296N/A </p>
2296N/A</div>
2402N/A</div></body>
2402N/A</html>
2402N/A