man.named-checkzone.html revision 36da16fa31fa2a582afe67010ba449a57177fd2f
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson<!--
de283bda6a902c2102a795192eeab3a769001c7dTinderbox User - Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and/or distribute this software for any
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson - purpose with or without fee is hereby granted, provided that the above
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson - copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
af5073d03288a53b646ec3b807ac25ced64d7879Mark Andrews - PERFORMANCE OF THIS SOFTWARE.
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson-->
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<!-- $Id: man.named-checkzone.html,v 1.211 2011/11/07 01:15:04 tbox Exp $ -->
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<html>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<head>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<title>named-checkzone</title>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="next" href="man.named.html" title="named">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User</head>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<div class="navheader">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<table width="100%" summary="Navigation header">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<tr>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="20%" align="left">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<th width="60%" align="center">Manual pages</th>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<hr>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="refentry" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="man.named-checkzone"></a><div class="titlepage"></div>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User<div class="refnamediv">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h2>Name</h2>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> &#8212; zone file validity checking or converting tool</p>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="refsynopsisdiv">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h2>Synopsis</h2>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews</div>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User<div class="refsect1" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2621780"></a><h2>DESCRIPTION</h2>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">named-checkzone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein checks the syntax and integrity of a zone file. It performs the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User same checks as <span><strong class="command">named</strong></span> does when loading a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User checking zone files before configuring them into a name server.
03c0efc6892ef2ed17338b2ecbb2c5f23fbad0c9Tinderbox User </p>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User<p>
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User <span><strong class="command">named-compilezone</strong></span> is similar to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User zone contents to a specified file in a specified format.
b49958b502ee45022010a0b1bed3968f598895a4Automatic Updater Additionally, it applies stricter check levels by default,
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User since the dump output will be used as an actual zone file
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein loaded by <span><strong class="command">named</strong></span>.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User When manually specified otherwise, the check levels must at
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User least be as strict as those specified in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">named</strong></span> configuration file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="refsect1" lang="en">
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<a name="id2621830"></a><h2>OPTIONS</h2>
b3cbb2f1ad021349e89807f3492df6e4e679cd56Mark Andrews<div class="variablelist"><dl>
665a24faf6b3711e4012ac02ae5f0981c093ac1eTinderbox User<dt><span class="term">-d</span></dt>
9d557856c2a19ec95ee73245f60a92f8675cf5baTinderbox User<dd><p>
b49958b502ee45022010a0b1bed3968f598895a4Automatic Updater Enable debugging.
b3cbb2f1ad021349e89807f3492df6e4e679cd56Mark Andrews </p></dd>
b3cbb2f1ad021349e89807f3492df6e4e679cd56Mark Andrews<dt><span class="term">-h</span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Print the usage summary and exit.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dt><span class="term">-q</span></dt>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Quiet mode - exit code only.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-v</span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
61e1dc26d62c2a0059e3ca7efe2ad0f4a5b8df92Mark Andrews Print the version of the <span><strong class="command">named-checkzone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein program and exit.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term">-j</span></dt>
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User<dd><p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User When loading the zone file read the journal if it exists.
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User </p></dd>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User<dd><p>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User Specify the class of the zone. If not specified, "IN" is assumed.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User </p></dd>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User<dd>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<p>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User Perform post-load zone integrity checks. Possible modes are
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span><strong class="command">"full"</strong></span> (default),
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User <span><strong class="command">"full-sibling"</strong></span>,
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User <span><strong class="command">"local"</strong></span>,
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User <span><strong class="command">"local-sibling"</strong></span> and
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User <span><strong class="command">"none"</strong></span>.
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User </p>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User<p>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span><strong class="command">"full"</strong></span> checks that MX records
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User refer to A or AAAA record (both in-zone and out-of-zone
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User hostnames). Mode <span><strong class="command">"local"</strong></span> only
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User checks MX records which refer to in-zone hostnames.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Mode <span><strong class="command">"full"</strong></span> checks that SRV records
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User refer to A or AAAA record (both in-zone and out-of-zone
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User hostnames). Mode <span><strong class="command">"local"</strong></span> only
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein checks SRV records which refer to in-zone hostnames.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User<p>
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User records refer to A or AAAA record (both in-zone and out-of-zone
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User hostnames). It also checks that glue address records
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User in the zone match those advertised by the child.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Mode <span><strong class="command">"local"</strong></span> only checks NS records which
6bcac4b58d16ee91184a72bd4ff05c41538fd932Tinderbox User refer to in-zone hostnames or that some required glue exists,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User that is when the nameserver is in a child zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Mode <span><strong class="command">"full-sibling"</strong></span> and
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User and <span><strong class="command">"local"</strong></span> respectively.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Mode <span><strong class="command">"none"</strong></span> disables the checks.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User</dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Specify the format of the zone file.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Possible formats are <span><strong class="command">"text"</strong></span> (default)
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User and <span><strong class="command">"raw"</strong></span>.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Specify the format of the output file specified.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Possible formats are <span><strong class="command">"text"</strong></span> (default)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User and <span><strong class="command">"raw"</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User For <span><strong class="command">named-checkzone</strong></span>,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User this does not cause any effects unless it dumps the zone
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User contents.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Perform <span><strong class="command">"check-names"</strong></span> checks with the
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User specified failure mode.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Possible modes are <span><strong class="command">"fail"</strong></span>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User (default for <span><strong class="command">named-compilezone</strong></span>),
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"warn"</strong></span>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User (default for <span><strong class="command">named-checkzone</strong></span>) and
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"ignore"</strong></span>.
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User </p></dd>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Specify whether MX records should be checked to see if they
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User are addresses. Possible modes are <span><strong class="command">"fail"</strong></span>,
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"warn"</strong></span> (default) and
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"ignore"</strong></span>.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Check if a MX record refers to a CNAME.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Possible modes are <span><strong class="command">"fail"</strong></span>,
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <span><strong class="command">"warn"</strong></span> (default) and
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User <span><strong class="command">"ignore"</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User<dd><p>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Specify whether NS records should be checked to see if they
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User are addresses.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Possible modes are <span><strong class="command">"fail"</strong></span>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User (default for <span><strong class="command">named-compilezone</strong></span>),
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <span><strong class="command">"warn"</strong></span>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User (default for <span><strong class="command">named-checkzone</strong></span>) and
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"ignore"</strong></span>.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Write zone output to <code class="filename">filename</code>.
dec590a3deb8e87380a8bd3a77d535dba3729bf6Tinderbox User If <code class="filename">filename</code> is <code class="filename">-</code> then
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User write to standard out.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-r <em class="replaceable"><code>mode</code></em></span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Check for records that are treated as different by DNSSEC but
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User are semantically equal in plain DNS.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Possible modes are <span><strong class="command">"fail"</strong></span>,
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"warn"</strong></span> (default) and
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User <span><strong class="command">"ignore"</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Specify the style of the dumped zone file.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Possible styles are <span><strong class="command">"full"</strong></span> (default)
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User and <span><strong class="command">"relative"</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User The full format is most suitable for processing
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User automatically by a separate script.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User On the other hand, the relative format is more
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User human-readable and is thus suitable for editing by hand.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User For <span><strong class="command">named-checkzone</strong></span>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User this does not cause any effects unless it dumps the zone
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User contents.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User It also does not have any meaning if the output format
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User is not text.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-S <em class="replaceable"><code>mode</code></em></span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Check if a SRV record refers to a CNAME.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Possible modes are <span><strong class="command">"fail"</strong></span>,
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"warn"</strong></span> (default) and
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"ignore"</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User Chroot to <code class="filename">directory</code> so that
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User include
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User directives in the configuration file are processed as if
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User run by a similarly chrooted named.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User chdir to <code class="filename">directory</code> so that
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User relative
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User filenames in master file $INCLUDE directives work. This
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User is similar to the directory clause in
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <code class="filename">named.conf</code>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-D</span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Dump zone file in canonical format.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User This is always enabled for <span><strong class="command">named-compilezone</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">-W <em class="replaceable"><code>mode</code></em></span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Specify whether to check for non-terminal wildcards.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User Non-terminal wildcards are almost always the result of a
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User failure to understand the wildcard matching algorithm (RFC 1034).
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User Possible modes are <span><strong class="command">"warn"</strong></span> (default)
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User and
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User <span><strong class="command">"ignore"</strong></span>.
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User </p></dd>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dt><span class="term">zonename</span></dt>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dd><p>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User The domain name of the zone being checked.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
0eea9763d88e3edf9b6de585f7cfbb08de977124Tinderbox User<dt><span class="term">filename</span></dt>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<dd><p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User The name of the zone file.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p></dd>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="refsect1" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2675713"></a><h2>RETURN VALUES</h2>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">named-checkzone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein returns an exit status of 1 if
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein errors were detected and 0 otherwise.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="refsect1" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2675726"></a><h2>SEE ALSO</h2>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="citetitle">RFC 1035</em>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="citetitle">BIND 9 Administrator Reference Manual</em>.
335c82aebd0da12b401cfac28bd305da95a4d052Tinderbox User </p>
335c82aebd0da12b401cfac28bd305da95a4d052Tinderbox User</div>
335c82aebd0da12b401cfac28bd305da95a4d052Tinderbox User<div class="refsect1" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2675760"></a><h2>AUTHOR</h2>
fb84f9014321c5f33c4682de5661b579fcde318fAndreas Gustafsson<p><span class="corpauthor">Internet Systems Consortium</span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User</div>
8e16b3078757ba3010c24aef805e9e29ed19518bTinderbox User</div>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<div class="navfooter">
8e16b3078757ba3010c24aef805e9e29ed19518bTinderbox User<hr>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<table width="100%" summary="Navigation footer">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="40%" align="left">
8e16b3078757ba3010c24aef805e9e29ed19518bTinderbox User<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="20%" align="center"><a accesskey="u" href="Bv9ARM.ch10.html">Up</a></td>
8e16b3078757ba3010c24aef805e9e29ed19518bTinderbox User<td width="40%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User</td>
8e16b3078757ba3010c24aef805e9e29ed19518bTinderbox User</tr>
8e16b3078757ba3010c24aef805e9e29ed19518bTinderbox User<tr>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="40%" align="left" valign="top">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<span class="application">named-checkconf</span>�</td>
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater<td width="40%" align="right" valign="top">�<span class="application">named</span>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater</td>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater</tr>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater</table>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater</div>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater</body>
370c55dfcdc559b8761ef3eb4921498580caf14cAutomatic Updater</html>
77dccf2a5d9327d16b4374a135cdb99bdd48620eAutomatic Updater