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