named-checkconf.html revision af5073d03288a53b646ec3b807ac25ced64d7879
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - Copyright (C) 2001, 2002 Internet Software Consortium.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - Permission to use, copy, modify, and distribute this software for any
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - purpose with or without fee is hereby granted, provided that the above
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - copyright notice and this permission notice appear in all copies.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington<!-- $Id: named-checkconf.html,v 1.8 2004/03/05 05:48:11 marka Exp $ -->
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>named-checkconf</TITLE
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyNAME="GENERATOR"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCONTENT="Modular DocBook HTML Stylesheet Version 1.73
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFENTRY"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyBGCOLOR="#FFFFFF"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyTEXT="#000000"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyLINK="#0000FF"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyVLINK="#840084"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyALINK="#0000FF"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="APPLICATION"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>named-checkconf</SPAN
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFNAMEDIV"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="APPLICATION"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>named-checkconf</SPAN
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> -- named configuration file syntax checking tool</DIV
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFSYNOPSISDIV"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>Synopsis</H2
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="COMMAND"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>named-checkconf</B
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="OPTION"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="OPTION"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="OPTION"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REPLACEABLE"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>directory</I
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>] {filename} [<TT
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="OPTION"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFSECT1"
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>DESCRIPTION</H2
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark AndrewsCLASS="COMMAND"
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>named-checkconf</B
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews> checks the syntax, but not
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews the semantics, of a named configuration file.
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFSECT1"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="VARIABLELIST"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REPLACEABLE"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>directory</I
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> chroot to <TT
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="FILENAME"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>directory</TT
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> so that include
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews directives in the configuration file are processed as if
94bd918b63001277f1b28ae4581645f8a835688fBob Halley run by a similarly chrooted named.
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> Print the version of the <B
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark AndrewsCLASS="COMMAND"
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>named-checkconf</B
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews program and exit.
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews> Perform a check load the master zonefiles found in
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark AndrewsCLASS="FILENAME"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> When loading a zonefile read the journal if it exists.
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews>filename</DT
7389e8330d62a059b8923fb8ca6f933caeb559d9Mark Andrews> The name of the configuration file to be checked. If not
94bd918b63001277f1b28ae4581645f8a835688fBob Halley specified, it defaults to <TT
f8644da8d948dbc973f6dd4c94a79774e16ec07bDavid LawrenceCLASS="FILENAME"
f8644da8d948dbc973f6dd4c94a79774e16ec07bDavid LawrenceCLASS="REFSECT1"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>RETURN VALUES</H2
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="COMMAND"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>named-checkconf</B
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> returns an exit status of 1 if
94bd918b63001277f1b28ae4581645f8a835688fBob Halley errors were detected and 0 otherwise.
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFSECT1"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>SEE ALSO</H2
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="CITEREFENTRY"
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFENTRYTITLE"
f8644da8d948dbc973f6dd4c94a79774e16ec07bDavid LawrenceCLASS="CITETITLE"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley>BIND 9 Administrator Reference Manual</I
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyCLASS="REFSECT1"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley> Internet Software Consortium