man.named-checkconf.html revision 852ccdd42a71550c974111b49415204ffeca6573
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff<!--
7d32c065c7bb56f281651ae3dd2888f32ce4f1d9Bob Halley - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff - Copyright (C) 2000-2003 Internet Software Consortium.
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff -
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 -
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-->
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff<!-- $Id: man.named-checkconf.html,v 1.112 2009/06/10 01:12:50 tbox Exp $ -->
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff<html>
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff<head>
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff<title>named-checkconf</title>
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">
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff</head>
294802790e8030f1c19b6c2c5d5204b6f464c729Michael Graff<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
294802790e8030f1c19b6c2c5d5204b6f464c729Michael Graff<div class="navheader">
294802790e8030f1c19b6c2c5d5204b6f464c729Michael Graff<table width="100%" summary="Navigation header">
294802790e8030f1c19b6c2c5d5204b6f464c729Michael Graff<tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
294802790e8030f1c19b6c2c5d5204b6f464c729Michael Graff<tr>
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff<td width="20%" align="left">
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>
3024dbecbac365171bc6de0f3fa04951d6558be3Michael Graff</td>
f181f94ec8da8b1dbcc6353e8be965ea4a5ea282Michael Graff</tr>
6028d1ce0380d0ba7f6c6ecd1ad20b31ddd1becbDavid Lawrence</table>
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence<hr>
3ac63b472022ff92691d1fe69ac715a729671965Michael Graff</div>
440be4c866f6935ac069db79a414304507a664c2Michael Graff<div class="refentry" lang="en">
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff<a name="man.named-checkconf"></a><div class="titlepage"></div>
fe14eafefa91fada7cea0a55b09196c01477406cBob Halley<div class="refnamediv">
e45d323a2a0f4ca08d4b139546e60a5fa7bd3f0cMichael Graff<h2>Name</h2>
29f28fe573d4b3b318b3b026d567c1eb86738015Michael Graff<p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
86944a4c8002e80ae9b6eb5a5e29b797879be45fMichael Graff</div>
21e7034ec046105c00a0dab86c83732e2e77ad99Michael Graff<div class="refsynopsisdiv">
e51511aa3281f8dc384eb1283115c7f8d5c402aeMichael Graff<h2>Synopsis</h2>
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>
11efdeb076d65fa9f0c5fc067dc040e7c99dfba6Michael Graff</div>
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence<div class="refsect1" lang="en">
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff<a name="id2609165"></a><h2>DESCRIPTION</h2>
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.
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff </p>
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff</div>
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff<div class="refsect1" lang="en">
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff<a name="id2609179"></a><h2>OPTIONS</h2>
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff<div class="variablelist"><dl>
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff<dt><span class="term">-h</span></dt>
31fab17bcdbe302592a6c0dc5374ef56333ee879Michael Graff<dd><p>
ff9bb3fc5453bbf310b67c560fbf04a5c0fb60daMichael Graff Print the usage summary and exit.
bb143613cf26e0f27dfd9caf1a7336065d064b26Michael Graff </p></dd>
fe14eafefa91fada7cea0a55b09196c01477406cBob Halley<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
fe14eafefa91fada7cea0a55b09196c01477406cBob Halley<dd><p>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff Chroot to <code class="filename">directory</code> so that
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff include
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley directives in the configuration file are processed as if
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley run by a similarly chrooted named.
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley </p></dd>
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley<dt><span class="term">-v</span></dt>
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley<dd><p>
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff Print the version of the <span><strong class="command">named-checkconf</strong></span>
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graff program and exit.
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graff </p></dd>
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graff<dt><span class="term">-z</span></dt>
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graff<dd><p>
d947011dc393d9f9988d1349d585b246d19cc3c7Michael Graff Perform a test load of all master zones found in
d947011dc393d9f9988d1349d585b246d19cc3c7Michael Graff <code class="filename">named.conf</code>.
d947011dc393d9f9988d1349d585b246d19cc3c7Michael Graff </p></dd>
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graff<dt><span class="term">-j</span></dt>
16508d9185e5eb96af2ebe900a08c46a6e5eb7edBob Halley<dd><p>
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff When loading a zonefile read the journal if it exists.
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley </p></dd>
419dd7129fe3447544b68c220b09a4968cf98d75Michael Graff<dt><span class="term">filename</span></dt>
8cdfd17426179ae6f629a9b7475d46a22f535047Bob Halley<dd><p>
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>.
419dd7129fe3447544b68c220b09a4968cf98d75Michael Graff </p></dd>
419dd7129fe3447544b68c220b09a4968cf98d75Michael Graff</dl></div>
419dd7129fe3447544b68c220b09a4968cf98d75Michael Graff</div>
419dd7129fe3447544b68c220b09a4968cf98d75Michael Graff<div class="refsect1" lang="en">
419dd7129fe3447544b68c220b09a4968cf98d75Michael Graff<a name="id2609296"></a><h2>RETURN VALUES</h2>
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.
3115cd89bc1e1fd3ecc4705d253e3484a3f5c555Michael Graff </p>
3ac63b472022ff92691d1fe69ac715a729671965Michael Graff</div>
acafce24bbc6140464302fb18c729791f1bfddd6Michael Graff<div class="refsect1" lang="en">
acafce24bbc6140464302fb18c729791f1bfddd6Michael Graff<a name="id2609309"></a><h2>SEE ALSO</h2>
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>.
213973a334f92d4aef4ef62b4538fc2e4d0e8082Michael Graff </p>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff</div>
ff9bb3fc5453bbf310b67c560fbf04a5c0fb60daMichael Graff<div class="refsect1" lang="en">
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff<a name="id2609339"></a><h2>AUTHOR</h2>
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff<p><span class="corpauthor">Internet Systems Consortium</span>
bb143613cf26e0f27dfd9caf1a7336065d064b26Michael Graff </p>
fe14eafefa91fada7cea0a55b09196c01477406cBob Halley</div>
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff</div>
66bd3b3c6b171271c705b897823dcdcf29464698Michael Graff<div class="navfooter">
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff<hr>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff<table width="100%" summary="Navigation footer">
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff<tr>
45dadd25ba4b72ec2d8eecc342edc787d8421e3aBob Halley<td width="40%" align="left">
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</td>
11efdeb076d65fa9f0c5fc067dc040e7c99dfba6Michael Graff</tr>
3ac63b472022ff92691d1fe69ac715a729671965Michael Graff<tr>
84c46a7acb961cac19c0d857bfdd00f3383a9bc6Michael Graff<td width="40%" align="left" valign="top">
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>
30251e07d1705d1a85b0e1d5a969496e1aed612eMichael Graff</td>
30251e07d1705d1a85b0e1d5a969496e1aed612eMichael Graff</tr>
e51511aa3281f8dc384eb1283115c7f8d5c402aeMichael Graff</table>
ad3a5c4b7e21af04d1b872f933c2e19e5c0a135bMichael Graff</div>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff</body>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff</html>
11fcc67616fac1bc6a28b3d4fed24641137888e7Michael Graff