man.named-checkzone.html revision 102ccdd2c0ade46f2d668c4b4d3fbbe668a44994
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews<!--
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater - Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater - Copyright (C) 2000-2003 Internet Software Consortium.
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater -
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater - purpose with or without fee is hereby granted, provided that the above
7b67cfadd077feb0ec3e6c78385ba0d845a9789bMark Andrews - copyright notice and this permission notice appear in all copies.
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater -
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington - PERFORMANCE OF THIS SOFTWARE.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater-->
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater<!-- $Id: man.named-checkzone.html,v 1.142 2009/10/15 01:15:17 tbox Exp $ -->
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater<html>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<head>
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<title>named-checkzone</title>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<link rel="next" href="man.named.html" title="named">
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews</head>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<div class="navheader">
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<table width="100%" summary="Navigation header">
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<tr>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<td width="20%" align="left">
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<th width="60%" align="center">Manual pages</th>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</td>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater</tr>
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater</table>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<hr>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater</div>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<div class="refentry" lang="en">
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic Updater<a name="man.named-checkzone"></a><div class="titlepage"></div>
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater<div class="refnamediv">
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<h2>Name</h2>
ca904804e43f663f08eb1ac9d6d617930b9a3cd3Automatic Updater<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> &#8212; zone file validity checking or converting tool</p>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</div>
db5b7e2cdf150c46e8242d3e2e3ad3f5c7300258Automatic Updater<div class="refsynopsisdiv">
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews<h2>Synopsis</h2>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<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">-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>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<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">-o <em class="replaceable"><code>filename</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>] {zonename} {filename}</p></div>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson</div>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<div class="refsect1" lang="en">
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews<a name="id2612652"></a><h2>DESCRIPTION</h2>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews<p><span><strong class="command">named-checkzone</strong></span>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews checks the syntax and integrity of a zone file. It performs the
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson same checks as <span><strong class="command">named</strong></span> does when loading a
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews checking zone files before configuring them into a name server.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson </p>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<p>
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater <span><strong class="command">named-compilezone</strong></span> is similar to
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updater zone contents to a specified file in a specified format.
55e03fc54708d97917bf26639b987f759bdc1f44Automatic Updater Additionally, it applies stricter check levels by default,
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updater since the dump output will be used as an actual zone file
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updater loaded by <span><strong class="command">named</strong></span>.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont When manually specified otherwise, the check levels must at
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont least be as strict as those specified in the
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont <span><strong class="command">named</strong></span> configuration file.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont </p>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews</div>
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater<div class="refsect1" lang="en">
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater<a name="id2612702"></a><h2>OPTIONS</h2>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<div class="variablelist"><dl>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<dt><span class="term">-d</span></dt>
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater<dd><p>
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater Enable debugging.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews </p></dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-h</span></dt>
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater<dd><p>
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews Print the usage summary and exit.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews </p></dd>
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater<dt><span class="term">-q</span></dt>
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater<dd><p>
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater Quiet mode - exit code only.
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater </p></dd>
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater<dt><span class="term">-v</span></dt>
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater<dd><p>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews Print the version of the <span><strong class="command">named-checkzone</strong></span>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson program and exit.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews </p></dd>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<dt><span class="term">-j</span></dt>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<dd><p>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews When loading the zone file read the journal if it exists.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson </p></dd>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater<dd><p>
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater Specify the class of the zone. If not specified, "IN" is assumed.
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater </p></dd>
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater<dd>
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater<p>
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater Perform post-load zone integrity checks. Possible modes are
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater <span><strong class="command">"full"</strong></span> (default),
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater <span><strong class="command">"full-sibling"</strong></span>,
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updater <span><strong class="command">"local"</strong></span>,
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater <span><strong class="command">"local-sibling"</strong></span> and
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater <span><strong class="command">"none"</strong></span>.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater<p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Mode <span><strong class="command">"full"</strong></span> checks that MX records
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater refer to A or AAAA record (both in-zone and out-of-zone
0df8ead472f207020f8da22a185fe4b945248ab8Automatic Updater hostnames). Mode <span><strong class="command">"local"</strong></span> only
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater checks MX records which refer to in-zone hostnames.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p>
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater<p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Mode <span><strong class="command">"full"</strong></span> checks that SRV records
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater refer to A or AAAA record (both in-zone and out-of-zone
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater hostnames). Mode <span><strong class="command">"local"</strong></span> only
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater checks SRV records which refer to in-zone hostnames.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<p>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater records refer to A or AAAA record (both in-zone and out-of-zone
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater hostnames). It also checks that glue address records
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater in the zone match those advertised by the child.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Mode <span><strong class="command">"local"</strong></span> only checks NS records which
19b3dc94bce93fa76bd7e066f9298630dbc9dcb4Automatic Updater refer to in-zone hostnames or that some required glue exists,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater that is when the nameserver is in a child zone.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p>
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater<p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Mode <span><strong class="command">"full-sibling"</strong></span> and
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater and <span><strong class="command">"local"</strong></span> respectively.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p>
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater<p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Mode <span><strong class="command">"none"</strong></span> disables the checks.
7262eb86f2b465822206122921e2f357218f0cfdAutomatic Updater </p>
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews</dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dd><p>
bbb069be941f649228760edcc241122933c066d2Automatic Updater Specify the format of the zone file.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Possible formats are <span><strong class="command">"text"</strong></span> (default)
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater and <span><strong class="command">"raw"</strong></span>.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews </p></dd>
b0d566a2ce0f5a67f537ee7f8233f82f2584cc61Automatic Updater<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater<dd><p>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews Specify the format of the output file specified.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Possible formats are <span><strong class="command">"text"</strong></span> (default)
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater and <span><strong class="command">"raw"</strong></span>.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews For <span><strong class="command">named-checkzone</strong></span>,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews this does not cause any effects unless it dumps the zone
5ae0e2c8b72fa44237edeb37d1945b1c3535ca39Automatic Updater contents.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews </p></dd>
c5a53da13bb2126dcbbd5b45ca4904eccafe6621Automatic Updater<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<dd><p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Perform <span><strong class="command">"check-names"</strong></span> checks with the
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater specified failure mode.
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater Possible modes are <span><strong class="command">"fail"</strong></span>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater (default for <span><strong class="command">named-compilezone</strong></span>),
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater <span><strong class="command">"warn"</strong></span>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater (default for <span><strong class="command">named-checkzone</strong></span>) and
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <span><strong class="command">"ignore"</strong></span>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
7eda3642eea03f1181e41540c7c8791a57759383Automatic Updater<dd><p>
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater Specify whether MX records should be checked to see if they
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater are addresses. Possible modes are <span><strong class="command">"fail"</strong></span>,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater <span><strong class="command">"warn"</strong></span> (default) and
7eda3642eea03f1181e41540c7c8791a57759383Automatic Updater <span><strong class="command">"ignore"</strong></span>.
00be0f9f61d4c6bf197d000bfa1a6b7e70ea0866Automatic Updater </p></dd>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
00be0f9f61d4c6bf197d000bfa1a6b7e70ea0866Automatic Updater<dd><p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Check if a MX record refers to a CNAME.
5c0fc20d6e59216d9a142409e5fdb498153aeaa5Automatic Updater Possible modes are <span><strong class="command">"fail"</strong></span>,
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater <span><strong class="command">"warn"</strong></span> (default) and
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater <span><strong class="command">"ignore"</strong></span>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
f0ecd0e64ffa2a8afef95d81275d46a845f15402Automatic Updater<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
3857cb6fcabeb79d85de4b3e3e4ab99912b701f8Mark Andrews<dd><p>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater Specify whether NS records should be checked to see if they
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater are addresses.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews Possible modes are <span><strong class="command">"fail"</strong></span>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews (default for <span><strong class="command">named-compilezone</strong></span>),
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson <span><strong class="command">"warn"</strong></span>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews (default for <span><strong class="command">named-checkzone</strong></span>) and
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington <span><strong class="command">"ignore"</strong></span>.
8ae412a86ed138263796195eed82a4716e7effcbMark Andrews </p></dd>
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<dd><p>
3c5dffc581c882235485cf5eaf7cd6a5e07548bfAutomatic Updater Write zone output to <code class="filename">filename</code>.
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews If <code class="filename">filename</code> is <code class="filename">-</code> then
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews write to standard out.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater </p></dd>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews<dd><p>
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews Specify the style of the dumped zone file.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews Possible styles are <span><strong class="command">"full"</strong></span> (default)
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews and <span><strong class="command">"relative"</strong></span>.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews The full format is most suitable for processing
e076d0c88be69de7c190ab924d095e69d2e11f7aAndreas Gustafsson automatically by a separate script.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater On the other hand, the relative format is more
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater human-readable and is thus suitable for editing by hand.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater For <span><strong class="command">named-checkzone</strong></span>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater this does not cause any effects unless it dumps the zone
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews contents.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson It also does not have any meaning if the output format
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews is not text.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p></dd>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<dt><span class="term">-S <em class="replaceable"><code>mode</code></em></span></dt>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson<dd><p>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews Check if a SRV record refers to a CNAME.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews Possible modes are <span><strong class="command">"fail"</strong></span>,
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews <span><strong class="command">"warn"</strong></span> (default) and
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews <span><strong class="command">"ignore"</strong></span>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
b4cebdb6ccde66a8f3e397a1b90b0cf788519d69Automatic Updater<dd><p>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater Chroot to <code class="filename">directory</code> so that
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater include
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater directives in the configuration file are processed as if
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater run by a similarly chrooted named.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater </p></dd>
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
bc0a4c01beede169df81a3ee5b614ed9e82339dbAutomatic Updater<dd><p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington chdir to <code class="filename">directory</code> so that
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater relative
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington filenames in master file $INCLUDE directives work. This
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington is similar to the directory clause in
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington <code class="filename">named.conf</code>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dt><span class="term">-D</span></dt>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dd><p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Dump zone file in canonical format.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington This is always enabled for <span><strong class="command">named-compilezone</strong></span>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dt><span class="term">-W <em class="replaceable"><code>mode</code></em></span></dt>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dd><p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Specify whether to check for non-terminal wildcards.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Non-terminal wildcards are almost always the result of a
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington failure to understand the wildcard matching algorithm (RFC 1034).
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington Possible modes are <span><strong class="command">"warn"</strong></span> (default)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington and
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington <span><strong class="command">"ignore"</strong></span>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dt><span class="term">zonename</span></dt>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dd><p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington The domain name of the zone being checked.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dt><span class="term">filename</span></dt>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<dd><p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington The name of the zone file.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p></dd>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</dl></div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<div class="refsect1" lang="en">
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<a name="id2664094"></a><h2>RETURN VALUES</h2>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<p><span><strong class="command">named-checkzone</strong></span>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington returns an exit status of 1 if
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington errors were detected and 0 otherwise.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<div class="refsect1" lang="en">
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<a name="id2664108"></a><h2>SEE ALSO</h2>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington <span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington <em class="citetitle">RFC 1035</em>,
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<div class="refsect1" lang="en">
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<a name="id2664141"></a><h2>AUTHOR</h2>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<p><span class="corpauthor">Internet Systems Consortium</span>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington </p>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<div class="navfooter">
a26b22914b7bf25f065afb8cdef983766dcd672bAutomatic Updater<hr>
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater<table width="100%" summary="Navigation footer">
0d3490f93bb980fde704055e74c1b508987a5fe4Mark Andrews<tr>
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington<td width="40%" align="left">
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington<td width="40%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews</td>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews</tr>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington<tr>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<td width="40%" align="left" valign="top">
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington<span class="application">named-checkconf</span>�</td>
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater<td width="40%" align="right" valign="top">�<span class="application">named</span>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</td>
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater</tr>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater</table>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</div>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</body>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington</html>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington