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