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