named-checkconf.html revision 1224c3b69b3d18f7127aa042644936af25a2d679
364dfd4527e6ce37b828a42e2c0bbdf9ba19a9b8gregames - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj - Copyright (C) 2000-2002 Internet Software Consortium.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj - Permission to use, copy, modify, and distribute this software for any
a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9ianh - purpose with or without fee is hereby granted, provided that the above
694514f7e6e99917e084943e3a05950b3c7c106ajerenkrantz - copyright notice and this permission notice appear in all copies.
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
4a257be29f8aeab984fe5622fa69e0b2aab204d7jerenkrantz - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley - PERFORMANCE OF THIS SOFTWARE.
571760de5e60c0b459cb11be45507b923cd023eejwoolley<!-- $Id: named-checkconf.html,v 1.30 2007/06/20 02:27:32 marka Exp $ -->
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb<a name="man.named-checkconf"></a><div class="titlepage"></div>
6f6f4a4bca281779d196acbdd5c017bb90858305trawick<p><span class="application">named-checkconf</span> — named configuration file syntax checking tool</p>
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb<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>
af4c982a7cf4515f124935f99a329744035fc699slive<p><span><strong class="command">named-checkconf</strong></span>
af4c982a7cf4515f124935f99a329744035fc699slive checks the syntax, but not the semantics, of a named
af4c982a7cf4515f124935f99a329744035fc699slive configuration file.
4e3b83f6caecb85d4c139a440254cfa2f98e8960ianh Print the usage summary and exit.
10270f6f94b2069d0d357805c140a9897449b9ccianh<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
a908203473820d096b31fc0f349711d3092ae684lars Chroot to <code class="filename">directory</code> so that
10270f6f94b2069d0d357805c140a9897449b9ccianh directives in the configuration file are processed as if
10270f6f94b2069d0d357805c140a9897449b9ccianh run by a similarly chrooted named.
10270f6f94b2069d0d357805c140a9897449b9ccianh Print the version of the <span><strong class="command">named-checkconf</strong></span>
10270f6f94b2069d0d357805c140a9897449b9ccianh program and exit.
10270f6f94b2069d0d357805c140a9897449b9ccianh Perform a test load of all master zones found in
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick When loading a zonefile read the journal if it exists.
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick The name of the configuration file to be checked. If not
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick specified, it defaults to <code class="filename">/etc/named.conf</code>.
ff42f83cbf31893bcde9712332a8e5ee970f6a74trawick<p><span><strong class="command">named-checkconf</strong></span>
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz returns an exit status of 1 if
77304e37d675303eef0355fc3bb9a12bb506547ajerenkrantz errors were detected and 0 otherwise.
531c23ff01a2489646f0a2029097013b328d935agstein<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
6d6d1bf27fbc05343e916eae8fc418d07fd97787ianh <span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
4e3b83f6caecb85d4c139a440254cfa2f98e8960ianh <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
c00273b9c51c617ede471e9cb95c22420f1227fbbrianp<p><span class="corpauthor">Internet Systems Consortium</span>