man.named-checkzone.html revision fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4c
4e10d188042815c5285edf00ea96896b862e0863aurium - Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - Copyright (C) 2000-2003 Internet Software Consortium.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - Permission to use, copy, modify, and/or distribute this software for any
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - purpose with or without fee is hereby granted, provided that the above
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - copyright notice and this permission notice appear in all copies.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis - PERFORMANCE OF THIS SOFTWARE.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<!-- $Id: man.named-checkzone.html,v 1.172 2010/08/21 01:13:58 tbox Exp $ -->
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<link rel="next" href="man.named.html" title="named">
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
4e10d188042815c5285edf00ea96896b862e0863aurium<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
4e10d188042815c5285edf00ea96896b862e0863aurium<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<th width="60%" align="center">Manual pages</th>
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
4e10d188042815c5285edf00ea96896b862e0863aurium<a name="man.named-checkzone"></a><div class="titlepage"></div>
1cd8881c9c3a32110a49a6668919aa3750dc1285JazzyNico<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> — zone file validity checking or converting tool</p>
4e10d188042815c5285edf00ea96896b862e0863aurium<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">-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>
4e10d188042815c5285edf00ea96896b862e0863aurium<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">-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>
1cd8881c9c3a32110a49a6668919aa3750dc1285JazzyNico<p><span><strong class="command">named-checkzone</strong></span>
4e10d188042815c5285edf00ea96896b862e0863aurium checks the syntax and integrity of a zone file. It performs the
4e10d188042815c5285edf00ea96896b862e0863aurium same checks as <span><strong class="command">named</strong></span> does when loading a
4e10d188042815c5285edf00ea96896b862e0863aurium zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
4e10d188042815c5285edf00ea96896b862e0863aurium checking zone files before configuring them into a name server.
4e10d188042815c5285edf00ea96896b862e0863aurium <span><strong class="command">named-compilezone</strong></span> is similar to
1cd8881c9c3a32110a49a6668919aa3750dc1285JazzyNico <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
83aaf46c9feab529aeb9add871c05c3d1177afccaurium zone contents to a specified file in a specified format.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium Additionally, it applies stricter check levels by default,
4e10d188042815c5285edf00ea96896b862e0863aurium since the dump output will be used as an actual zone file
4e10d188042815c5285edf00ea96896b862e0863aurium loaded by <span><strong class="command">named</strong></span>.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium When manually specified otherwise, the check levels must at
83aaf46c9feab529aeb9add871c05c3d1177afccaurium least be as strict as those specified in the
83aaf46c9feab529aeb9add871c05c3d1177afccaurium <span><strong class="command">named</strong></span> configuration file.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis Enable debugging.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis Print the usage summary and exit.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis Quiet mode - exit code only.
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis Print the version of the <span><strong class="command">named-checkzone</strong></span>
d4d3743f0388af16b07b640a8b145eee32f36f73Alex Valavanis program and exit.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium When loading the zone file read the journal if it exists.
4e10d188042815c5285edf00ea96896b862e0863aurium<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
83aaf46c9feab529aeb9add871c05c3d1177afccaurium Specify the class of the zone. If not specified, "IN" is assumed.
4e10d188042815c5285edf00ea96896b862e0863aurium<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
83aaf46c9feab529aeb9add871c05c3d1177afccaurium Perform post-load zone integrity checks. Possible modes are
4b20bf95123c697a0635b14433d183b02d8b8781aurium <span><strong class="command">"full"</strong></span> (default),
83aaf46c9feab529aeb9add871c05c3d1177afccaurium <span><strong class="command">"full-sibling"</strong></span>,
83aaf46c9feab529aeb9add871c05c3d1177afccaurium <span><strong class="command">"local"</strong></span>,
83aaf46c9feab529aeb9add871c05c3d1177afccaurium <span><strong class="command">"local-sibling"</strong></span> and
83aaf46c9feab529aeb9add871c05c3d1177afccaurium <span><strong class="command">"none"</strong></span>.
83aaf46c9feab529aeb9add871c05c3d1177afccaurium Mode <span><strong class="command">"full"</strong></span> checks that MX records
05c0670a5ec29b57709b1a0bd01010d120a76d8dAlex Valavanis refer to A or AAAA record (both in-zone and out-of-zone
05c0670a5ec29b57709b1a0bd01010d120a76d8dAlex Valavanis hostnames). Mode <span><strong class="command">"local"</strong></span> only
05c0670a5ec29b57709b1a0bd01010d120a76d8dAlex Valavanis checks MX records which refer to in-zone hostnames.