named-checkconf.docbook revision dafcb997e390efa4423883dafd100c975c4095d6
98N/A<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
98N/A<!--
1089N/A - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
98N/A - Copyright (C) 2001, 2002 Internet Software Consortium.
98N/A -
919N/A - Permission to use, copy, modify, and distribute this software for any
919N/A - purpose with or without fee is hereby granted, provided that the above
919N/A - copyright notice and this permission notice appear in all copies.
919N/A -
919N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
919N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
919N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
919N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
919N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
919N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
919N/A - PERFORMANCE OF THIS SOFTWARE.
919N/A-->
919N/A
919N/A<!-- $Id: named-checkconf.docbook,v 1.8 2004/03/05 04:57:20 marka Exp $ -->
919N/A
919N/A<refentry>
919N/A <refentryinfo>
98N/A <date>June 14, 2000</date>
98N/A </refentryinfo>
98N/A
493N/A <refmeta>
493N/A <refentrytitle><application>named-checkconf</application></refentrytitle>
98N/A <manvolnum>8</manvolnum>
970N/A <refmiscinfo>BIND9</refmiscinfo>
970N/A </refmeta>
970N/A
970N/A <refnamediv>
970N/A <refname><application>named-checkconf</application></refname>
970N/A <refpurpose>named configuration file syntax checking tool</refpurpose>
970N/A </refnamediv>
1003N/A
970N/A <refsynopsisdiv>
970N/A <cmdsynopsis>
970N/A <command>named-checkconf</command>
970N/A <arg><option>-v</option></arg>
970N/A <arg><option>-j</option></arg>
98N/A <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
1089N/A <arg choice="req">filename</arg>
98N/A <arg><option>-z</option></arg>
911N/A </cmdsynopsis>
1089N/A </refsynopsisdiv>
1089N/A
911N/A <refsect1>
98N/A <title>DESCRIPTION</title>
493N/A <para>
493N/A <command>named-checkconf</command> checks the syntax, but not
98N/A the semantics, of a named configuration file.
98N/A </para>
1089N/A </refsect1>
156N/A
493N/A <refsect1>
493N/A <title>OPTIONS</title>
493N/A
493N/A <variablelist>
493N/A <varlistentry>
493N/A <term>-t <replaceable class="parameter">directory</replaceable></term>
493N/A <listitem>
98N/A <para>
98N/A chroot to <filename>directory</filename> so that include
98N/A directives in the configuration file are processed as if
1089N/A run by a similarly chrooted named.
705N/A </para>
1089N/A </listitem>
606N/A </varlistentry>
606N/A
606N/A <varlistentry>
606N/A <term>-v</term>
705N/A <listitem>
967N/A <para>
606N/A Print the version of the <command>named-checkconf</command>
606N/A program and exit.
606N/A </para>
606N/A </listitem>
606N/A </varlistentry>
606N/A
1089N/A <varlistentry>
1097N/A <term>-z</term>
606N/A <listitem>
606N/A <para>
1109N/A Perform a check load the master zonefiles found in
1109N/A <filename>named.conf</filename>.
1109N/A </para>
606N/A </listitem>
606N/A </varlistentry>
606N/A
98N/A <varlistentry>
970N/A <term>-j</term>
970N/A <listitem>
970N/A <para>
493N/A When loading a zonefile read the journal if it exists.
493N/A </para>
493N/A </listitem>
98N/A </varlistentry>
647N/A
1089N/A <varlistentry>
1089N/A <term>filename</term>
98N/A <listitem>
647N/A <para>
647N/A The name of the configuration file to be checked. If not
1089N/A specified, it defaults to <filename>/etc/named.conf</filename>.
647N/A </para>
606N/A </listitem>
1089N/A </varlistentry>
98N/A
606N/A </variablelist>
606N/A
98N/A </refsect1>
493N/A
493N/A <refsect1>
98N/A <title>RETURN VALUES</title>
705N/A <para>
705N/A <command>named-checkconf</command> returns an exit status of 1 if
705N/A errors were detected and 0 otherwise.
493N/A </refsect1>
493N/A
493N/A <refsect1>
705N/A <title>SEE ALSO</title>
705N/A <para>
705N/A <citerefentry>
970N/A <refentrytitle>named</refentrytitle>
970N/A <manvolnum>8</manvolnum>
970N/A </citerefentry>,
970N/A <citetitle>BIND 9 Administrator Reference Manual</citetitle>.
970N/A </para>
970N/A </refsect1>
970N/A
970N/A <refsect1>
970N/A <title>AUTHOR</title>
970N/A <para>
1089N/A <corpauthor>Internet Software Consortium</corpauthor>
970N/A </para>
970N/A </refsect1>
970N/A
970N/A</refentry>
970N/A
970N/A<!--
970N/A - Local variables:
970N/A - mode: sgml
970N/A - End:
970N/A-->
970N/A
970N/A