named-checkzone.html revision 3970098dcd2a7122541667b4b56cea8abce8ccf2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd<!--
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd - Copyright (C) 2000, 2001 Internet Software Consortium.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd -
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd - Permission to use, copy, modify, and distribute this software for any
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd - purpose with or without fee is hereby granted, provided that the above
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd - copyright notice and this permission notice appear in all copies.
031b91a62d25106ae69d4693475c79618dd5e884fielding -
031b91a62d25106ae69d4693475c79618dd5e884fielding - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
031b91a62d25106ae69d4693475c79618dd5e884fielding - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
031b91a62d25106ae69d4693475c79618dd5e884fielding - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
031b91a62d25106ae69d4693475c79618dd5e884fielding - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
031b91a62d25106ae69d4693475c79618dd5e884fielding - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd - FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd - NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd - WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd-->
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd<HTML
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd><HEAD
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd><TITLE
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd>named-checkzone</TITLE
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd><META
816bc7965d58c92c0d02fd42d6ea58090f70c6bdndNAME="GENERATOR"
7db9f691a00ead175b03335457ca296a33ddf31bndCONTENT="Modular DocBook HTML Stylesheet Version 1.73
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd"></HEAD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><BODY
c98b488eb0a76ff64674644913f4bbd1739ed03ahumbedoohCLASS="REFENTRY"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndBGCOLOR="#FFFFFF"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndTEXT="#000000"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndLINK="#0000FF"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndVLINK="#840084"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndALINK="#0000FF"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><H1
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><A
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coarNAME="AEN1"
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coar><SPAN
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coarCLASS="APPLICATION"
d6d9a8670a4620266fc9aa4958d8e42668a6bb68humbedooh>named-checkzone</SPAN
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></H1
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DIV
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="REFNAMEDIV"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndNAME="AEN9"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>Name</H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><SPAN
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="APPLICATION"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>named-checkzone</SPAN
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>&nbsp;--&nbsp;zone file validity checking tool</DIV
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DIV
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohCLASS="REFSYNOPSISDIV"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndNAME="AEN13"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>Synopsis</H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>named-checkzone</B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> [<TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohCLASS="OPTION"
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>-d</TT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>] [<TT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedoohCLASS="OPTION"
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>-j</TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>] [<TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="OPTION"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-q</TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>] [<TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="OPTION"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-v</TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>] [<TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="OPTION"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-c <TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="REPLACEABLE"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>class</I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>] [<TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohCLASS="OPTION"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-n <TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="REPLACEABLE"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>mode</I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>] [<TT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedoohCLASS="OPTION"
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>-t <TT
bb10b4c35ab42a1950a733a36e4fb2dd1168b236jailletcCLASS="REPLACEABLE"
bb10b4c35ab42a1950a733a36e4fb2dd1168b236jailletc><I
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>directory</I
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>] [<TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="OPTION"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-w <TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="REPLACEABLE"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><I
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>directory</I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>] {zonename} {filename}</P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DIV
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DIV
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coarCLASS="REFSECT1"
d6d9a8670a4620266fc9aa4958d8e42668a6bb68humbedooh><A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndNAME="AEN38"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></A
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>DESCRIPTION</H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> <B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>named-checkzone</B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> checks the syntax and integrity of
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh a zone file. It performs the same checks as <B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>named</B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd does when loading a zone. This makes
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd <B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>named-checkzone</B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> useful for checking zone
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd files before configuring them into a name server.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd </P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DIV
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DIV
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohCLASS="REFSECT1"
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><A
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedoohNAME="AEN44"
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></A
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><H2
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>OPTIONS</H2
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DIV
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="VARIABLELIST"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DL
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-d</DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> Enable debugging.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd </P
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></DD
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><DT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>-q</DT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><DD
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><P
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh> Quiet mode - exit code only.
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh </P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-v</DT
d6d9a8670a4620266fc9aa4958d8e42668a6bb68humbedooh><DD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> Print the version of the <B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh>named-checkzone</B
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh program and exit.
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh </P
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh></DD
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><DT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>-j</DT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><DD
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><P
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh> When loading the zone file read the journal if it exists.
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh </P
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></DD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>-c <TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="REPLACEABLE"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>class</I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DD
1c14060ebaf0bab91387c4be294e0d3fddf2068cyoshiki><P
1c14060ebaf0bab91387c4be294e0d3fddf2068cyoshiki> Specify the class of the zone. If not specified "IN" is assumed.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd </P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DT
1c14060ebaf0bab91387c4be294e0d3fddf2068cyoshiki>-n <TT
1c14060ebaf0bab91387c4be294e0d3fddf2068cyoshikiCLASS="REPLACEABLE"
a99c5d4cc3cab6a62b04d52000dbc22ce1fa2d94coar><I
d6d9a8670a4620266fc9aa4958d8e42668a6bb68humbedooh>mode</I
d6d9a8670a4620266fc9aa4958d8e42668a6bb68humbedooh></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DD
1c14060ebaf0bab91387c4be294e0d3fddf2068cyoshiki><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> Specify whether NS records should be checked to see if they
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd are addresses. Possible modes are <B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>"fail"</B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>,
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd <B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="COMMAND"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>"warn"</B
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> (default) and
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd <B
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohCLASS="COMMAND"
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>"ignore"</B
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>.
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh </P
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedooh></DD
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh><DT
94e836655ae06d0a14ec9aaaf6455bcaf2872d1dhumbedooh>-t <TT
1050464f9f91f75e7a1c5c3daf3fb7b8aa74592ahumbedoohCLASS="REPLACEABLE"
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><I
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd>directory</I
1c14060ebaf0bab91387c4be294e0d3fddf2068cyoshiki></TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd></DT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><DD
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd><P
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd> chroot to <TT
1eba1be63201689b2d3e651d3a35f0bc2057e2c0ndCLASS="FILENAME"
>directory</TT
> so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
</P
></DD
><DT
>-w <TT
CLASS="REPLACEABLE"
><I
>directory</I
></TT
></DT
><DD
><P
> chdir to <TT
CLASS="FILENAME"
>directory</TT
> so that relative
filenames in master file $INCLUDE directives work. This
is similar to the directory clause in
<TT
CLASS="FILENAME"
>named.conf</TT
>.
</P
></DD
><DT
>zonename</DT
><DD
><P
> The domain name of the zone being checked.
</P
></DD
><DT
>filename</DT
><DD
><P
> The name of the zone file.
</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN98"
></A
><H2
>RETURN VALUES</H2
><P
> <B
CLASS="COMMAND"
>named-checkzone</B
> returns an exit status of 1 if
errors were detected and 0 otherwise.
</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN102"
></A
><H2
>SEE ALSO</H2
><P
> <SPAN
CLASS="CITEREFENTRY"
><SPAN
CLASS="REFENTRYTITLE"
>named</SPAN
>(8)</SPAN
>,
<I
CLASS="CITETITLE"
>RFC 1035</I
>,
<I
CLASS="CITETITLE"
>BIND 9 Administrator Reference Manual</I
>.
</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN110"
></A
><H2
>AUTHOR</H2
><P
> Internet Software Consortium
</P
></DIV
></BODY
></HTML
>