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