📄 named-checkzone.docbook
字号:
<listitem> <para> Specify the format of the zone file. Possible formats are <command>"text"</command> (default) and <command>"raw"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-F <replaceable class="parameter">format</replaceable></term> <listitem> <para> Specify the format of the output file specified. Possible formats are <command>"text"</command> (default) and <command>"raw"</command>. For <command>named-checkzone</command>, this does not cause any effects unless it dumps the zone contents. </para> </listitem> </varlistentry> <varlistentry> <term>-k <replaceable class="parameter">mode</replaceable></term> <listitem> <para> Perform <command>"check-names"</command> checks with the specified failure mode. Possible modes are <command>"fail"</command> (default for <command>named-compilezone</command>), <command>"warn"</command> (default for <command>named-checkzone</command>) and <command>"ignore"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-m <replaceable class="parameter">mode</replaceable></term> <listitem> <para> Specify whether MX records should be checked to see if they are addresses. Possible modes are <command>"fail"</command>, <command>"warn"</command> (default) and <command>"ignore"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-M <replaceable class="parameter">mode</replaceable></term> <listitem> <para> Check if a MX record refers to a CNAME. Possible modes are <command>"fail"</command>, <command>"warn"</command> (default) and <command>"ignore"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-n <replaceable class="parameter">mode</replaceable></term> <listitem> <para> Specify whether NS records should be checked to see if they are addresses. Possible modes are <command>"fail"</command> (default for <command>named-compilezone</command>), <command>"warn"</command> (default for <command>named-checkzone</command>) and <command>"ignore"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-o <replaceable class="parameter">filename</replaceable></term> <listitem> <para> Write zone output to <filename>filename</filename>. This is mandatory for <command>named-compilezone</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-s <replaceable class="parameter">style</replaceable></term> <listitem> <para> Specify the style of the dumped zone file. Possible styles are <command>"full"</command> (default) and <command>"relative"</command>. 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 <command>named-checkzone</command> 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. </para> </listitem> </varlistentry> <varlistentry> <term>-S <replaceable class="parameter">mode</replaceable></term> <listitem> <para> Check if a SRV record refers to a CNAME. Possible modes are <command>"fail"</command>, <command>"warn"</command> (default) and <command>"ignore"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-t <replaceable class="parameter">directory</replaceable></term> <listitem> <para> chroot to <filename>directory</filename> so that include directives in the configuration file are processed as if run by a similarly chrooted named. </para> </listitem> </varlistentry> <varlistentry> <term>-w <replaceable class="parameter">directory</replaceable></term> <listitem> <para> chdir to <filename>directory</filename> so that relative filenames in master file $INCLUDE directives work. This is similar to the directory clause in <filename>named.conf</filename>. </para> </listitem> </varlistentry> <varlistentry> <term>-D</term> <listitem> <para> Dump zone file in canonical format. This is always enabled for <command>named-compilezone</command>. </para> </listitem> </varlistentry> <varlistentry> <term>-W <replaceable class="parameter">mode</replaceable></term> <listitem> <para> 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 <command>"warn"</command> (default) and <command>"ignore"</command>. </para> </listitem> </varlistentry> <varlistentry> <term>zonename</term> <listitem> <para> The domain name of the zone being checked. </para> </listitem> </varlistentry> <varlistentry> <term>filename</term> <listitem> <para> The name of the zone file. </para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>RETURN VALUES</title> <para><command>named-checkzone</command> returns an exit status of 1 if errors were detected and 0 otherwise. </para> </refsect1> <refsect1> <title>SEE ALSO</title> <para><citerefentry> <refentrytitle>named</refentrytitle><manvolnum>8</manvolnum> </citerefentry>, <citetitle>RFC 1035</citetitle>, <citetitle>BIND 9 Administrator Reference Manual</citetitle>. </para> </refsect1> <refsect1> <title>AUTHOR</title> <para><corpauthor>Internet Systems Consortium</corpauthor> </para> </refsect1></refentry><!-- - Local variables: - mode: sgml - End:-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -