man.named-checkconf.html revision 89bc48260b64a8859ae717e9e5bae380e275fef4
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<!--
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - Copyright (C) 2000-2003 Internet Software Consortium.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest -
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - Permission to use, copy, modify, and distribute this software for any
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - purpose with or without fee is hereby granted, provided that the above
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - copyright notice and this permission notice appear in all copies.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest -
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest - PERFORMANCE OF THIS SOFTWARE.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest-->
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<!-- $Id: man.named-checkconf.html,v 1.39 2007/02/02 04:33:37 marka Exp $ -->
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<html>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<head>
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest<title>named-checkconf</title>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<link rel="prev" href="man.dnssec-signzone.html" title="dnssec-signzone">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<link rel="next" href="man.named-checkzone.html" title="named-checkzone">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</head>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<div class="navheader">
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest<table width="100%" summary="Navigation header">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<tr>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<td width="20%" align="left">
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest<a accesskey="p" href="man.dnssec-signzone.html">Prev</a>�</td>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<th width="60%" align="center">Manual pages</th>
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest<td width="20%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest</td>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</tr>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</table>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<hr>
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest</div>
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest<div class="refentry" lang="en">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<a name="man.named-checkconf"></a><div class="titlepage"></div>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<div class="refnamediv">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<h2>Name</h2>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</div>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<div class="refsynopsisdiv">
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<h2>Synopsis</h2>
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest<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>
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest</div>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<div class="refsect1" lang="en">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<a name="id2599917"></a><h2>DESCRIPTION</h2>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<p><span><strong class="command">named-checkconf</strong></span>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest checks the syntax, but not the semantics, of a named
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest configuration file.
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest </p>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</div>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<div class="refsect1" lang="en">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<a name="id2599931"></a><h2>OPTIONS</h2>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<div class="variablelist"><dl>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<dd><p>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest chroot to <code class="filename">directory</code> so that
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest include
d2ccc2b0b2e8d1c82c1ed9f0cf456eabbd814347Andrew Forrest directives in the configuration file are processed as if
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest run by a similarly chrooted named.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest </p></dd>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<dt><span class="term">-v</span></dt>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<dd><p>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest Print the version of the <span><strong class="command">named-checkconf</strong></span>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest program and exit.
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest </p></dd>
84ed6e58e7912a79ed82652ee7c6819e4e62db4bAndrew Forrest<dt><span class="term">-z</span></dt>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<dd><p>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest Perform a check load the master zonefiles found in
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest <code class="filename">named.conf</code>.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest </p></dd>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<dt><span class="term">-j</span></dt>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest<dd><p>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest When loading a zonefile read the journal if it exists.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest </p></dd>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<dt><span class="term">filename</span></dt>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<dd><p>
2762f4f9634e12df95dee397166724eac963d13cAndrew Forrest The name of the configuration file to be checked. If not
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest specified, it defaults to <code class="filename">/etc/named.conf</code>.
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest </p></dd>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</dl></div>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest</div>
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<div class="refsect1" lang="en">
89fd04babb277ae294172d6fa5c28c1b775cfa9fAndrew Forrest<a name="id2600033"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkconf</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2600046"></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>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2600068"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="man.dnssec-signzone.html">Prev</a>�</td>
<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
<td width="40%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">
<span class="application">dnssec-signzone</span>�</td>
<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
<td width="40%" align="right" valign="top">�<span class="application">named-checkzone</span>
</td>
</tr>
</table>
</div>
</body>
</html>