man.named-checkzone.html revision 150d28abc8fc6f8a3df17650c61ce1635aeb192c
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - Copyright (C) 2000-2003 Internet Software Consortium.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - Permission to use, copy, modify, and/or distribute this software for any
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync - purpose with or without fee is hereby granted, provided that the above
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - copyright notice and this permission notice appear in all copies.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - PERFORMANCE OF THIS SOFTWARE.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<!-- $Id: man.named-checkzone.html,v 1.219 2012/02/01 01:04:18 tbox Exp $ -->
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<link rel="next" href="man.named.html" title="named">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<a name="man.named-checkzone"></a><div class="titlepage"></div>
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> — zone file validity checking or converting tool</p>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>} {zonename} {filename}</p></div>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<p><span><strong class="command">named-checkzone</strong></span>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync checks the syntax and integrity of a zone file. It performs the
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync same checks as <span><strong class="command">named</strong></span> does when loading a
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync checking zone files before configuring them into a name server.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">named-compilezone</strong></span> is similar to
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync zone contents to a specified file in a specified format.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync Additionally, it applies stricter check levels by default,
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync since the dump output will be used as an actual zone file
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync loaded by <span><strong class="command">named</strong></span>.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync When manually specified otherwise, the check levels must at
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync least be as strict as those specified in the
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">named</strong></span> configuration file.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync Enable debugging.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync Print the usage summary and exit.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Quiet mode - exit code only.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Print the version of the <span><strong class="command">named-checkzone</strong></span>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync program and exit.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync When loading the zone file read the journal if it exists.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Specify the class of the zone. If not specified, "IN" is assumed.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Perform post-load zone integrity checks. Possible modes are
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">"full"</strong></span> (default),
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">"full-sibling"</strong></span>,
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">"local"</strong></span>,
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">"local-sibling"</strong></span> and
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">"none"</strong></span>.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Mode <span><strong class="command">"full"</strong></span> checks that MX records
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync refer to A or AAAA record (both in-zone and out-of-zone
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync hostnames). Mode <span><strong class="command">"local"</strong></span> only
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync checks MX records which refer to in-zone hostnames.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync Mode <span><strong class="command">"full"</strong></span> checks that SRV records
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync refer to A or AAAA record (both in-zone and out-of-zone
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync hostnames). Mode <span><strong class="command">"local"</strong></span> only
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync checks SRV records which refer to in-zone hostnames.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync records refer to A or AAAA record (both in-zone and out-of-zone
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync hostnames). It also checks that glue address records
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync in the zone match those advertised by the child.
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync Mode <span><strong class="command">"local"</strong></span> only checks NS records which
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync refer to in-zone hostnames or that some required glue exists,
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync that is when the nameserver is in a child zone.
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync Mode <span><strong class="command">"full-sibling"</strong></span> and
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync and <span><strong class="command">"local"</strong></span> respectively.
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync Mode <span><strong class="command">"none"</strong></span> disables the checks.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Specify the format of the zone file.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Possible formats are <span><strong class="command">"text"</strong></span> (default)
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync and <span><strong class="command">"raw"</strong></span>.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Specify the format of the output file specified.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync For <span><strong class="command">named-checkzone</strong></span>,
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync this does not cause any effects unless it dumps the zone
and <span><strong class="command">"raw"</strong></span> or <span><strong class="command">"raw=N"</strong></span>,