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