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