man.named-checkzone.html revision fc8e82904a5a53fbc8b7e2f9262e3aa74ab20a2c
f808c858fa61e7769218966759510a8b1190dfcfraf<!--
f808c858fa61e7769218966759510a8b1190dfcfraf - Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
f808c858fa61e7769218966759510a8b1190dfcfraf - Copyright (C) 2000-2003 Internet Software Consortium.
f808c858fa61e7769218966759510a8b1190dfcfraf -
f808c858fa61e7769218966759510a8b1190dfcfraf - Permission to use, copy, modify, and distribute this software for any
f808c858fa61e7769218966759510a8b1190dfcfraf - purpose with or without fee is hereby granted, provided that the above
f808c858fa61e7769218966759510a8b1190dfcfraf - copyright notice and this permission notice appear in all copies.
f808c858fa61e7769218966759510a8b1190dfcfraf -
f808c858fa61e7769218966759510a8b1190dfcfraf - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
f808c858fa61e7769218966759510a8b1190dfcfraf - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
f808c858fa61e7769218966759510a8b1190dfcfraf - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
f808c858fa61e7769218966759510a8b1190dfcfraf - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
f808c858fa61e7769218966759510a8b1190dfcfraf - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
f808c858fa61e7769218966759510a8b1190dfcfraf - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
f808c858fa61e7769218966759510a8b1190dfcfraf - PERFORMANCE OF THIS SOFTWARE.
f808c858fa61e7769218966759510a8b1190dfcfraf-->
f808c858fa61e7769218966759510a8b1190dfcfraf<!-- $Id: man.named-checkzone.html,v 1.100 2008/12/02 01:11:45 tbox Exp $ -->
f808c858fa61e7769218966759510a8b1190dfcfraf<html>
f808c858fa61e7769218966759510a8b1190dfcfraf<head>
f808c858fa61e7769218966759510a8b1190dfcfraf<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
f808c858fa61e7769218966759510a8b1190dfcfraf<title>named-checkzone</title>
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
f808c858fa61e7769218966759510a8b1190dfcfraf<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f808c858fa61e7769218966759510a8b1190dfcfraf<link rel="up" href="Bv9ARM.ch10.html" title="Manual pages">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<link rel="prev" href="man.named-checkconf.html" title="named-checkconf">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<link rel="next" href="man.named.html" title="named">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami</head>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<div class="navheader">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<table width="100%" summary="Navigation header">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<tr><th colspan="3" align="center"><span class="application">named-checkzone</span></th></tr>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<tr>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<td width="20%" align="left">
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<a accesskey="p" href="man.named-checkconf.html">Prev</a>�</td>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<th width="60%" align="center">Manual pages</th>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami<td width="20%" align="right">�<a accesskey="n" href="man.named.html">Next</a>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami</td>
bfed486ad8de8b8ebc6345a8e10accae08bf2f45Ali Bahrami</tr>
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami</table>
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami<hr>
cd3e933325e68e23516a196a8fea7f49b1e497c3Ali Bahrami</div>
f808c858fa61e7769218966759510a8b1190dfcfraf<div class="refentry" lang="en">
f808c858fa61e7769218966759510a8b1190dfcfraf<a name="man.named-checkzone"></a><div class="titlepage"></div>
f808c858fa61e7769218966759510a8b1190dfcfraf<div class="refnamediv">
f808c858fa61e7769218966759510a8b1190dfcfraf<h2>Name</h2>
f808c858fa61e7769218966759510a8b1190dfcfraf<p><span class="application">named-checkzone</span>, <span class="application">named-compilezone</span> &#8212; zone file validity checking or converting tool</p>
f808c858fa61e7769218966759510a8b1190dfcfraf</div>
f808c858fa61e7769218966759510a8b1190dfcfraf<div class="refsynopsisdiv">
f808c858fa61e7769218966759510a8b1190dfcfraf<h2>Synopsis</h2>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj<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>
f808c858fa61e7769218966759510a8b1190dfcfraf<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>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi</div>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi<div class="refsect1" lang="en">
9dd0f810214fdc8e1af881a9a5c4b6927629ff9ecindi<a name="id2607926"></a><h2>DESCRIPTION</h2>
f808c858fa61e7769218966759510a8b1190dfcfraf<p><span><strong class="command">named-checkzone</strong></span>
f808c858fa61e7769218966759510a8b1190dfcfraf checks the syntax and integrity of a zone file. It performs the
25c6ff4b77fcddf4097ce78a8277275ca603b46cstephh same checks as <span><strong class="command">named</strong></span> does when loading a
e4b86885570d77af552e9cf94f142f4d744fb8c8Cheng Sean Ye zone. This makes <span><strong class="command">named-checkzone</strong></span> useful for
2cb5535af222653abf2eba5c180ded4a7b85d8b6robj checking zone files before configuring them into a name server.
25c6ff4b77fcddf4097ce78a8277275ca603b46cstephh </p>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi<p>
f808c858fa61e7769218966759510a8b1190dfcfraf <span><strong class="command">named-compilezone</strong></span> is similar to
940d71d237794874e18a0eb72f6564821a823517eschrock <span><strong class="command">named-checkzone</strong></span>, but it always dumps the
069f55e237020c4a4907b235fc38fafc6442ce94Eric Schrock zone contents to a specified file in a specified format.
940d71d237794874e18a0eb72f6564821a823517eschrock Additionally, it applies stricter check levels by default,
069f55e237020c4a4907b235fc38fafc6442ce94Eric Schrock since the dump output will be used as an actual zone file
e4b86885570d77af552e9cf94f142f4d744fb8c8Cheng Sean Ye loaded by <span><strong class="command">named</strong></span>.
f808c858fa61e7769218966759510a8b1190dfcfraf When manually specified otherwise, the check levels must at
f808c858fa61e7769218966759510a8b1190dfcfraf least be as strict as those specified in the
c93c462eec9d46f84d567abf52eb29a27c2e134bCheng Sean Ye <span><strong class="command">named</strong></span> configuration file.
f808c858fa61e7769218966759510a8b1190dfcfraf </p>
f808c858fa61e7769218966759510a8b1190dfcfraf</div>
f808c858fa61e7769218966759510a8b1190dfcfraf<div class="refsect1" lang="en">
f808c858fa61e7769218966759510a8b1190dfcfraf<a name="id2607976"></a><h2>OPTIONS</h2>
f808c858fa61e7769218966759510a8b1190dfcfraf<div class="variablelist"><dl>
c93c462eec9d46f84d567abf52eb29a27c2e134bCheng Sean Ye<dt><span class="term">-d</span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
f808c858fa61e7769218966759510a8b1190dfcfraf Enable debugging.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj<dt><span class="term">-h</span></dt>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj<dd><p>
184cd04c26b064536977dfbb913a1240eaf6f708cth Print the usage summary and exit.
184cd04c26b064536977dfbb913a1240eaf6f708cth </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-q</span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
e5dcf7beb7c949f9234713d5818b581ec3825443Robert Johnston Quiet mode - exit code only.
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-v</span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
f808c858fa61e7769218966759510a8b1190dfcfraf Print the version of the <span><strong class="command">named-checkzone</strong></span>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi program and exit.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dt><span class="term">-j</span></dt>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dd><p>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi When loading the zone file read the journal if it exists.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dd><p>
f808c858fa61e7769218966759510a8b1190dfcfraf Specify the class of the zone. If not specified "IN" is assumed.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dd>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<p>
0b1b4412cfd6c4ac5467dbe6f4088dcec4f55fe8Eric Schrock Perform post-load zone integrity checks. Possible modes are
0b1b4412cfd6c4ac5467dbe6f4088dcec4f55fe8Eric Schrock <span><strong class="command">"full"</strong></span> (default),
f808c858fa61e7769218966759510a8b1190dfcfraf <span><strong class="command">"full-sibling"</strong></span>,
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi <span><strong class="command">"local"</strong></span>,
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi <span><strong class="command">"local-sibling"</strong></span> and
f808c858fa61e7769218966759510a8b1190dfcfraf <span><strong class="command">"none"</strong></span>.
f808c858fa61e7769218966759510a8b1190dfcfraf </p>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<p>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi Mode <span><strong class="command">"full"</strong></span> checks that MX records
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi refer to A or AAAA record (both in-zone and out-of-zone
f808c858fa61e7769218966759510a8b1190dfcfraf hostnames). Mode <span><strong class="command">"local"</strong></span> only
f808c858fa61e7769218966759510a8b1190dfcfraf checks MX records which refer to in-zone hostnames.
f808c858fa61e7769218966759510a8b1190dfcfraf </p>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<p>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi Mode <span><strong class="command">"full"</strong></span> checks that SRV records
f808c858fa61e7769218966759510a8b1190dfcfraf refer to A or AAAA record (both in-zone and out-of-zone
f808c858fa61e7769218966759510a8b1190dfcfraf hostnames). Mode <span><strong class="command">"local"</strong></span> only
f808c858fa61e7769218966759510a8b1190dfcfraf checks SRV records which refer to in-zone hostnames.
f808c858fa61e7769218966759510a8b1190dfcfraf </p>
12cc75c814f0c017004a9bbc96429911e008601bcindi<p>
f808c858fa61e7769218966759510a8b1190dfcfraf Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
074bb90d80fdbeb2d04a8450a55ecbc96de28785Tom Pothier records refer to A or AAAA record (both in-zone and out-of-zone
f808c858fa61e7769218966759510a8b1190dfcfraf hostnames). It also checks that glue address records
f808c858fa61e7769218966759510a8b1190dfcfraf in the zone match those advertised by the child.
f808c858fa61e7769218966759510a8b1190dfcfraf Mode <span><strong class="command">"local"</strong></span> only checks NS records which
1410cb930a3e26032c59c6835837a28c47366b3cJoshua M. Clulow refer to in-zone hostnames or that some required glue exists,
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj that is when the nameserver is in a child zone.
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj </p>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj<p>
f808c858fa61e7769218966759510a8b1190dfcfraf Mode <span><strong class="command">"full-sibling"</strong></span> and
f808c858fa61e7769218966759510a8b1190dfcfraf <span><strong class="command">"local-sibling"</strong></span> disable sibling glue
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi checks but are otherwise the same as <span><strong class="command">"full"</strong></span>
f808c858fa61e7769218966759510a8b1190dfcfraf and <span><strong class="command">"local"</strong></span> respectively.
f808c858fa61e7769218966759510a8b1190dfcfraf </p>
f808c858fa61e7769218966759510a8b1190dfcfraf<p>
e4b86885570d77af552e9cf94f142f4d744fb8c8Cheng Sean Ye Mode <span><strong class="command">"none"</strong></span> disables the checks.
f808c858fa61e7769218966759510a8b1190dfcfraf </p>
4557a2a1868181b517f5dfe61ba6eeba58edf4c0robj</dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-f <em class="replaceable"><code>format</code></em></span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
f808c858fa61e7769218966759510a8b1190dfcfraf Specify the format of the zone file.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi Possible formats are <span><strong class="command">"text"</strong></span> (default)
f808c858fa61e7769218966759510a8b1190dfcfraf and <span><strong class="command">"raw"</strong></span>.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-F <em class="replaceable"><code>format</code></em></span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi Specify the format of the output file specified.
f808c858fa61e7769218966759510a8b1190dfcfraf Possible formats are <span><strong class="command">"text"</strong></span> (default)
f808c858fa61e7769218966759510a8b1190dfcfraf and <span><strong class="command">"raw"</strong></span>.
f808c858fa61e7769218966759510a8b1190dfcfraf For <span><strong class="command">named-checkzone</strong></span>,
f808c858fa61e7769218966759510a8b1190dfcfraf this does not cause any effects unless it dumps the zone
f808c858fa61e7769218966759510a8b1190dfcfraf contents.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj<dt><span class="term">-k <em class="replaceable"><code>mode</code></em></span></dt>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dd><p>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi Perform <span><strong class="command">"check-names"</strong></span> checks with the
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi specified failure mode.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi Possible modes are <span><strong class="command">"fail"</strong></span>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi (default for <span><strong class="command">named-compilezone</strong></span>),
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi <span><strong class="command">"warn"</strong></span>
9af3851a3a831b4de34b42482c22351e14f33f16eschrock (default for <span><strong class="command">named-checkzone</strong></span>) and
c40d7343efa60b18ad1ceb316eb337caeea79046cindi <span><strong class="command">"ignore"</strong></span>.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-m <em class="replaceable"><code>mode</code></em></span></dt>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi<dd><p>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi Specify whether MX records should be checked to see if they
f808c858fa61e7769218966759510a8b1190dfcfraf are addresses. Possible modes are <span><strong class="command">"fail"</strong></span>,
f808c858fa61e7769218966759510a8b1190dfcfraf <span><strong class="command">"warn"</strong></span> (default) and
f808c858fa61e7769218966759510a8b1190dfcfraf <span><strong class="command">"ignore"</strong></span>.
f808c858fa61e7769218966759510a8b1190dfcfraf </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj Check if a MX record refers to a CNAME.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi Possible modes are <span><strong class="command">"fail"</strong></span>,
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi <span><strong class="command">"warn"</strong></span> (default) and
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi <span><strong class="command">"ignore"</strong></span>.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi </p></dd>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi<dd><p>
c40d7343efa60b18ad1ceb316eb337caeea79046cindi Specify whether NS records should be checked to see if they
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj are addresses.
e5dcf7beb7c949f9234713d5818b581ec3825443Robert Johnston Possible modes are <span><strong class="command">"fail"</strong></span>
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi (default for <span><strong class="command">named-compilezone</strong></span>),
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj <span><strong class="command">"warn"</strong></span>
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj (default for <span><strong class="command">named-checkzone</strong></span>) and
825ba0f20a74fd9c5d0d1ce2c195da2cc88a7f77robj <span><strong class="command">"ignore"</strong></span>.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
f808c858fa61e7769218966759510a8b1190dfcfraf Write zone output to <code class="filename">filename</code>.
f808c858fa61e7769218966759510a8b1190dfcfraf If <code class="filename">filename</code> is <code class="filename">-</code> then
f808c858fa61e7769218966759510a8b1190dfcfraf write to standard out.
f808c858fa61e7769218966759510a8b1190dfcfraf This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
0eb822a1c0c2bea495647510b75f77f0e57633ebcindi </p></dd>
f808c858fa61e7769218966759510a8b1190dfcfraf<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
f808c858fa61e7769218966759510a8b1190dfcfraf<dd><p>
f808c858fa61e7769218966759510a8b1190dfcfraf Specify the style of the dumped zone file.
Possible styles are <span><strong class="command">"full"</strong></span> (default)
and <span><strong class="command">"relative"</strong></span>.
The full format is most suitable for processing
automatically by a separate script.
On the other hand, the relative 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="id2658208"></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="id2658221"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkconf</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="id2658254"></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>