man.named-checkconf.html revision 97e74139b19368e385a3564746d42db70879195e
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - Copyright (C) 2000-2003 Internet Software Consortium.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - Permission to use, copy, modify, and/or distribute this software for any
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - purpose with or without fee is hereby granted, provided that the above
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - copyright notice and this permission notice appear in all copies.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro - PERFORMANCE OF THIS SOFTWARE.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<!-- $Id: man.named-checkconf.html,v 1.206 2011/12/22 18:10:10 tbox Exp $ -->
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<link rel="prev" href="man.dnssec-signzone.html" title="dnssec-signzone">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<link rel="next" href="man.named-checkzone.html" title="named-checkzone">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<a accesskey="p" href="man.dnssec-signzone.html">Prev</a>�</td>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<td width="20%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<a name="man.named-checkconf"></a><div class="titlepage"></div>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<p><span class="application">named-checkconf</span> — named configuration file syntax checking tool</p>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<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">-p</code>] [<code class="option">-z</code>]</p></div>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<p><span><strong class="command">named-checkconf</strong></span>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro checks the syntax, but not the semantics, of a
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro <span><strong class="command">named</strong></span> configuration file. The file is parsed
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro and checked for syntax errors, along with all files included by it.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro If no file is specified, <code class="filename">/etc/named.conf</code> is read
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro by default.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro Note: files that <span><strong class="command">named</strong></span> reads in separate
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro parser contexts, such as <code class="filename">rndc.key</code> and
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro <code class="filename">bind.keys</code>, are not automatically read
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro by <span><strong class="command">named-checkconf</strong></span>. Configuration
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro errors in these files may cause <span><strong class="command">named</strong></span> to
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro fail to run, even if <span><strong class="command">named-checkconf</strong></span> was
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro successful. <span><strong class="command">named-checkconf</strong></span> can be run
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro on these files explicitly, however.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro Print the usage summary and exit.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro Chroot to <code class="filename">directory</code> so that include
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro directives in the configuration file are processed as if
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro run by a similarly chrooted named.
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro Print the version of the <span><strong class="command">named-checkconf</strong></span>
d58fda4376e4bf67072ce2e69f6f47036f9dbb68jbeloro program and exit.