named-checkconf.html revision af5073d03288a53b646ec3b807ac25ced64d7879
c40265eba0c99708887d68e67901924065ba2514Brian Wellington<!--
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - Copyright (C) 2001, 2002 Internet Software Consortium.
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews -
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.
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews -
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington-->
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews<!-- $Id: named-checkconf.html,v 1.8 2004/03/05 05:48:11 marka Exp $ -->
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews
c40265eba0c99708887d68e67901924065ba2514Brian Wellington<HTML
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><HEAD
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><TITLE
c40265eba0c99708887d68e67901924065ba2514Brian Wellington>named-checkconf</TITLE
c40265eba0c99708887d68e67901924065ba2514Brian Wellington><META
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonNAME="GENERATOR"
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsCONTENT="Modular DocBook HTML Stylesheet Version 1.73
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"
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews>-j</TT
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews>] [<TT
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsCLASS="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
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsNAME="AEN26"
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
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsNAME="AEN30"
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
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews>-j</DT
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews><DD
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews><P
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews> When loading a zonefile read the journal if it exists.
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews </P
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews></DD
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark 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
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsNAME="AEN58"
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
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsNAME="AEN62"
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
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark AndrewsNAME="AEN69"
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>