named-checkconf.docbook revision ec5347e2c775f027573ce5648b910361aa926c01
0N/A<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2529N/A "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
0N/A [<!ENTITY mdash "&#8212;">]>
0N/A<!--
0N/A - Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
0N/A - Copyright (C) 2000-2002 Internet Software Consortium.
2362N/A -
0N/A - Permission to use, copy, modify, and/or distribute this software for any
2362N/A - purpose with or without fee is hereby granted, provided that the above
0N/A - copyright notice and this permission notice appear in all copies.
0N/A -
0N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
0N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
0N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
0N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
0N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
0N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
0N/A - PERFORMANCE OF THIS SOFTWARE.
0N/A-->
0N/A
2362N/A<!-- $Id: named-checkconf.docbook,v 1.18 2007/06/18 23:47:17 tbox Exp $ -->
2362N/A<refentry id="man.named-checkconf">
2362N/A <refentryinfo>
0N/A <date>June 14, 2000</date>
0N/A </refentryinfo>
0N/A
2529N/A <refmeta>
2529N/A <refentrytitle><application>named-checkconf</application></refentrytitle>
2529N/A <manvolnum>8</manvolnum>
2529N/A <refmiscinfo>BIND9</refmiscinfo>
0N/A </refmeta>
2529N/A
0N/A <docinfo>
0N/A <copyright>
2529N/A <year>2004</year>
0N/A <year>2005</year>
0N/A <year>2007</year>
2529N/A <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
0N/A </copyright>
2529N/A <copyright>
0N/A <year>2000</year>
0N/A <year>2001</year>
0N/A <year>2002</year>
0N/A <holder>Internet Software Consortium.</holder>
0N/A </copyright>
0N/A </docinfo>
0N/A
0N/A <refnamediv>
0N/A <refname><application>named-checkconf</application></refname>
0N/A <refpurpose>named configuration file syntax checking tool</refpurpose>
0N/A </refnamediv>
0N/A
0N/A <refsynopsisdiv>
0N/A <cmdsynopsis>
0N/A <command>named-checkconf</command>
0N/A <arg><option>-h</option></arg>
0N/A <arg><option>-v</option></arg>
0N/A <arg><option>-j</option></arg>
0N/A <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
0N/A <arg choice="req">filename</arg>
0N/A <arg><option>-z</option></arg>
0N/A </cmdsynopsis>
0N/A </refsynopsisdiv>
0N/A
0N/A <refsect1>
0N/A <title>DESCRIPTION</title>
0N/A <para><command>named-checkconf</command>
0N/A checks the syntax, but not the semantics, of a named
0N/A configuration file.
0N/A </para>
0N/A </refsect1>
0N/A
0N/A <refsect1>
2529N/A <title>OPTIONS</title>
2529N/A
2529N/A <variablelist>
2529N/A <varlistentry>
0N/A <term>-h</term>
2529N/A <listitem>
0N/A <para>
0N/A Print the usage summary and exit.
0N/A </para>
0N/A </listitem>
0N/A </varlistentry>
0N/A
2529N/A <varlistentry>
0N/A <term>-t <replaceable class="parameter">directory</replaceable></term>
2529N/A <listitem>
0N/A <para>
2529N/A Chroot to <filename>directory</filename> so that
0N/A include
2529N/A directives in the configuration file are processed as if
0N/A run by a similarly chrooted named.
2529N/A </para>
0N/A </listitem>
2529N/A </varlistentry>
0N/A
0N/A <varlistentry>
0N/A <term>-v</term>
0N/A <listitem>
0N/A <para>
0N/A Print the version of the <command>named-checkconf</command>
2529N/A program and exit.
0N/A </para>
2529N/A </listitem>
0N/A </varlistentry>
2529N/A
0N/A <varlistentry>
0N/A <term>-z</term>
0N/A <listitem>
0N/A <para>
0N/A Perform a test load of all master zones found in
0N/A <filename>named.conf</filename>.
0N/A </para>
0N/A </listitem>
0N/A </varlistentry>
0N/A
0N/A <varlistentry>
0N/A <term>-j</term>
0N/A <listitem>
0N/A <para>
0N/A When loading a zonefile read the journal if it exists.
0N/A </para>
0N/A </listitem>
0N/A </varlistentry>
0N/A
0N/A <varlistentry>
0N/A <term>filename</term>
0N/A <listitem>
0N/A <para>
0N/A The name of the configuration file to be checked. If not
0N/A specified, it defaults to <filename>/etc/named.conf</filename>.
2529N/A </para>
1173N/A </listitem>
0N/A </varlistentry>
0N/A
0N/A </variablelist>
0N/A
0N/A </refsect1>
0N/A
0N/A <refsect1>
0N/A <title>RETURN VALUES</title>
2529N/A <para><command>named-checkconf</command>
1173N/A returns an exit status of 1 if
0N/A errors were detected and 0 otherwise.
0N/A </para>
0N/A </refsect1>
0N/A
0N/A <refsect1>
0N/A <title>SEE ALSO</title>
0N/A <para><citerefentry>
0N/A <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
0N/A </citerefentry>,
0N/A <citetitle>BIND 9 Administrator Reference Manual</citetitle>.
1173N/A </para>
0N/A </refsect1>
0N/A
0N/A <refsect1>
0N/A <title>AUTHOR</title>
0N/A <para><corpauthor>Internet Systems Consortium</corpauthor>
0N/A </para>
0N/A </refsect1>
0N/A
0N/A</refentry><!--
0N/A - Local variables:
0N/A - mode: sgml
0N/A - End:
3097N/A-->
3097N/A