named-checkconf.docbook revision d4ef65050feac78554addf6e16a06c6e2e0bd331
0N/A<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
0N/A<!--
0N/A - Copyright (C) 2001 Internet Software Consortium.
610N/A -
0N/A - Permission to use, copy, modify, and distribute this software for any
0N/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 -
292N/A - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
292N/A - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
292N/A - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
292N/A - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
0N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
0N/A - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
0N/A - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
292N/A - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
292N/A-->
292N/A
292N/A<!-- $Id: named-checkconf.docbook,v 1.2 2001/04/10 21:50:19 bwelling Exp $ -->
292N/A
292N/A<refentry>
292N/A <refentryinfo>
292N/A <date>June 14, 2000</date>
292N/A </refentryinfo>
292N/A
292N/A <refmeta>
0N/A <refentrytitle><application>named-checkconf</application></refentrytitle>
0N/A <manvolnum>8</manvolnum>
0N/A <refmiscinfo>BIND9</refmiscinfo>
0N/A </refmeta>
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>-t <replaceable class="parameter">directory</replaceable></option></arg>
0N/A <arg choice="req">filename</arg>
0N/A </cmdsynopsis>
0N/A </refsynopsisdiv>
0N/A
0N/A <refsect1>
0N/A <title>DESCRIPTION</title>
0N/A <para>
0N/A <command>named-checkconf</command> checks the syntax, but not
0N/A the semantics, of a named configuration file.
0N/A </para>
0N/A </refsect1>
0N/A
0N/A <refsect1>
610N/A <title>OPTIONS</title>
610N/A
610N/A <variablelist>
610N/A <varlistentry>
610N/A <term>-t <replaceable class="parameter">directory</replaceable></term>
0N/A <listitem>
0N/A <para>
0N/A chroot to <filename>directory</filename> so that include
0N/A directives in the configuration file are processed as if
0N/A run by a similarly chrooted named.
0N/A </para>
0N/A </listitem>
610N/A </varlistentry>
610N/A
0N/A <varlistentry>
0N/A <term>filename</term>
0N/A <listitem>
<para>
The name of the configuration file to be checked. If not
specified, it defaults to <filename>/etc/named.conf</filename>.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>RETURN VALUES</title>
<para>
<command>named-checkconf</command> returns an exit status of 1 if
errors were detected and 0 otherwise.
</refsect1>
<refsect1>
<title>SEE ALSO</title>
<para>
<citerefentry>
<refentrytitle>named</refentrytitle>
<manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>
<corpauthor>Internet Software Consortium</corpauthor>
</para>
</refsect1>
</refentry>
<!--
- Local variables:
- mode: sgml
- End:
-->