man.named-checkconf.html revision 1238b38c9f0ab563b762dc0fd00ac6c34c2b7295
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen - Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
3faa1040e5a3f9f35ffad29110216094ab2f5880Timo Sirainen - Copyright (C) 2000-2003 Internet Software Consortium.
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen - Permission to use, copy, modify, and/or distribute this software for any
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen - purpose with or without fee is hereby granted, provided that the above
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen - copyright notice and this permission notice appear in all copies.
cf3894a2a22dc76247275e7ad7a5417fa5f27a28Timo Sirainen - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
b8efab7ea8876c0a33a73ee0d08eddada31320f8Timo Sirainen - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
96d19229e5f322411eb84446e5477d8170cfa5afTimo Sirainen - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
863f2bc9983c33221f5936421fc9c06caf21639aTimo Sirainen - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7ab70e15c63c172c1715a40c8ffcff0285b6f05eTimo Sirainen - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen - PERFORMANCE OF THIS SOFTWARE.
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen<!-- $Id: man.named-checkconf.html,v 1.158 2010/06/26 01:14:18 tbox Exp $ -->
d47a87c927ca77e780480f4eaf575511698d42c8Timo Sirainen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3Timo Sirainen<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
8761992b5aa05862e7ec3a460cdc17af41a4a0f5Timo Sirainen<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen<link rel="prev" href="man.dnssec-signzone.html" title="dnssec-signzone">
5d03d9f439e41c90215a3c938ffebe4c2a8ae257Timo Sirainen<link rel="next" href="man.named-checkzone.html" title="named-checkzone">
f29756821a4c6b12b73e4a2a3e1c230117a43773Timo Sirainen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen<table width="100%" summary="Navigation header">
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen<tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen<a accesskey="p" href="man.dnssec-signzone.html">Prev</a>�</td>
83942ac160cdfb922c3a2f29ddfae2a13ebf8b5dTimo Sirainen<th width="60%" align="center">Manual pages</th>
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76Timo Sirainen<td width="20%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
8d3278a82b964217d95c340ec6f82037cdc59d19Timo Sirainen<a name="man.named-checkconf"></a><div class="titlepage"></div>
f29756821a4c6b12b73e4a2a3e1c230117a43773Timo Sirainen<p><span class="application">named-checkconf</span> — named configuration file syntax checking tool</p>
9874b30b34224c1372800be017f3bb636e7d7f7aTimo Sirainen<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>
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen<p><span><strong class="command">named-checkconf</strong></span>
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen checks the syntax, but not the semantics, of a
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen <span><strong class="command">named</strong></span> configuration file. The file is parsed
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen and checked for syntax errors, along with all files included by it.
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen If no file is specified, <code class="filename">/etc/named.conf</code> is read
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen Note: files that <span><strong class="command">named</strong></span> reads in separate
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen parser contexts, such as <code class="filename">rndc.key</code> and
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen <code class="filename">bind.keys</code>, are not automatically read
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen by <span><strong class="command">named-checkconf</strong></span>. Configuration
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen errors in these files may cause <span><strong class="command">named</strong></span> to
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen fail to run, even if <span><strong class="command">named-checkconf</strong></span> was
e479250007aaa49c9f38aa294f5cfb024cbcec73Timo Sirainen successful. <span><strong class="command">named-checkconf</strong></span> can be run
149299c7d5136a8fb425ef3cf8953026a1358002Timo Sirainen on these files explicitly, however.