named-checkconf.html revision 5bb39eeafa9c0a30b51f0473c45d7a29fa75dbc5
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
898720b7e9cf3bdf7a93e435cbed5dd6942ecf9bHarald Hoyer - Copyright (C) 2000-2002 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
0d6e798a784ef0ba6b95512e4453067b2f84a91aHarald 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
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
3486cb6cfa3d32a95c0daf02c7510fdf372507bfMartin Pitt - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4be4833ece2856e0cacc09f8f8b2c02b320751faMartin Pitt - PERFORMANCE OF THIS SOFTWARE.
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier<!-- $Id: named-checkconf.html,v 1.21 2005/09/15 23:02:34 marka Exp $ -->
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<a name="man.named-checkconf"></a><div class="titlepage"></div>
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<p><span class="application">named-checkconf</span> — named configuration file syntax checking tool</p>
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<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>
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<p><span><strong class="command">named-checkconf</strong></span>
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier checks the syntax, but not the semantics, of a named
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier configuration file.
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier chroot to <code class="filename">directory</code> so that
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier directives in the configuration file are processed as if
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier run by a similarly chrooted named.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier Print the version of the <span><strong class="command">named-checkconf</strong></span>
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier program and exit.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier Perform a check load the master zonefiles found in
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier When loading a zonefile read the journal if it exists.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier The name of the configuration file to be checked. If not
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier specified, it defaults to <code class="filename">/etc/named.conf</code>.
c6a77179a4097df355f0f04b8f3260c76b5e515cRonny Chevalier<a name="id2514731"></a><h2>RETURN VALUES</h2>
8a8332f77e61d41f3bb28b8f929ed41e0ffaf721Zbigniew Jędrzejewski-Szmek<p><span><strong class="command">named-checkconf</strong></span>
8a8332f77e61d41f3bb28b8f929ed41e0ffaf721Zbigniew Jędrzejewski-Szmek returns an exit status of 1 if
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier errors were detected and 0 otherwise.
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
889a90422dd47284dffa32b9234a6e58991b000cRonny Chevalier<p><span class="corpauthor">Internet Systems Consortium</span>