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