named-checkzone.docbook revision 561a29af8c54a216e7d30b5b4f6e0d21661654ec
f743002678eb67b99bbc29fee116b65d9530fec0wrowe<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem [<!ENTITY mdash "&#8212;">]>
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic<!--
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic - Copyright (C) 2000-2002 Internet Software Consortium.
1337c7673efc1f80f634139fbad7cbb98a0dc657ylavic -
4da61833a1cbbca94094f9653fd970582b97a72etrawick - Permission to use, copy, modify, and distribute this software for any
4da61833a1cbbca94094f9653fd970582b97a72etrawick - purpose with or without fee is hereby granted, provided that the above
4da61833a1cbbca94094f9653fd970582b97a72etrawick - copyright notice and this permission notice appear in all copies.
4da61833a1cbbca94094f9653fd970582b97a72etrawick -
4da61833a1cbbca94094f9653fd970582b97a72etrawick - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
4789804be088bcd86ae637a29cdb7fda25169521jailletc - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4789804be088bcd86ae637a29cdb7fda25169521jailletc - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
4789804be088bcd86ae637a29cdb7fda25169521jailletc - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4789804be088bcd86ae637a29cdb7fda25169521jailletc - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
e50c3026198fd496f183cda4c32a202925476778covener - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
e50c3026198fd496f183cda4c32a202925476778covener - PERFORMANCE OF THIS SOFTWARE.
e50c3026198fd496f183cda4c32a202925476778covener-->
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin
5b88c8507d5ef6d0c4cfbc78230294968175b638minfrin<!-- $Id: named-checkzone.docbook,v 1.30 2007/05/09 01:32:08 marka Exp $ -->
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic<refentry id="man.named-checkzone">
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic <refentryinfo>
6c3b9cebb551140fbb25d58bae08b539b3802133ylavic <date>June 13, 2000</date>
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic </refentryinfo>
4f29b65ab4b547ad5dbe506e2d0ff5d12ead9247ylavic
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic <refmeta>
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic <refentrytitle><application>named-checkzone</application></refentrytitle>
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic <manvolnum>8</manvolnum>
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic <refmiscinfo>BIND9</refmiscinfo>
69301145375a889e7e37caf7cc7321ac0f91801erpluem </refmeta>
69301145375a889e7e37caf7cc7321ac0f91801erpluem
69301145375a889e7e37caf7cc7321ac0f91801erpluem <docinfo>
506bfe33206b2fece40ef25f695af39dd4130facjkaluza <copyright>
506bfe33206b2fece40ef25f695af39dd4130facjkaluza <year>2004</year>
506bfe33206b2fece40ef25f695af39dd4130facjkaluza <year>2005</year>
506bfe33206b2fece40ef25f695af39dd4130facjkaluza <year>2006</year>
d58a848a016d401b965111e50ef829e1641f7834minfrin <year>2007</year>
d58a848a016d401b965111e50ef829e1641f7834minfrin <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
d58a848a016d401b965111e50ef829e1641f7834minfrin </copyright>
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf <copyright>
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf <year>2000</year>
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sf <year>2001</year>
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic <year>2002</year>
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic <holder>Internet Software Consortium.</holder>
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic </copyright>
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic </docinfo>
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic <refnamediv>
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic <refname><application>named-checkzone</application></refname>
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic <refname><application>named-compilezone</application></refname>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <refpurpose>zone file validity checking or converting tool</refpurpose>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic </refnamediv>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <refsynopsisdiv>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <cmdsynopsis>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <command>named-checkzone</command>
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic <arg><option>-d</option></arg>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <arg><option>-j</option></arg>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <arg><option>-q</option></arg>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <arg><option>-v</option></arg>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
d7205b1a86c51c27b71a2c458dc453fd53a261c1covener <arg><option>-f <replaceable class="parameter">format</replaceable></option></arg>
44ff304057225e944e220e981d434a046d14cf06covener <arg><option>-F <replaceable class="parameter">format</replaceable></option></arg>
44ff304057225e944e220e981d434a046d14cf06covener <arg><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
44ff304057225e944e220e981d434a046d14cf06covener <arg><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
44ff304057225e944e220e981d434a046d14cf06covener <arg><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
5d1ba75b8794925e67591c209085a49279791de9covener <arg><option>-M <replaceable class="parameter">mode</replaceable></option></arg>
5d1ba75b8794925e67591c209085a49279791de9covener <arg><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
5d1ba75b8794925e67591c209085a49279791de9covener <arg><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <arg><option>-S <replaceable class="parameter">mode</replaceable></option></arg>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrand <arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic <arg><option>-D</option></arg>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic <arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic <arg choice="req">zonename</arg>
caad2986f81ab263f7af41467dd622dc9add17f3ylavic <arg choice="req">filename</arg>
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletc </cmdsynopsis>
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton <cmdsynopsis>
f7317ff316c2b141feea31bddb74d5d3fa1584edjorton <command>named-compilezone</command>
2165214331e4afafca4048f66f303d0253d7b001covener <arg><option>-d</option></arg>
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem <arg><option>-j</option></arg>
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem <arg><option>-q</option></arg>
1e2d421a36999d292042a5539971070d54aa6c63ylavic <arg><option>-v</option></arg>
1e2d421a36999d292042a5539971070d54aa6c63ylavic <arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
1e2d421a36999d292042a5539971070d54aa6c63ylavic <arg><option>-C <replaceable class="parameter">mode</replaceable></option></arg>
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh <arg><option>-f <replaceable class="parameter">format</replaceable></option></arg>
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh <arg><option>-F <replaceable class="parameter">format</replaceable></option></arg>
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh <arg><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
0b67eb8568cd58bb77082703951679b42cf098actrawick <arg><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
0b67eb8568cd58bb77082703951679b42cf098actrawick <arg><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
0b67eb8568cd58bb77082703951679b42cf098actrawick <arg><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
0b67eb8568cd58bb77082703951679b42cf098actrawick <arg><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
5ef3c61605a3a021ff71f488983cb0065f8e1a79covener <arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovener <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener <arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic <arg><option>-D</option></arg>
6502b7b32f980cc2093bb3ebce37e5e4dc68fba4ylavic <arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
3060ce7f798fbda7999cd4ddf89b525d2b294185covener <arg choice="req">zonename</arg>
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic <arg choice="req">filename</arg>
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic </cmdsynopsis>
c1a63b8fad09c419c1a64f75993feb8a343a6801ylavic </refsynopsisdiv>
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc
e6b4bd1113567627ab6bb6c6a7105e1e01a7d889jailletc <refsect1>
e466c40e1801982602ee0200c9e8b61cc148742djailletc <title>DESCRIPTION</title>
e466c40e1801982602ee0200c9e8b61cc148742djailletc <para><command>named-checkzone</command>
457468b82e59d01eba00dd9d0817309c8f5e414ejim checks the syntax and integrity of a zone file. It performs the
457468b82e59d01eba00dd9d0817309c8f5e414ejim same checks as <command>named</command> does when loading a
457468b82e59d01eba00dd9d0817309c8f5e414ejim zone. This makes <command>named-checkzone</command> useful for
04983e3bd1754764eec7d6bb772fe3b0bf391771jorton checking zone files before configuring them into a name server.
04983e3bd1754764eec7d6bb772fe3b0bf391771jorton </para>
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem <para>
15660979a30d251681463de2e0584853890082accovener <command>named-compilezone</command> is similar to
15660979a30d251681463de2e0584853890082accovener <command>named-checkzone</command>, but it always dumps the
49dacedb6c387b786b7911082ff35121a45f414bcovener zone contents to a specified file in a specified format.
49dacedb6c387b786b7911082ff35121a45f414bcovener Additionally, it applies stricter check levels by default,
cfd9415521847b2f9394fad04fb701cfb955f503rjung since the dump output will be used as an actual zone file
cfd9415521847b2f9394fad04fb701cfb955f503rjung loaded by <command>named</command>.
cfd9415521847b2f9394fad04fb701cfb955f503rjung When manaully specified otherwise, the check levels must at
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe least be as strict as those specified in the
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe <command>named</command> configuration file.
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe </para>
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe </refsect1>
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe
8491e0600f69b0405e156ea8a419653c065c645bcovener <refsect1>
63b9f1f5880391261705f696d7d65507bbe9ace3covener <title>OPTIONS</title>
63b9f1f5880391261705f696d7d65507bbe9ace3covener
63b9f1f5880391261705f696d7d65507bbe9ace3covener <variablelist>
49dacedb6c387b786b7911082ff35121a45f414bcovener <varlistentry>
49dacedb6c387b786b7911082ff35121a45f414bcovener <term>-d</term>
49dacedb6c387b786b7911082ff35121a45f414bcovener <listitem>
49dacedb6c387b786b7911082ff35121a45f414bcovener <para>
3c990331fc6702119e4f5b8ba9eae3021aea5265jim Enable debugging.
3c990331fc6702119e4f5b8ba9eae3021aea5265jim </para>
3c990331fc6702119e4f5b8ba9eae3021aea5265jim </listitem>
3c990331fc6702119e4f5b8ba9eae3021aea5265jim </varlistentry>
fc42512879dd0504532f52fe5d0d0383dda96a1eniq
fc42512879dd0504532f52fe5d0d0383dda96a1eniq <varlistentry>
fc42512879dd0504532f52fe5d0d0383dda96a1eniq <term>-q</term>
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq <listitem>
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq <para>
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niq Quiet mode - exit code only.
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc </para>
983528026996668ea295be95aedb9c7a346af470ylavic </listitem>
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc </varlistentry>
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc
06b8f183140c8e02e0974e938a05078b511d1603covener <varlistentry>
06b8f183140c8e02e0974e938a05078b511d1603covener <term>-v</term>
06b8f183140c8e02e0974e938a05078b511d1603covener <listitem>
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem <para>
259878293a997ff49f5ddfc53d3739cbdc25444ecovener Print the version of the <command>named-checkzone</command>
259878293a997ff49f5ddfc53d3739cbdc25444ecovener program and exit.
259878293a997ff49f5ddfc53d3739cbdc25444ecovener </para>
259878293a997ff49f5ddfc53d3739cbdc25444ecovener </listitem>
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem </varlistentry>
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin <varlistentry>
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrin <term>-j</term>
65967d05f839dbf27cf91d91fa79585eeae19660minfrin <listitem>
65967d05f839dbf27cf91d91fa79585eeae19660minfrin <para>
65967d05f839dbf27cf91d91fa79585eeae19660minfrin When loading the zone file read the journal if it exists.
65967d05f839dbf27cf91d91fa79585eeae19660minfrin </para>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin </listitem>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin </varlistentry>
8152945ae46857b170cb227e79bb799f4fc7710dminfrin
8152945ae46857b170cb227e79bb799f4fc7710dminfrin <varlistentry>
75f5c2db254c0167a0e396254460de09b775d203trawick <term>-c <replaceable class="parameter">class</replaceable></term>
75f5c2db254c0167a0e396254460de09b775d203trawick <listitem>
75f5c2db254c0167a0e396254460de09b775d203trawick <para>
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph Specify the class of the zone. If not specified "IN" is assumed.
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph </para>
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph </listitem>
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick </varlistentry>
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick <varlistentry>
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick <term>-i <replaceable class="parameter">mode</replaceable></term>
54d750a84a175d8e338880514d440773eb986b50covener <listitem>
54d750a84a175d8e338880514d440773eb986b50covener <para>
54d750a84a175d8e338880514d440773eb986b50covener Perform post-load zone integrity checks. Possible modes are
54d750a84a175d8e338880514d440773eb986b50covener <command>"full"</command> (default),
54d750a84a175d8e338880514d440773eb986b50covener <command>"full-sibling"</command>,
54d750a84a175d8e338880514d440773eb986b50covener <command>"local"</command>,
54d750a84a175d8e338880514d440773eb986b50covener <command>"local-sibling"</command> and
54d750a84a175d8e338880514d440773eb986b50covener <command>"none"</command>.
7a3aa12f0eda24793ee26d6a179bd53132e9dae8covener </para>
54d750a84a175d8e338880514d440773eb986b50covener <para>
54d750a84a175d8e338880514d440773eb986b50covener Mode <command>"full"</command> checks that MX records
83b50288fa7d306324bba68832011ea08f5c7832covener refer to A or AAAA record (both in-zone and out-of-zone
4e30ef014533a7e93c92d88306291f5e49c9692ftrawick hostnames). Mode <command>"local"</command> only
83b50288fa7d306324bba68832011ea08f5c7832covener checks MX records which refer to in-zone hostnames.
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick </para>
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick <para>
5f066f496cd9f20a2a701255bc67d44e7cb46daetrawick Mode <command>"full"</command> checks that SRV records
2e15620d724fb8e3a5be183b917359a2fd6e9468covener refer to A or AAAA record (both in-zone and out-of-zone
2e15620d724fb8e3a5be183b917359a2fd6e9468covener hostnames). Mode <command>"local"</command> only
2e15620d724fb8e3a5be183b917359a2fd6e9468covener checks SRV records which refer to in-zone hostnames.
2e15620d724fb8e3a5be183b917359a2fd6e9468covener </para>
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener <para>
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener Mode <command>"full"</command> checks that delegation NS
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener records refer to A or AAAA record (both in-zone and out-of-zone
1b988c41ee505962781d110a3e4c2c90f1ea0aa4covener hostnames). It also checks that glue address records
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener in the zone match those advertised by the child.
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener Mode <command>"local"</command> only checks NS records which
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener refer to in-zone hostnames or that some required glue exists,
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd that is when the nameserver is in a child zone.
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd </para>
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd <para>
179565be4043d7e5f9161aa75271fa0a001866d9covener Mode <command>"full-sibling"</command> and
179565be4043d7e5f9161aa75271fa0a001866d9covener <command>"local-sibling"</command> disable sibling glue
179565be4043d7e5f9161aa75271fa0a001866d9covener checks but are otherwise the same as <command>"full"</command>
111436a32ba1254291e4883292fb116d15fe8f64covener and <command>"local"</command> respectively.
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener </para>
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener <para>
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener Mode <command>"none"</command> disables the checks.
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener </para>
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick </listitem>
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick </varlistentry>
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz <varlistentry>
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz <term>-f <replaceable class="parameter">format</replaceable></term>
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz <listitem>
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza <para>
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza Specify the format of the zone file.
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza Possible formats are <command>"text"</command> (default)
efe780dcf13b2b95effabf897d694d8f23feac74trawick and <command>"raw"</command>.
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin </para>
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin </listitem>
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin </varlistentry>
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza <varlistentry>
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza <term>-F <replaceable class="parameter">format</replaceable></term>
ba050a6f942b9fa0e81ed73437588005c569655ccovener <listitem>
ba050a6f942b9fa0e81ed73437588005c569655ccovener <para>
ba050a6f942b9fa0e81ed73437588005c569655ccovener Specify the format of the output file specified.
ba050a6f942b9fa0e81ed73437588005c569655ccovener Possible formats are <command>"text"</command> (default)
135ddda3a989215d2bedbcf1529bfb269c3eda23niq and <command>"raw"</command>.
135ddda3a989215d2bedbcf1529bfb269c3eda23niq For <command>named-checkzone</command>,
135ddda3a989215d2bedbcf1529bfb269c3eda23niq this does not cause any effects unless it dumps the zone
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh contents.
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh </para>
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh </listitem>
efe780dcf13b2b95effabf897d694d8f23feac74trawick </varlistentry>
793214f67dede32edfd9ee96c664ead04d175cbbjfclere
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin <varlistentry>
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener <term>-k <replaceable class="parameter">mode</replaceable></term>
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener <listitem>
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener <para>
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza Perform <command>"check-names"</command> checks with the
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza specified failure mode.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza Possible modes are <command>"fail"</command>
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza (default for <command>named-compilezone</command>),
56589be3d7a3e9343370df240010c6928cc78b39jkaluza <command>"warn"</command>
56589be3d7a3e9343370df240010c6928cc78b39jkaluza (default for <command>named-checkzone</command>) and
56589be3d7a3e9343370df240010c6928cc78b39jkaluza <command>"ignore"</command>.
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc </para>
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc </listitem>
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc </varlistentry>
77ca16c5676da23155311e13cee61e7eaba9fa3ejailletc
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick <varlistentry>
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick <term>-m <replaceable class="parameter">mode</replaceable></term>
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick <listitem>
4d12805e6c18253040223ea637acd6b3b3c18f60jorton <para>
4d12805e6c18253040223ea637acd6b3b3c18f60jorton Specify whether MX records should be checked to see if they
4d12805e6c18253040223ea637acd6b3b3c18f60jorton are addresses. Possible modes are <command>"fail"</command>,
85eacfc96a04547ef25aabbc06440039715084c2jorton <command>"warn"</command> (default) and
85eacfc96a04547ef25aabbc06440039715084c2jorton <command>"ignore"</command>.
e5d909f2b06bd880fb3675cd49363df981caa631trawick </para>
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener </listitem>
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener </varlistentry>
a4df2cd1e1391575a327c2a90ba4315f805a0a78covener
cb666b29f81df1d11d65002250153353568021fccovener <varlistentry>
cb666b29f81df1d11d65002250153353568021fccovener <term>-M <replaceable class="parameter">mode</replaceable></term>
cb666b29f81df1d11d65002250153353568021fccovener <listitem>
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covener <para>
1c2cab00d988fc48cbe59032cf76cc0bab20d6f7covener Check if a MX record refers to a CNAME.
6a80c3c6f4b8ea7ba5e89402b8b779b09ce020e0covener Possible modes are <command>"fail"</command>,
75a230a728338d84dcfe81edd375352f34de22d0covener <command>"warn"</command> (default) and
75a230a728338d84dcfe81edd375352f34de22d0covener <command>"ignore"</command>.
75a230a728338d84dcfe81edd375352f34de22d0covener </para>
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener </listitem>
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener </varlistentry>
1f50dc34ae069adeed20b2986e5ffdefa5c410e0covener
63a5ea80bddcc84a462e40f402b4f330e0e05411covener <varlistentry>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener <term>-n <replaceable class="parameter">mode</replaceable></term>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener <listitem>
63a5ea80bddcc84a462e40f402b4f330e0e05411covener <para>
65a4e663b82f8bce28ac22ab2edfd7502de36998sf Specify whether NS records should be checked to see if they
65a4e663b82f8bce28ac22ab2edfd7502de36998sf are addresses.
65a4e663b82f8bce28ac22ab2edfd7502de36998sf Possible modes are <command>"fail"</command>
65a4e663b82f8bce28ac22ab2edfd7502de36998sf (default for <command>named-compilezone</command>),
c7de1955eb0eaeabf7042902476397692672d549sf <command>"warn"</command>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin (default for <command>named-checkzone</command>) and
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin <command>"ignore"</command>.
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin </para>
74e7f6c55fd67b10cb400b3f6d1dc718a303d944minfrin </listitem>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin </varlistentry>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <varlistentry>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <term>-o <replaceable class="parameter">filename</replaceable></term>
a511a29faf2ff7ead3b67680154a624effb31aafminfrin <listitem>
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin <para>
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin Write zone output to <filename>filename</filename>.
63921358ef93fcb41bc71d9894221ba3d7fbb87bminfrin This is mandatory for <command>named-compilezone</command>.
deec48c67d4786bc77112ffbf3a4e70b931097edminfrin </para>
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin </listitem>
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin </varlistentry>
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin
6d601599d3d65df0410eae6e573e75b2dbfb1fb4minfrin <varlistentry>
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener <term>-s <replaceable class="parameter">style</replaceable></term>
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovener <listitem>
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsf <para>
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes Specify the style of the dumped zone file.
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes Possible styles are <command>"full"</command> (default)
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq and <command>"relative"</command>.
26c5829347f6a355c00f1ba0301d575056b69536niq The full format is most suitable for processing
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq automatically by a separate script.
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq On the other hand, the relative format is more
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq human-readable and is thus suitable for editing by hand.
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq For <command>named-checkzone</command>
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq this does not cause any effects unless it dumps the zone
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq contents.
413ee814748f37be168ff12407fa6dba0ceeabe6trawick It also does not have any meaning if the output format
c12917da693bae4028a1d5a5e8224bceed8c739dsf is not text.
c12917da693bae4028a1d5a5e8224bceed8c739dsf </para>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf </listitem>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf </varlistentry>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <varlistentry>
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf <term>-S <replaceable class="parameter">mode</replaceable></term>
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf <listitem>
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf <para>
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf Check if a SRV record refers to a CNAME.
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf Possible modes are <command>"fail"</command>,
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf <command>"warn"</command> (default) and
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf <command>"ignore"</command>.
9811aed12bbc71783d2e544ccb5fecd193843eadsf </para>
9811aed12bbc71783d2e544ccb5fecd193843eadsf </listitem>
9811aed12bbc71783d2e544ccb5fecd193843eadsf </varlistentry>
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung <varlistentry>
bd3f5647b96d378d9c75c954e3f13582af32c643sf <term>-t <replaceable class="parameter">directory</replaceable></term>
bd3f5647b96d378d9c75c954e3f13582af32c643sf <listitem>
bd3f5647b96d378d9c75c954e3f13582af32c643sf <para>
bd3f5647b96d378d9c75c954e3f13582af32c643sf Chroot to <filename>directory</filename> so that
bd3f5647b96d378d9c75c954e3f13582af32c643sf include
2a7beea91d46beb41f043a84eaad060047ee04aafabien directives in the configuration file are processed as if
2a7beea91d46beb41f043a84eaad060047ee04aafabien run by a similarly chrooted named.
2a7beea91d46beb41f043a84eaad060047ee04aafabien </para>
2a7beea91d46beb41f043a84eaad060047ee04aafabien </listitem>
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf </varlistentry>
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf <varlistentry>
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf <term>-w <replaceable class="parameter">directory</replaceable></term>
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf <listitem>
f21e9e3d0bfb7a507ecc5bc963f2159d693503d1sf <para>
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf chdir to <filename>directory</filename> so that
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf relative
f6b9c755a0b793e8a3a3aebd327ca20a86478117sf filenames in master file $INCLUDE directives work. This
132ee6ac1c26d6e8953836316ba50734eefab47bsf is similar to the directory clause in
132ee6ac1c26d6e8953836316ba50734eefab47bsf <filename>named.conf</filename>.
132ee6ac1c26d6e8953836316ba50734eefab47bsf </para>
85eacfc96a04547ef25aabbc06440039715084c2jorton </listitem>
85eacfc96a04547ef25aabbc06440039715084c2jorton </varlistentry>
85eacfc96a04547ef25aabbc06440039715084c2jorton
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <varlistentry>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <term>-D</term>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <listitem>
536d2e7cd1fdec1255b8c3bdf41fdc714c506a54trawick <para>
79c5787b92ac5f0e1cc82393816c77a006399316trawick Dump zone file in canonical format.
79c5787b92ac5f0e1cc82393816c77a006399316trawick This is always enabled for <command>named-compilezone</command>.
79c5787b92ac5f0e1cc82393816c77a006399316trawick </para>
79c5787b92ac5f0e1cc82393816c77a006399316trawick </listitem>
c967bf3bc89e8aa60dbd30d9da388e448ddc1cc4trawick </varlistentry>
79c5787b92ac5f0e1cc82393816c77a006399316trawick
79c5787b92ac5f0e1cc82393816c77a006399316trawick <varlistentry>
79c5787b92ac5f0e1cc82393816c77a006399316trawick <term>-W <replaceable class="parameter">mode</replaceable></term>
79c5787b92ac5f0e1cc82393816c77a006399316trawick <listitem>
79c5787b92ac5f0e1cc82393816c77a006399316trawick <para>
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton Specify whether to check for non-terminal wildcards.
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton Non-terminal wildcards are almost always the result of a
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton failure to understand the wildcard matching algorithm (RFC 1034).
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton Possible modes are <command>"warn"</command> (default)
536e48c08d674acac5d44929318f2ad928edc361jorton and
536e48c08d674acac5d44929318f2ad928edc361jorton <command>"ignore"</command>.
e81785da447b469da66f218b3f0244aab507958djorton </para>
e81785da447b469da66f218b3f0244aab507958djorton </listitem>
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton </varlistentry>
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton <varlistentry>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg <term>zonename</term>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg <listitem>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg <para>
53e9b27aba029b18be814df40bcf6f0428771d1efuankg The domain name of the zone being checked.
53e9b27aba029b18be814df40bcf6f0428771d1efuankg </para>
6bb524f1895f30265a1431afc460977d391cb36bsf </listitem>
6bb524f1895f30265a1431afc460977d391cb36bsf </varlistentry>
ca61ccd0c306c2c72df153688ba1b49f3eceed80sf
6bb524f1895f30265a1431afc460977d391cb36bsf <varlistentry>
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin <term>filename</term>
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin <listitem>
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin <para>
e6dd71992459d05a676b98b7963423dc5dc1e24aminfrin The name of the zone file.
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin </para>
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin </listitem>
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin </varlistentry>
23f1535d6a60817d2846bac0aea230ea475d7dccminfrin
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung </variablelist>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung </refsect1>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <refsect1>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <title>RETURN VALUES</title>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung <para><command>named-checkzone</command>
ec7520b24cd80d34d82bbcaca153cbb23cc04bc0rjung returns an exit status of 1 if
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick errors were detected and 0 otherwise.
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick </para>
0827cb14e550f6f65018431c22c2c913631c8f25kbrand </refsect1>
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick
ae600ca541efc686b34f8b1f21bd3d0741d37674covener <refsect1>
6249dfa569d3b4f1f539665b979a80c6e335d93etrawick <title>SEE ALSO</title>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding <para><citerefentry>
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding </citerefentry>,
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim <citetitle>RFC 1035</citetitle>,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding <citetitle>BIND 9 Administrator Reference Manual</citetitle>.
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim </para>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding </refsect1>
74499a117b3b2cd9666715a14f90c0e5d1a4ee8ajim
cfa64348224b66dd1c9979b809406c4d15b1c137fielding <refsect1>
<title>AUTHOR</title>
<para><corpauthor>Internet Systems Consortium</corpauthor>
</para>
</refsect1>
</refentry><!--
- Local variables:
- mode: sgml
- End:
-->