named-checkconf.html revision e1cbf95aec7cb11a66285ccbffa552c501d2ac3c
c40265eba0c99708887d68e67901924065ba2514Brian Wellington<!--
841179549b6433e782c164a562eb3422f603533dAndreas Gustafsson - Copyright (C) 2000, 2001 Internet Software Consortium.
841179549b6433e782c164a562eb3422f603533dAndreas Gustafsson -
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - Permission to use, copy, modify, and distribute this software for any
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - purpose with or without fee is hereby granted, provided that the above
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - copyright notice and this permission notice appear in all copies.
841179549b6433e782c164a562eb3422f603533dAndreas Gustafsson -
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
c40265eba0c99708887d68e67901924065ba2514Brian Wellington - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington-->
c40265eba0c99708887d68e67901924065ba2514Brian Wellington<HTML
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><HEAD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><TITLE
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</TITLE
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><META
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonNAME="GENERATOR"
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCONTENT="Modular DocBook HTML Stylesheet Version 1.61
c40265eba0c99708887d68e67901924065ba2514Brian Wellington"></HEAD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><BODY
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFENTRY"
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonBGCOLOR="#FFFFFF"
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonTEXT="#000000"
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonLINK="#0000FF"
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonVLINK="#840084"
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonALINK="#0000FF"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H1
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonNAME="AEN1"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><SPAN
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="APPLICATION"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</SPAN
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></H1
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFNAMEDIV"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonNAME="AEN9"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>Name</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><SPAN
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="APPLICATION"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</SPAN
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>&nbsp;--&nbsp;named configuration file syntax checking tool</DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFSYNOPSISDIV"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonNAME="AEN13"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>Synopsis</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><B
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="COMMAND"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</B
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> [<TT
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="OPTION"
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson>-v</TT
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson>] [<TT
a26ad011f382d12058478704cb5e90e6f4366d01Andreas GustafssonCLASS="OPTION"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>-t <TT
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REPLACEABLE"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><I
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>directory</I
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></TT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></TT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews>] {filename} [<TT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsCLASS="OPTION"
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews>-z</TT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews>]</P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFSECT1"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsNAME="AEN24"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>DESCRIPTION</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> <B
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="COMMAND"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</B
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> checks the syntax, but not
c40265eba0c99708887d68e67901924065ba2514Brian Wellington the semantics, of a named configuration file.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington </P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFSECT1"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsNAME="AEN28"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>OPTIONS</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="VARIABLELIST"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DL
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>-t <TT
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REPLACEABLE"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><I
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>directory</I
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></TT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> chroot to <TT
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="FILENAME"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>directory</TT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> so that include
c40265eba0c99708887d68e67901924065ba2514Brian Wellington directives in the configuration file are processed as if
c40265eba0c99708887d68e67901924065ba2514Brian Wellington run by a similarly chrooted named.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington </P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DT
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson>-v</DT
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson><DD
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson><P
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson> Print the version of the <B
a26ad011f382d12058478704cb5e90e6f4366d01Andreas GustafssonCLASS="COMMAND"
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson>named-checkconf</B
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson>
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson program and exit.
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson </P
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson></DD
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson><DT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews>-z</DT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews><DD
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews><P
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews> Perform a check load the master zonefiles found in
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews <TT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsCLASS="FILENAME"
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews>named.conf</TT
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews>.
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews </P
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews></DD
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark Andrews><DT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>filename</DT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> The name of the configuration file to be checked. If not
c40265eba0c99708887d68e67901924065ba2514Brian Wellington specified, it defaults to <TT
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="FILENAME"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>/etc/named.conf</TT
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington </P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DL
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFSECT1"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsNAME="AEN52"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>RETURN VALUES</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> <B
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="COMMAND"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</B
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> returns an exit status of 1 if
c40265eba0c99708887d68e67901924065ba2514Brian Wellington errors were detected and 0 otherwise.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington </P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFSECT1"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsNAME="AEN56"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>SEE ALSO</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> <SPAN
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="CITEREFENTRY"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><SPAN
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFENTRYTITLE"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named</SPAN
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>(8)</SPAN
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>,
c40265eba0c99708887d68e67901924065ba2514Brian Wellington <I
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="CITETITLE"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>BIND 9 Administrator Reference Manual</I
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington </P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><DIV
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonCLASS="REFSECT1"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><A
e1cbf95aec7cb11a66285ccbffa552c501d2ac3cMark AndrewsNAME="AEN63"
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></A
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>AUTHOR</H2
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington> Internet Software Consortium
c40265eba0c99708887d68e67901924065ba2514Brian Wellington </P
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></DIV
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></BODY
c40265eba0c99708887d68e67901924065ba2514Brian Wellington></HTML
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>