man.named-checkconf.html revision 4abdfc917e6635a7c81d1f931a0c79227e72d025
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<!--
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - Copyright (C) 2000-2003 Internet Software Consortium.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw -
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - Permission to use, copy, modify, and distribute this software for any
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - purpose with or without fee is hereby granted, provided that the above
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - copyright notice and this permission notice appear in all copies.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw -
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw - PERFORMANCE OF THIS SOFTWARE.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw-->
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<!-- $Id: man.named-checkconf.html,v 1.37 2007/01/26 23:29:04 marka Exp $ -->
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<html>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<head>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
24fe0b3bf671e123467ce1df0b67cadd3614c8e4jmcp<title>named-checkconf</title>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<link rel="prev" href="man.dnssec-signzone.html" title="dnssec-signzone">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<link rel="next" href="man.named-checkzone.html" title="named-checkzone">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</head>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="navheader">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<table width="100%" summary="Navigation header">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<tr><th colspan="3" align="center"><span class="application">named-checkconf</span></th></tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="20%" align="left">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a accesskey="p" href="man.dnssec-signzone.html">Prev</a>�</td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<th width="60%" align="center">Manual pages</th>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="20%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</table>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<hr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refentry" lang="en">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a name="man.named-checkconf"></a><div class="titlepage"></div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refnamediv">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<h2>Name</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<p><span class="application">named-checkconf</span> &#8212; named configuration file syntax checking tool</p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refsynopsisdiv">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<h2>Synopsis</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="cmdsynopsis"><p><code class="command">named-checkconf</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>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refsect1" lang="en">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a name="id2599905"></a><h2>DESCRIPTION</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<p><span><strong class="command">named-checkconf</strong></span>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw checks the syntax, but not the semantics, of a named
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw configuration file.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refsect1" lang="en">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a name="id2599918"></a><h2>OPTIONS</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="variablelist"><dl>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dd><p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw chroot to <code class="filename">directory</code> so that
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw include
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw directives in the configuration file are processed as if
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw run by a similarly chrooted named.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p></dd>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dt><span class="term">-v</span></dt>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dd><p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw Print the version of the <span><strong class="command">named-checkconf</strong></span>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw program and exit.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p></dd>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dt><span class="term">-z</span></dt>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dd><p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw Perform a check load the master zonefiles found in
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw <code class="filename">named.conf</code>.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p></dd>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dt><span class="term">-j</span></dt>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dd><p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw When loading a zonefile read the journal if it exists.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p></dd>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dt><span class="term">filename</span></dt>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<dd><p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw The name of the configuration file to be checked. If not
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw specified, it defaults to <code class="filename">/etc/named.conf</code>.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p></dd>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</dl></div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refsect1" lang="en">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a name="id2600020"></a><h2>RETURN VALUES</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<p><span><strong class="command">named-checkconf</strong></span>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw returns an exit status of 1 if
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw errors were detected and 0 otherwise.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refsect1" lang="en">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a name="id2600034"></a><h2>SEE ALSO</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="refsect1" lang="en">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a name="id2600055"></a><h2>AUTHOR</h2>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<p><span class="corpauthor">Internet Systems Consortium</span>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw </p>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<div class="navfooter">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<hr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<table width="100%" summary="Navigation footer">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="40%" align="left">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<a accesskey="p" href="man.dnssec-signzone.html">Prev</a>�</td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="40%" align="right">�<a accesskey="n" href="man.named-checkzone.html">Next</a>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="40%" align="left" valign="top">
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<span class="application">dnssec-signzone</span>�</td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw<td width="40%" align="right" valign="top">�<span class="application">named-checkzone</span>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</td>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</tr>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</table>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</div>
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw</body>
</html>