man.named-checkzone.html revision 43b94483957d3168796a816ed86cf097518817dc
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync - Copyright (C) 2004-2013 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$ -->
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>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync<a name="man.named-checkzone"></a><div class="titlepage"></div>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<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">-J <em class="replaceable"><code>filename</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">-J <em class="replaceable"><code>filename</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.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <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.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync 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 a zone file, read the journal if it exists.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync The journal file name is assumed to be the zone file name
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync appended with the string <code class="filename">.jnl</code>.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync<dt><span class="term">-J <em class="replaceable"><code>filename</code></em></span></dt>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync When loading the zone file read the journal from the given
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync file, if it exists. (Implies -j.)
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.
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync Perform post-load zone integrity checks. Possible modes are
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">"full"</strong></span> (default),
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">"full-sibling"</strong></span>,
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">"local"</strong></span>,
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">"local-sibling"</strong></span> and
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync <span><strong class="command">"none"</strong></span>.
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync Mode <span><strong class="command">"full"</strong></span> checks that MX records
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync refer to A or AAAA record (both in-zone and out-of-zone
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync hostnames). Mode <span><strong class="command">"local"</strong></span> only
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync checks MX records which refer to in-zone hostnames.
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync Mode <span><strong class="command">"full"</strong></span> checks that SRV records
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync refer to A or AAAA record (both in-zone and out-of-zone
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync hostnames). Mode <span><strong class="command">"local"</strong></span> only
c285785ffc9f35513e0c6e7e2a05df3090dc919cvboxsync checks SRV records which refer to in-zone hostnames.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
73e8df2e481cb3697372a3cf4acffd068a7f1296vboxsync records refer to A or AAAA record (both in-zone and out-of-zone
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync hostnames). It also checks that glue address records
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync in the zone match those advertised by the child.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Mode <span><strong class="command">"local"</strong></span> only checks NS records which
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync refer to in-zone hostnames or that some required glue exists,
8d974ced0dc3540dd1b3ec85f8663388e246461avboxsync that is when the nameserver is in a child zone.
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync Mode <span><strong class="command">"full-sibling"</strong></span> and
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
037f4c44a9ef4e458f46b264aebd12df049b0f0cvboxsync and <span><strong class="command">"local"</strong></span> respectively.
<span><strong class="command">"raw"</strong></span>, and <span><strong class="command">"map"</strong></span>.