diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2006-04-05 17:36:37 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2006-04-05 17:36:37 +0000 |
commit | 0505bad000912a66c4f92c91a72202b9250e4bd5 (patch) | |
tree | 00d8701ac1f3ee5feadd765c0274e9ff0a95aeac /usr.sbin/bind/doc | |
parent | 1da54ca1fd7764e567cd4bc055abd54d602773e1 (diff) |
resolve conflicts
Diffstat (limited to 'usr.sbin/bind/doc')
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM-book.xml | 174 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch03.html | 1794 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch04.html | 1846 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch05.html | 352 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch06.html | 13729 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch07.html | 616 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch08.html | 360 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.ch09.html | 1879 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/Bv9ARM.html | 1073 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/isc.color.gif | bin | 6384 -> 0 bytes | |||
-rw-r--r-- | usr.sbin/bind/doc/arm/nominum-docbook-html.dsl.in | 148 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/nominum-docbook-print.dsl.in | 42 | ||||
-rw-r--r-- | usr.sbin/bind/doc/arm/validate.sh.in | 21 |
13 files changed, 4960 insertions, 17074 deletions
diff --git a/usr.sbin/bind/doc/arm/Bv9ARM-book.xml b/usr.sbin/bind/doc/arm/Bv9ARM-book.xml index b680405aaf5..980edcac8f4 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM-book.xml +++ b/usr.sbin/bind/doc/arm/Bv9ARM-book.xml @@ -1,24 +1,44 @@ - <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN" - "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"> - -<!-- File: $ISC: Bv9ARM-book.xml,v 1.155.2.27.2.52 2005/02/09 03:48:57 marka Exp $ --> + "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd" + [<!ENTITY mdash "—">]> +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> + +<!-- File: $ISC: Bv9ARM-book.xml,v 1.155.2.27.2.59 2005/10/10 00:22:24 marka Exp $ --> <book> <title>BIND 9 Administrator Reference Manual</title> -<bookinfo> -<copyright> -<year>2004</year> -<holder>Internet Systems Consortium, Inc. ("ISC")</holder> -</copyright> -<copyright> -<year>2000-2003</year> -<holder>Internet Software Consortium</holder> -</copyright> -</bookinfo> - - <chapter id="ch01"> + <bookinfo> + <copyright> + <year>2004</year> + <year>2005</year> + <holder>Internet Systems Consortium, Inc. ("ISC")</holder> + </copyright> + <copyright> + <year>2000</year> + <year>2001</year> + <year>2002</year> + <year>2003</year> + <holder>Internet Software Consortium.</holder> + </copyright> + </bookinfo> + + <chapter id="Bv9ARM.ch01"> <title>Introduction </title> <para>The Internet Domain Name System (<acronym>DNS</acronym>) consists of the syntax to specify the names of entities in the Internet in a hierarchical @@ -368,7 +388,7 @@ be placed inside a firewall.</para> </chapter> -<chapter id="ch02"><title><acronym>BIND</acronym> Resource Requirements</title> +<chapter id="Bv9ARM.ch02"><title><acronym>BIND</acronym> Resource Requirements</title> <sect1> <title>Hardware requirements</title> @@ -419,7 +439,7 @@ of the BIND 9 source distribution.</para> </sect1> </chapter> -<chapter id="ch03"> +<chapter id="Bv9ARM.ch03"> <title>Name Server Configuration</title> <para>In this section we provide some suggested configurations along with guidelines for their use. We also address the topic of reasonable @@ -667,6 +687,7 @@ of a server.</para> checks the syntax of a <filename>named.conf</filename> file.</para> <cmdsynopsis label="Usage"> <command>named-checkconf</command> + <arg>-jvz</arg> <arg>-t <replaceable>directory</replaceable></arg> <arg><replaceable>filename</replaceable></arg> </cmdsynopsis> @@ -734,25 +755,32 @@ of a server.</para> <listitem><para>Retransfer the given zone from the master.</para></listitem> </varlistentry> - <varlistentry><term><userinput>freeze <replaceable>zone</replaceable> + <varlistentry> <term><userinput>freeze <optional><replaceable>zone</replaceable> <optional><replaceable>class</replaceable> - <optional><replaceable>view</replaceable></optional></optional></userinput></term> - <listitem><para>Suspend updates to a dynamic zone. This allows manual + <optional><replaceable>view</replaceable></optional></optional></optional></userinput></term> + <listitem><para>Suspend updates to a dynamic zone. If no zone is specified + then all zones are suspended. This allows manual edits to be made to a zone normally updated by dynamic update. It also causes changes in the journal file to be synced into the master and the journal file to be removed. All dynamic update attempts will be refused while the zone is frozen.</para></listitem> </varlistentry> - <varlistentry><term><userinput>unfreeze <replaceable>zone</replaceable> + <varlistentry><term><userinput>thaw <optional><replaceable>zone</replaceable> <optional><replaceable>class</replaceable> - <optional><replaceable>view</replaceable></optional></optional></userinput></term> - <listitem><para>Enable updates to a frozen dynamic zone. This causes + <optional><replaceable>view</replaceable></optional></optional></optional></userinput></term> + <listitem><para>Enable updates to a frozen dynamic zone. If no zone is + specified then all frozen zones are enabled. This causes the server to reload the zone from disk, and re-enables dynamic updates - after the load has completed. After a zone is unfrozen, dynamic updates + after the load has completed. After a zone is thawed, dynamic updates will no longer be refused.</para></listitem> </varlistentry> + <varlistentry><term><userinput>notify <replaceable>zone</replaceable> + <optional><replaceable>class</replaceable> + <optional><replaceable>view</replaceable></optional></optional></userinput></term> + <listitem><para>Resend NOTIFY messages for the zone</para></listitem></varlistentry> + <varlistentry><term><userinput>reconfig</userinput></term> <listitem><para>Reload the configuration file and load new zones, but do not reload existing zone files even if they have changed. @@ -773,20 +801,21 @@ of a server.</para> <command>logging</command> section of <filename>named.conf</filename>.</para></listitem></varlistentry> - <varlistentry><term><userinput>dumpdb</userinput></term> - <listitem><para>Dump the server's caches to the dump file. </para></listitem></varlistentry> + <varlistentry><term><userinput>dumpdb <optional>-all|-cache|-zone</optional> <optional><replaceable>view ...</replaceable></optional></userinput></term> + <listitem><para>Dump the server's caches (default) and / or zones to the + dump file for the specified views. If no view is specified all + views are dumped.</para></listitem></varlistentry> - <varlistentry><term><userinput>stop</userinput></term> - <listitem><para>Stop the server, - making sure any recent changes + <varlistentry><term><userinput>stop <optional>-p</optional></userinput></term> + <listitem><para>Stop the server, making sure any recent changes made through dynamic update or IXFR are first saved to the master files - of the updated zones.</para></listitem></varlistentry> + of the updated zones. If -p is specified named's process id is returned.</para></listitem></varlistentry> - <varlistentry><term><userinput>halt</userinput></term> + <varlistentry><term><userinput>halt <optional>-p</optional></userinput></term> <listitem><para>Stop the server immediately. Recent changes made through dynamic update or IXFR are not saved to the master files, but will be rolled forward from the journal files when the server - is restarted.</para></listitem></varlistentry> + is restarted. If -p is specified named's process id is returned.</para></listitem></varlistentry> <varlistentry><term><userinput>trace</userinput></term> <listitem><para>Increment the servers debugging level by one. </para></listitem></varlistentry> @@ -801,12 +830,20 @@ of a server.</para> <varlistentry><term><userinput>flush</userinput></term> <listitem><para>Flushes the server's cache.</para></listitem></varlistentry> + <varlistentry><term><userinput>flushname</userinput> <replaceable>name</replaceable></term> + <listitem><para>Flushes the given name from the server's cache.</para></listitem></varlistentry> + <varlistentry><term><userinput>status</userinput></term> <listitem><para>Display status of the server. Note the number of zones includes the internal <command>bind/CH</command> zone and the default <command>./IN</command> hint zone if there is not a explicit root zone configured.</para></listitem></varlistentry> + <varlistentry><term><userinput>recursing</userinput></term> + <listitem><para>Dump the list of queries named is currently recursing + on. + </para></listitem></varlistentry> + </variablelist> <para>In <acronym>BIND</acronym> 9.2, <command>rndc</command> @@ -957,7 +994,7 @@ reload the database. </para></entry> </sect1> </chapter> -<chapter id="ch04"> +<chapter id="Bv9ARM.ch04"> <title>Advanced DNS Features</title> <sect1 id="notify"> @@ -1004,7 +1041,7 @@ protocol is specified in RFC 1996. <para>All changes made to a zone using dynamic update are stored in the zone's journal file. This file is automatically created by the - server when when the first dynamic update takes place. The name of + server when the first dynamic update takes place. The name of the journal file is formed by appending the extension <filename>.jnl</filename> to the name of the corresponding zone file. The journal file is in a @@ -1123,7 +1160,7 @@ to those internal hosts. With the wildcard records, the mail will be delivered to the bastion host, which can then forward it on to internal hosts.</para> <para>Here's an example of a wildcard MX record:</para> -<programlisting><literal>* IN MX 10 external1.example.com.</literal></programlisting> +<programlisting>* IN MX 10 external1.example.com.</programlisting> <para>Now that they accept mail on behalf of anything in the internal network, the bastion hosts will need to know how to deliver mail to internal hosts. In order for this to work properly, the resolvers on @@ -1620,7 +1657,7 @@ $ORIGIN 0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. </sect1> </chapter> - <chapter id="ch05"><title>The <acronym>BIND</acronym> 9 Lightweight Resolver</title> + <chapter id="Bv9ARM.ch05"><title>The <acronym>BIND</acronym> 9 Lightweight Resolver</title> <sect1><title>The Lightweight Resolver Library</title> <para>Traditionally applications have been linked with a stub resolver library that sends recursive DNS queries to a local caching name @@ -1666,7 +1703,7 @@ be configured to act as a lightweight resolver daemon using the </sect1></chapter> -<chapter id="ch06"><title><acronym>BIND</acronym> 9 Configuration Reference</title> +<chapter id="Bv9ARM.ch06"><title><acronym>BIND</acronym> 9 Configuration Reference</title> <para><acronym>BIND</acronym> 9 configuration is broadly similar to <acronym>BIND</acronym> 8; however, there are a few new areas @@ -1831,7 +1868,7 @@ which constitute an address match list can be any of the following:</para> <listitem> <simpara>a key ID, as defined by the <command>key</command> statement</simpara></listitem> <listitem> - <simpara>the name of an address match list previously defined with + <simpara>the name of an address match list defined with the <command>acl</command> statement</simpara></listitem> <listitem> <simpara>a nested address match list enclosed in braces</simpara></listitem></itemizedlist> @@ -2181,7 +2218,7 @@ installed. <para> To disable the command channel, use an empty <command>controls</command> -statement: <command>controls { };</command>. +statement: <command>controls { };</command>. </para> </sect2> @@ -2591,9 +2628,10 @@ The query log entry reports the client's IP address and port number. The query name, class and type. It also reports whether the Recursion Desired flag was set (+ if set, - if not set), EDNS was in use (E) or if the query was signed (S).</para> -<programlisting><computeroutput>client 127.0.0.1#62536: query: www.example.com IN AAAA +SE</computeroutput> -<computeroutput>client ::1#62537: query: www.example.net IN AAAA -SE</computeroutput> -</programlisting> +<para><computeroutput>client 127.0.0.1#62536: query: www.example.com IN AAAA +SE</computeroutput> +</para> +<para><computeroutput>client ::1#62537: query: www.example.net IN AAAA -SE</computeroutput> +</para> </entry> </row> <row rowsep = "0"> @@ -2724,7 +2762,7 @@ statement in the <filename>named.conf</filename> file:</para> <optional> dnssec-lookaside <replaceable>domain</replaceable> trust-anchor <replaceable>domain</replaceable>; </optional> <optional> dnssec-must-be-secure <replaceable>domain yes_or_no</replaceable>; </optional> <optional> forward ( <replaceable>only</replaceable> | <replaceable>first</replaceable> ); </optional> - <optional> forwarders { <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; <optional> <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; ... </optional> }; </optional> + <optional> forwarders { <optional> <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; ... </optional> }; </optional> <optional> dual-stack-servers <optional>port <replaceable>ip_port</replaceable></optional> { ( <replaceable>domain_name</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> | <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ) ; ... }; </optional> <optional> check-names ( <replaceable>master</replaceable> | <replaceable>slave</replaceable> | <replaceable>response</replaceable> )( <replaceable>warn</replaceable> | <replaceable>fail</replaceable> | <replaceable>ignore</replaceable> ); </optional> <optional> allow-notify { <replaceable>address_match_list</replaceable> }; </optional> @@ -2958,7 +2996,7 @@ record does) the DNSKEY RRset is deemed to be trusted. <varlistentry><term><command>dnssec-must-be-secure</command></term> <listitem><para> -Specify heirachies which must / may not be secure (signed and validated). +Specify heirarchies which must / may not be secure (signed and validated). If <userinput>yes</userinput> then named will only accept answers if they are secure. If <userinput>no</userinput> then normal dnssec validation applies @@ -3714,11 +3752,25 @@ in the configuration file.</para> except zone transfers are performed using IPv6.</para> </listitem></varlistentry> -<varlistentry><term><command>alt-transfer-source</command></term> -<listitem><para>An alternate transfer source if the one listed in -<command>transfer-source</command> fails and -<command>use-alt-transfer-source</command> is set.</para> - </listitem></varlistentry> + <varlistentry> + <term><command>alt-transfer-source</command></term> + <listitem> + <para> + An alternate transfer source if the one listed in + <command>transfer-source</command> fails and + <command>use-alt-transfer-source</command> is + set. + </para> + <note> + If you do not wish the alternate transfer source + to be used you should set + <command>use-alt-transfer-source</command> + appropriately and you should not depend upon + getting a answer back to the first refresh + query. + </note> + </listitem> + </varlistentry> <varlistentry><term><command>alt-transfer-source-v6</command></term> <listitem><para>An alternate transfer source if the one listed in @@ -4553,7 +4605,7 @@ Statement Grammar</title> <optional> delegation-only <replaceable>yes_or_no</replaceable> ; </optional> <optional> file <replaceable>string</replaceable> ; </optional> <optional> forward (<constant>only</constant>|<constant>first</constant>) ; </optional> - <optional> forwarders { <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; <optional> <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; ... </optional> }; </optional> + <optional> forwarders { <optional> <replaceable>ip_addr</replaceable> <optional>port <replaceable>ip_port</replaceable></optional> ; ... </optional> }; </optional> <optional> ixfr-base <replaceable>string</replaceable> ; </optional> <optional> ixfr-tmp-file <replaceable>string</replaceable> ; </optional> <optional> maintain-ixfr-base <replaceable>yes_or_no</replaceable> ; </optional> @@ -5539,10 +5591,10 @@ be appended to any unqualified records. When a zone is first read in there is an implicit <command>$ORIGIN</command> <<varname>zone-name</varname>><command>.</command> The current <command>$ORIGIN</command> is appended to the domain specified in the <command>$ORIGIN</command> argument if it is not absolute.</para> -<programlisting><literal>$ORIGIN example.com. -WWW CNAME MAIN-SERVER</literal></programlisting> +<programlisting>$ORIGIN example.com. +WWW CNAME MAIN-SERVER</programlisting> <para>is equivalent to</para> -<programlisting><literal>WWW.EXAMPLE.COM. CNAME MAIN-SERVER.EXAMPLE.COM.</literal></programlisting></sect3> +<programlisting>WWW.EXAMPLE.COM. CNAME MAIN-SERVER.EXAMPLE.COM.</programlisting></sect3> <sect3><title>The <command>$INCLUDE</command> Directive</title> <para>Syntax: <command>$INCLUDE</command> <replaceable>filename</replaceable> <optional> @@ -5576,17 +5628,17 @@ resource records that only differ from each other by an iterator. <command>$GENE be used to easily generate the sets of records required to support sub /24 reverse delegations described in RFC 2317: Classless IN-ADDR.ARPA delegation.</para> -<programlisting><literal>$ORIGIN 0.0.192.IN-ADDR.ARPA. +<programlisting>$ORIGIN 0.0.192.IN-ADDR.ARPA. $GENERATE 1-2 0 NS SERVER$.EXAMPLE. -$GENERATE 1-127 $ CNAME $.0</literal></programlisting> +$GENERATE 1-127 $ CNAME $.0</programlisting> <para>is equivalent to</para> -<programlisting><literal>0.0.0.192.IN-ADDR.ARPA NS SERVER1.EXAMPLE. +<programlisting>0.0.0.192.IN-ADDR.ARPA NS SERVER1.EXAMPLE. 0.0.0.192.IN-ADDR.ARPA. NS SERVER2.EXAMPLE. 1.0.0.192.IN-ADDR.ARPA. CNAME 1.0.0.0.192.IN-ADDR.ARPA. 2.0.0.192.IN-ADDR.ARPA. CNAME 2.0.0.0.192.IN-ADDR.ARPA. ... 127.0.0.192.IN-ADDR.ARPA. CNAME 127.0.0.0.192.IN-ADDR.ARPA. -</literal></programlisting> +</programlisting> <informaltable colsep = "0" rowsep = "0"> <tgroup cols = "2" colsep = "0" rowsep = "0" tgroupstyle = "3Level-table"> <colspec colname = "1" colnum = "1" colsep = "0" colwidth = "0.875in"/> @@ -5655,7 +5707,7 @@ and not part of the standard zone file format.</para> </sect2> </sect1> </chapter> -<chapter id="ch07"><title><acronym>BIND</acronym> 9 Security Considerations</title> +<chapter id="Bv9ARM.ch07"><title><acronym>BIND</acronym> 9 Security Considerations</title> <sect1 id="Access_Control_Lists"><title>Access Control Lists</title> <para>Access Control Lists (ACLs), are address match lists that you can set up and nickname for future use in <command>allow-notify</command>, @@ -5778,7 +5830,7 @@ all.</para> </sect1></chapter> -<chapter id="ch08"> +<chapter id="Bv9ARM.ch08"> <title>Troubleshooting</title> <sect1> <title>Common Problems</title> @@ -5837,7 +5889,7 @@ all.</para> to read more.</para> </sect1> </chapter> -<appendix id="ch09"> +<appendix id="Bv9ARM.ch09"> <title>Appendices</title> <sect1> <title>Acknowledgments</title> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch03.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch03.html index 37362d5daef..09c7ab466ac 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch03.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch03.html @@ -1,133 +1,79 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Name Server Configuration</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="BIND Resource Requirements" -HREF="Bv9ARM.ch02.html"><LINK -REL="NEXT" -TITLE="Advanced DNS Features" -HREF="Bv9ARM.ch04.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch02.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch04.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch03" -></A ->Chapter 3. Name Server Configuration</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->3.1. <A -HREF="Bv9ARM.ch03.html#sample_configuration" ->Sample Configurations</A -></DT -><DT ->3.2. <A -HREF="Bv9ARM.ch03.html#AEN268" ->Load Balancing</A -></DT -><DT ->3.3. <A -HREF="Bv9ARM.ch03.html#AEN345" ->Name Server Operations</A -></DT -></DL -></DIV -><P ->In this section we provide some suggested configurations along +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch03.html,v 1.26.2.5.4.11 2005/10/13 02:33:59 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 3. Name Server Configuration</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch02.html" title="Chapter 2. BIND Resource Requirements"> +<link rel="next" href="Bv9ARM.ch04.html" title="Chapter 4. Advanced DNS Features"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 3. Name Server Configuration</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch02.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch04.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch03"></a>Chapter 3. Name Server Configuration</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch03.html#sample_configuration">Sample Configurations</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2547334">A Caching-only Name Server</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2547350">An Authoritative-only Name Server</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch03.html#id2547372">Load Balancing</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch03.html#id2547656">Name Server Operations</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2547661">Tools for Use With the Name Server Daemon</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2548915">Signals</a></span></dt> +</dl></dd> +</dl> +</div> +<p>In this section we provide some suggested configurations along with guidelines for their use. We also address the topic of reasonable -option setting.</P -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="sample_configuration" ->3.1. Sample Configurations</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN257" ->3.1.1. A Caching-only Name Server</A -></H2 -><P ->The following sample configuration is appropriate for a caching-only +option setting.</p> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="sample_configuration"></a>Sample Configurations</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2547334"></a>A Caching-only Name Server</h3></div></div></div> +<p>The following sample configuration is appropriate for a caching-only name server for use by clients internal to a corporation. All queries -from outside clients are refused using the <B -CLASS="command" ->allow-query</B -> +from outside clients are refused using the <span><strong class="command">allow-query</strong></span> option. Alternatively, the same effect could be achieved using suitable -firewall rules.</P -><PRE -CLASS="programlisting" -> // Two corporate subnets we wish to allow queries from. +firewall rules.</p> +<pre class="programlisting"> +// Two corporate subnets we wish to allow queries from. acl corpnets { 192.168.4.0/24; 192.168.7.0/24; }; options { directory "/etc/namedb"; // Working directory @@ -139,29 +85,16 @@ zone "0.0.127.in-addr.arpa" { file "localhost.rev"; notify no; }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN262" ->3.1.2. An Authoritative-only Name Server</A -></H2 -><P ->This sample configuration is for an authoritative-only server -that is the master server for "<TT -CLASS="filename" ->example.com</TT ->" -and a slave for the subdomain "<TT -CLASS="filename" ->eng.example.com</TT ->".</P -><PRE -CLASS="programlisting" -> options { +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2547350"></a>An Authoritative-only Name Server</h3></div></div></div> +<p>This sample configuration is for an authoritative-only server +that is the master server for "<code class="filename">example.com</code>" +and a slave for the subdomain "<code class="filename">eng.example.com</code>".</p> +<pre class="programlisting"> +options { directory "/etc/namedb"; // Working directory allow-query { any; }; // This is the default recursion no; // Do not provide recursive service @@ -190,1070 +123,321 @@ zone "eng.example.com" { // IP address of eng.example.com master server masters { 192.168.4.12; }; }; -</PRE -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN268" ->3.2. Load Balancing</A -></H1 -><P ->A primitive form of load balancing can be achieved in -the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> by using multiple A records for one name.</P -><P ->For example, if you have three WWW servers with network addresses +</pre> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2547372"></a>Load Balancing</h2></div></div></div> +<p>A primitive form of load balancing can be achieved in +the <span class="acronym">DNS</span> by using multiple A records for one name.</p> +<p>For example, if you have three WWW servers with network addresses of 10.0.0.1, 10.0.0.2 and 10.0.0.3, a set of records such as the following means that clients will connect to each machine one third -of the time:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN273" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->Name</P -></TD -><TD -><P ->TTL</P -></TD -><TD -><P ->CLASS</P -></TD -><TD -><P ->TYPE</P -></TD -><TD -><P ->Resource Record (RR) Data</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->www</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->600</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.0.0.1</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->600</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.0.0.2</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->600</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.0.0.3</VAR -></P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->When a resolver queries for these records, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> will rotate +of the time:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>Name</p></td> +<td><p>TTL</p></td> +<td><p>CLASS</p></td> +<td><p>TYPE</p></td> +<td><p>Resource Record (RR) Data</p></td> +</tr> +<tr> +<td><p><code class="literal">www</code></p></td> +<td><p><code class="literal">600</code></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.0.0.1</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">600</code></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.0.0.2</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">600</code></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.0.0.3</code></p></td> +</tr> +</tbody> +</table></div> +<p>When a resolver queries for these records, <span class="acronym">BIND</span> will rotate them and respond to the query with the records in a different order. In the example above, clients will randomly receive records in the order 1, 2, 3; 2, 3, 1; and 3, 1, 2. Most clients - will use the first record returned and discard the rest.</P -><P ->For more detail on ordering responses, check the - <B -CLASS="command" ->rrset-order</B -> substatement in the - <B -CLASS="command" ->options</B -> statement, see - <A -HREF="Bv9ARM.ch06.html#rrset_ordering" -><I ->RRset Ordering</I -></A ->. + will use the first record returned and discard the rest.</p> +<p>For more detail on ordering responses, check the + <span><strong class="command">rrset-order</strong></span> substatement in the + <span><strong class="command">options</strong></span> statement, see + <a href="Bv9ARM.ch06.html#rrset_ordering">RRset Ordering</a>. This substatement is not supported in - <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, and only the ordering scheme described above is - available.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN345" ->3.3. Name Server Operations</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN347" ->3.3.1. Tools for Use With the Name Server Daemon</A -></H2 -><P ->There are several indispensable diagnostic, administrative + <span class="acronym">BIND</span> 9, and only the ordering scheme described above is + available.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2547656"></a>Name Server Operations</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2547661"></a>Tools for Use With the Name Server Daemon</h3></div></div></div> +<p>There are several indispensable diagnostic, administrative and monitoring tools available to the system administrator for controlling and debugging the name server daemon. We describe several in this -section </P -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="diagnostic_tools" ->3.3.1.1. Diagnostic Tools</A -></H3 -><P ->The <B -CLASS="command" ->dig</B ->, <B -CLASS="command" ->host</B ->, and -<B -CLASS="command" ->nslookup</B -> programs are all command line tools +section </p> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="diagnostic_tools"></a>Diagnostic Tools</h4></div></div></div> +<p>The <span><strong class="command">dig</strong></span>, <span><strong class="command">host</strong></span>, and +<span><strong class="command">nslookup</strong></span> programs are all command line tools for manually querying name servers. They differ in style and output format. -</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->dig</B -></DT -><DD -><P ->The domain information groper (<B -CLASS="command" ->dig</B ->) +</p> +<div class="variablelist"><dl> +<dt><span class="term"><a name="dig"></a><span><strong class="command">dig</strong></span></span></dt> +<dd> +<p>The domain information groper (<span><strong class="command">dig</strong></span>) is the most versatile and complete of these lookup tools. It has two modes: simple interactive mode for a single query, and batch mode which executes a query for each in a list of several query lines. All query options are accessible -from the command line.</P -><P -><B -CLASS="command" ->dig</B -> [@<VAR -CLASS="replaceable" ->server</VAR ->] <VAR -CLASS="replaceable" ->domain</VAR -> [<VAR -CLASS="replaceable" ->query-type</VAR ->] [<VAR -CLASS="replaceable" ->query-class</VAR ->] [+<VAR -CLASS="replaceable" ->query-option</VAR ->] [-<VAR -CLASS="replaceable" ->dig-option</VAR ->] [%<VAR -CLASS="replaceable" ->comment</VAR ->]</P -><P ->The usual simple use of dig will take the form</P -><P -><B -CLASS="command" ->dig @server domain query-type query-class</B -></P -><P ->For more information and a list of available commands and -options, see the <B -CLASS="command" ->dig</B -> man page.</P -></DD -><DT -><B -CLASS="command" ->host</B -></DT -><DD -><P ->The <B -CLASS="command" ->host</B -> utility emphasizes simplicity +from the command line.</p> +<div class="cmdsynopsis"><p><code class="command">dig</code> [@<em class="replaceable"><code>server</code></em>] <em class="replaceable"><code>domain</code></em> [<em class="replaceable"><code>query-type</code></em>] [<em class="replaceable"><code>query-class</code></em>] [+<em class="replaceable"><code>query-option</code></em>] [-<em class="replaceable"><code>dig-option</code></em>] [%<em class="replaceable"><code>comment</code></em>]</p></div> +<p>The usual simple use of dig will take the form</p> +<p><span><strong class="command">dig @server domain query-type query-class</strong></span></p> +<p>For more information and a list of available commands and +options, see the <span><strong class="command">dig</strong></span> man page.</p> +</dd> +<dt><span class="term"><span><strong class="command">host</strong></span></span></dt> +<dd> +<p>The <span><strong class="command">host</strong></span> utility emphasizes simplicity and ease of use. By default, it converts between host names and Internet addresses, but its functionality -can be extended with the use of options.</P -><P -><B -CLASS="command" ->host</B -> [-aCdlrTwv] [-c <VAR -CLASS="replaceable" ->class</VAR ->] [-N <VAR -CLASS="replaceable" ->ndots</VAR ->] [-t <VAR -CLASS="replaceable" ->type</VAR ->] [-W <VAR -CLASS="replaceable" ->timeout</VAR ->] [-R <VAR -CLASS="replaceable" ->retries</VAR ->] <VAR -CLASS="replaceable" ->hostname</VAR -> [<VAR -CLASS="replaceable" ->server</VAR ->]</P -><P ->For more information and a list of available commands and -options, see the <B -CLASS="command" ->host</B -> man page.</P -></DD -><DT -><B -CLASS="command" ->nslookup</B -></DT -><DD -><P -><B -CLASS="command" ->nslookup</B -> has two modes: interactive +can be extended with the use of options.</p> +<div class="cmdsynopsis"><p><code class="command">host</code> [-aCdlrTwv] [-c <em class="replaceable"><code>class</code></em>] [-N <em class="replaceable"><code>ndots</code></em>] [-t <em class="replaceable"><code>type</code></em>] [-W <em class="replaceable"><code>timeout</code></em>] [-R <em class="replaceable"><code>retries</code></em>] <em class="replaceable"><code>hostname</code></em> [<em class="replaceable"><code>server</code></em>]</p></div> +<p>For more information and a list of available commands and +options, see the <span><strong class="command">host</strong></span> man page.</p> +</dd> +<dt><span class="term"><span><strong class="command">nslookup</strong></span></span></dt> +<dd> +<p><span><strong class="command">nslookup</strong></span> has two modes: interactive and non-interactive. Interactive mode allows the user to query name servers for information about various hosts and domains or to print a list of hosts in a domain. Non-interactive mode is used to print just -the name and requested information for a host or domain.</P -><P -><B -CLASS="command" ->nslookup</B -> [-option...] [<VAR -CLASS="replaceable" ->host-to-find</VAR -> | - [server]]</P -><P ->Interactive mode is entered when no arguments are given (the +the name and requested information for a host or domain.</p> +<div class="cmdsynopsis"><p><code class="command">nslookup</code> [-option...] [[<em class="replaceable"><code>host-to-find</code></em>] | [- [server]]]</p></div> +<p>Interactive mode is entered when no arguments are given (the default name server will be used) or when the first argument is a hyphen (`-') and the second argument is the host name or Internet address -of a name server.</P -><P ->Non-interactive mode is used when the name or Internet address +of a name server.</p> +<p>Non-interactive mode is used when the name or Internet address of the host to be looked up is given as the first argument. The -optional second argument specifies the host name or address of a name server.</P -><P ->Due to its arcane user interface and frequently inconsistent -behavior, we do not recommend the use of <B -CLASS="command" ->nslookup</B ->. -Use <B -CLASS="command" ->dig</B -> instead.</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="admin_tools" ->3.3.1.2. Administrative Tools</A -></H3 -><P ->Administrative tools play an integral part in the management -of a server.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><A -NAME="named-checkconf" -></A -><B -CLASS="command" ->named-checkconf</B -></DT -><DD -><P ->The <B -CLASS="command" ->named-checkconf</B -> program - checks the syntax of a <TT -CLASS="filename" ->named.conf</TT -> file.</P -><P -><B -CLASS="command" ->named-checkconf</B -> [-t <VAR -CLASS="replaceable" ->directory</VAR ->] [<VAR -CLASS="replaceable" ->filename</VAR ->]</P -></DD -><DT -><A -NAME="named-checkzone" -></A -><B -CLASS="command" ->named-checkzone</B -></DT -><DD -><P ->The <B -CLASS="command" ->named-checkzone</B -> program checks a master file for - syntax and consistency.</P -><P -><B -CLASS="command" ->named-checkzone</B -> [-djqvD] [-c <VAR -CLASS="replaceable" ->class</VAR ->] [-o <VAR -CLASS="replaceable" ->output</VAR ->] [-t <VAR -CLASS="replaceable" ->directory</VAR ->] [-w <VAR -CLASS="replaceable" ->directory</VAR ->] [-k <VAR -CLASS="replaceable" ->(ignore|warn|fail)</VAR ->] [-n <VAR -CLASS="replaceable" ->(ignore|warn|fail)</VAR ->] <VAR -CLASS="replaceable" ->zone</VAR -> [<VAR -CLASS="replaceable" ->filename</VAR ->]</P -></DD -><DT -><A -NAME="rndc" -></A -><B -CLASS="command" ->rndc</B -></DT -><DD -><P ->The remote name daemon control - (<B -CLASS="command" ->rndc</B ->) program allows the system +optional second argument specifies the host name or address of a name server.</p> +<p>Due to its arcane user interface and frequently inconsistent +behavior, we do not recommend the use of <span><strong class="command">nslookup</strong></span>. +Use <span><strong class="command">dig</strong></span> instead.</p> +</dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="admin_tools"></a>Administrative Tools</h4></div></div></div> +<p>Administrative tools play an integral part in the management +of a server.</p> +<div class="variablelist"><dl> +<dt> +<a name="named-checkconf"></a><span class="term"><span><strong class="command">named-checkconf</strong></span></span> +</dt> +<dd> +<p>The <span><strong class="command">named-checkconf</strong></span> program + checks the syntax of a <code class="filename">named.conf</code> file.</p> +<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [-jvz] [-t <em class="replaceable"><code>directory</code></em>] [<em class="replaceable"><code>filename</code></em>]</p></div> +</dd> +<dt> +<a name="named-checkzone"></a><span class="term"><span><strong class="command">named-checkzone</strong></span></span> +</dt> +<dd> +<p>The <span><strong class="command">named-checkzone</strong></span> program checks a master file for + syntax and consistency.</p> +<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [-djqvD] [-c <em class="replaceable"><code>class</code></em>] [-o <em class="replaceable"><code>output</code></em>] [-t <em class="replaceable"><code>directory</code></em>] [-w <em class="replaceable"><code>directory</code></em>] [-k <em class="replaceable"><code>(ignore|warn|fail)</code></em>] [-n <em class="replaceable"><code>(ignore|warn|fail)</code></em>] <em class="replaceable"><code>zone</code></em> [<em class="replaceable"><code>filename</code></em>]</p></div> +</dd> +<dt> +<a name="rndc"></a><span class="term"><span><strong class="command">rndc</strong></span></span> +</dt> +<dd> +<p>The remote name daemon control + (<span><strong class="command">rndc</strong></span>) program allows the system administrator to control the operation of a name server. - If you run <B -CLASS="command" ->rndc</B -> without any options - it will display a usage message as follows:</P -><P -><B -CLASS="command" ->rndc</B -> [-c <VAR -CLASS="replaceable" ->config</VAR ->] [-s <VAR -CLASS="replaceable" ->server</VAR ->] [-p <VAR -CLASS="replaceable" ->port</VAR ->] [-y <VAR -CLASS="replaceable" ->key</VAR ->] <VAR -CLASS="replaceable" ->command</VAR -> [<VAR -CLASS="replaceable" ->command</VAR ->...]</P -><P -><B -CLASS="command" ->command</B -> is one of the following:</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><KBD -CLASS="userinput" ->reload</KBD -></DT -><DD -><P ->Reload configuration file and zones.</P -></DD -><DT -><KBD -CLASS="userinput" ->reload <VAR -CLASS="replaceable" ->zone</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->view</VAR -></SPAN ->]</SPAN ->]</KBD -></DT -><DD -><P ->Reload the given zone.</P -></DD -><DT -><KBD -CLASS="userinput" ->refresh <VAR -CLASS="replaceable" ->zone</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->view</VAR -></SPAN ->]</SPAN ->]</KBD -></DT -><DD -><P ->Schedule zone maintenance for the given zone.</P -></DD -><DT -><KBD -CLASS="userinput" ->retransfer <VAR -CLASS="replaceable" ->zone</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->view</VAR -></SPAN ->]</SPAN ->]</KBD -></DT -><DD -><P ->Retransfer the given zone from the master.</P -></DD -><DT -><KBD -CLASS="userinput" ->freeze <VAR -CLASS="replaceable" ->zone</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->view</VAR -></SPAN ->]</SPAN ->]</KBD -></DT -><DD -><P ->Suspend updates to a dynamic zone. This allows manual + If you run <span><strong class="command">rndc</strong></span> without any options + it will display a usage message as follows:</p> +<div class="cmdsynopsis"><p><code class="command">rndc</code> [-c <em class="replaceable"><code>config</code></em>] [-s <em class="replaceable"><code>server</code></em>] [-p <em class="replaceable"><code>port</code></em>] [-y <em class="replaceable"><code>key</code></em>] <em class="replaceable"><code>command</code></em> [<em class="replaceable"><code>command</code></em>...]</p></div> +<p><span><strong class="command">command</strong></span> is one of the following:</p> +<div class="variablelist"><dl> +<dt><span class="term"><strong class="userinput"><code>reload</code></strong></span></dt> +<dd><p>Reload configuration file and zones.</p></dd> +<dt><span class="term"><strong class="userinput"><code>reload <em class="replaceable"><code>zone</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em> + [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt> +<dd><p>Reload the given zone.</p></dd> +<dt><span class="term"><strong class="userinput"><code>refresh <em class="replaceable"><code>zone</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em> + [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt> +<dd><p>Schedule zone maintenance for the given zone.</p></dd> +<dt><span class="term"><strong class="userinput"><code>retransfer <em class="replaceable"><code>zone</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em> + [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt> +<dd><p>Retransfer the given zone from the master.</p></dd> +<dt><span class="term"><strong class="userinput"><code>freeze [<span class="optional"><em class="replaceable"><code>zone</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em> + [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</span>]</code></strong></span></dt> +<dd><p>Suspend updates to a dynamic zone. If no zone is specified + then all zones are suspended. This allows manual edits to be made to a zone normally updated by dynamic update. It also causes changes in the journal file to be synced into the master and the journal file to be removed. All dynamic update attempts will - be refused while the zone is frozen.</P -></DD -><DT -><KBD -CLASS="userinput" ->unfreeze <VAR -CLASS="replaceable" ->zone</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->view</VAR -></SPAN ->]</SPAN ->]</KBD -></DT -><DD -><P ->Enable updates to a frozen dynamic zone. This causes + be refused while the zone is frozen.</p></dd> +<dt><span class="term"><strong class="userinput"><code>thaw [<span class="optional"><em class="replaceable"><code>zone</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em> + [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</span>]</code></strong></span></dt> +<dd><p>Enable updates to a frozen dynamic zone. If no zone is + specified then all frozen zones are enabled. This causes the server to reload the zone from disk, and re-enables dynamic updates - after the load has completed. After a zone is unfrozen, dynamic updates - will no longer be refused.</P -></DD -><DT -><KBD -CLASS="userinput" ->reconfig</KBD -></DT -><DD -><P ->Reload the configuration file and load new zones, + after the load has completed. After a zone is thawed, dynamic updates + will no longer be refused.</p></dd> +<dt><span class="term"><strong class="userinput"><code>notify <em class="replaceable"><code>zone</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em> + [<span class="optional"><em class="replaceable"><code>view</code></em></span>]</span>]</code></strong></span></dt> +<dd><p>Resend NOTIFY messages for the zone</p></dd> +<dt><span class="term"><strong class="userinput"><code>reconfig</code></strong></span></dt> +<dd><p>Reload the configuration file and load new zones, but do not reload existing zone files even if they have changed. - This is faster than a full <B -CLASS="command" ->reload</B -> when there + This is faster than a full <span><strong class="command">reload</strong></span> when there is a large number of zones because it avoids the need to examine the modification times of the zones files. - </P -></DD -><DT -><KBD -CLASS="userinput" ->stats</KBD -></DT -><DD -><P ->Write server statistics to the statistics file.</P -></DD -><DT -><KBD -CLASS="userinput" ->querylog</KBD -></DT -><DD -><P ->Toggle query logging. Query logging can also be enabled - by explicitly directing the <B -CLASS="command" ->queries</B -> - <B -CLASS="command" ->category</B -> to a <B -CLASS="command" ->channel</B -> in the - <B -CLASS="command" ->logging</B -> section of - <TT -CLASS="filename" ->named.conf</TT ->.</P -></DD -><DT -><KBD -CLASS="userinput" ->dumpdb</KBD -></DT -><DD -><P ->Dump the server's caches to the dump file. </P -></DD -><DT -><KBD -CLASS="userinput" ->stop</KBD -></DT -><DD -><P ->Stop the server, - making sure any recent changes + </p></dd> +<dt><span class="term"><strong class="userinput"><code>stats</code></strong></span></dt> +<dd><p>Write server statistics to the statistics file.</p></dd> +<dt><span class="term"><strong class="userinput"><code>querylog</code></strong></span></dt> +<dd><p>Toggle query logging. Query logging can also be enabled + by explicitly directing the <span><strong class="command">queries</strong></span> + <span><strong class="command">category</strong></span> to a <span><strong class="command">channel</strong></span> in the + <span><strong class="command">logging</strong></span> section of + <code class="filename">named.conf</code>.</p></dd> +<dt><span class="term"><strong class="userinput"><code>dumpdb [<span class="optional">-all|-cache|-zone</span>] [<span class="optional"><em class="replaceable"><code>view ...</code></em></span>]</code></strong></span></dt> +<dd><p>Dump the server's caches (default) and / or zones to the + dump file for the specified views. If no view is specified all + views are dumped.</p></dd> +<dt><span class="term"><strong class="userinput"><code>stop [<span class="optional">-p</span>]</code></strong></span></dt> +<dd><p>Stop the server, making sure any recent changes made through dynamic update or IXFR are first saved to the master files - of the updated zones.</P -></DD -><DT -><KBD -CLASS="userinput" ->halt</KBD -></DT -><DD -><P ->Stop the server immediately. Recent changes + of the updated zones. If -p is specified named's process id is returned.</p></dd> +<dt><span class="term"><strong class="userinput"><code>halt [<span class="optional">-p</span>]</code></strong></span></dt> +<dd><p>Stop the server immediately. Recent changes made through dynamic update or IXFR are not saved to the master files, but will be rolled forward from the journal files when the server - is restarted.</P -></DD -><DT -><KBD -CLASS="userinput" ->trace</KBD -></DT -><DD -><P ->Increment the servers debugging level by one. </P -></DD -><DT -><KBD -CLASS="userinput" ->trace <VAR -CLASS="replaceable" ->level</VAR -></KBD -></DT -><DD -><P ->Sets the server's debugging level to an explicit - value.</P -></DD -><DT -><KBD -CLASS="userinput" ->notrace</KBD -></DT -><DD -><P ->Sets the server's debugging level to 0.</P -></DD -><DT -><KBD -CLASS="userinput" ->flush</KBD -></DT -><DD -><P ->Flushes the server's cache.</P -></DD -><DT -><KBD -CLASS="userinput" ->status</KBD -></DT -><DD -><P ->Display status of the server. -Note the number of zones includes the internal <B -CLASS="command" ->bind/CH</B -> zone -and the default <B -CLASS="command" ->./IN</B -> hint zone if there is not a -explicit root zone configured.</P -></DD -></DL -></DIV -><P ->In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9.2, <B -CLASS="command" ->rndc</B -> -supports all the commands of the BIND 8 <B -CLASS="command" ->ndc</B -> -utility except <B -CLASS="command" ->ndc start</B -> and -<B -CLASS="command" ->ndc restart</B ->, which were also -not supported in <B -CLASS="command" ->ndc</B ->'s channel mode.</P -><P ->A configuration file is required, since all + is restarted. If -p is specified named's process id is returned.</p></dd> +<dt><span class="term"><strong class="userinput"><code>trace</code></strong></span></dt> +<dd><p>Increment the servers debugging level by one. </p></dd> +<dt><span class="term"><strong class="userinput"><code>trace <em class="replaceable"><code>level</code></em></code></strong></span></dt> +<dd><p>Sets the server's debugging level to an explicit + value.</p></dd> +<dt><span class="term"><strong class="userinput"><code>notrace</code></strong></span></dt> +<dd><p>Sets the server's debugging level to 0.</p></dd> +<dt><span class="term"><strong class="userinput"><code>flush</code></strong></span></dt> +<dd><p>Flushes the server's cache.</p></dd> +<dt><span class="term"><strong class="userinput"><code>flushname</code></strong> <em class="replaceable"><code>name</code></em></span></dt> +<dd><p>Flushes the given name from the server's cache.</p></dd> +<dt><span class="term"><strong class="userinput"><code>status</code></strong></span></dt> +<dd><p>Display status of the server. +Note the number of zones includes the internal <span><strong class="command">bind/CH</strong></span> zone +and the default <span><strong class="command">./IN</strong></span> hint zone if there is not a +explicit root zone configured.</p></dd> +<dt><span class="term"><strong class="userinput"><code>recursing</code></strong></span></dt> +<dd><p>Dump the list of queries named is currently recursing + on. + </p></dd> +</dl></div> +<p>In <span class="acronym">BIND</span> 9.2, <span><strong class="command">rndc</strong></span> +supports all the commands of the BIND 8 <span><strong class="command">ndc</strong></span> +utility except <span><strong class="command">ndc start</strong></span> and +<span><strong class="command">ndc restart</strong></span>, which were also +not supported in <span><strong class="command">ndc</strong></span>'s channel mode.</p> +<p>A configuration file is required, since all communication with the server is authenticated with digital signatures that rely on a shared secret, and there is no way to provide that secret other than with a configuration file. The default location for the -<B -CLASS="command" ->rndc</B -> configuration file is -<TT -CLASS="filename" ->/etc/rndc.conf</TT ->, but an alternate -location can be specified with the <VAR -CLASS="option" ->-c</VAR -> +<span><strong class="command">rndc</strong></span> configuration file is +<code class="filename">/etc/rndc.conf</code>, but an alternate +location can be specified with the <code class="option">-c</code> option. If the configuration file is not found, -<B -CLASS="command" ->rndc</B -> will also look in -<TT -CLASS="filename" ->/etc/rndc.key</TT -> (or whatever -<VAR -CLASS="varname" ->sysconfdir</VAR -> was defined when -the <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> build was configured). -The <TT -CLASS="filename" ->rndc.key</TT -> file is generated by -running <B -CLASS="command" ->rndc-confgen -a</B -> as described in -<A -HREF="Bv9ARM.ch06.html#controls_statement_definition_and_usage" ->Section 6.2.4</A ->.</P -><P ->The format of the configuration file is similar to -that of <TT -CLASS="filename" ->named.conf</TT ->, but limited to -only four statements, the <B -CLASS="command" ->options</B ->, -<B -CLASS="command" ->key</B ->, <B -CLASS="command" ->server</B -> and -<B -CLASS="command" ->include</B -> +<span><strong class="command">rndc</strong></span> will also look in +<code class="filename">/etc/rndc.key</code> (or whatever +<code class="varname">sysconfdir</code> was defined when +the <span class="acronym">BIND</span> build was configured). +The <code class="filename">rndc.key</code> file is generated by +running <span><strong class="command">rndc-confgen -a</strong></span> as described in +<a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage" title="controls Statement Definition and Usage">the section called “<span><strong class="command">controls</strong></span> Statement Definition and Usage”</a>.</p> +<p>The format of the configuration file is similar to +that of <code class="filename">named.conf</code>, but limited to +only four statements, the <span><strong class="command">options</strong></span>, +<span><strong class="command">key</strong></span>, <span><strong class="command">server</strong></span> and +<span><strong class="command">include</strong></span> statements. These statements are what associate the secret keys to the servers with which they are meant to be shared. The order of statements is not -significant.</P -><P ->The <B -CLASS="command" ->options</B -> statement has three clauses: -<B -CLASS="command" ->default-server</B ->, <B -CLASS="command" ->default-key</B ->, -and <B -CLASS="command" ->default-port</B ->. -<B -CLASS="command" ->default-server</B -> takes a +significant.</p> +<p>The <span><strong class="command">options</strong></span> statement has three clauses: +<span><strong class="command">default-server</strong></span>, <span><strong class="command">default-key</strong></span>, +and <span><strong class="command">default-port</strong></span>. +<span><strong class="command">default-server</strong></span> takes a host name or address argument and represents the server that will -be contacted if no <VAR -CLASS="option" ->-s</VAR -> +be contacted if no <code class="option">-s</code> option is provided on the command line. -<B -CLASS="command" ->default-key</B -> takes -the name of a key as its argument, as defined by a <B -CLASS="command" ->key</B -> statement. -<B -CLASS="command" ->default-port</B -> specifies the port to which -<B -CLASS="command" ->rndc</B -> should connect if no +<span><strong class="command">default-key</strong></span> takes +the name of a key as its argument, as defined by a <span><strong class="command">key</strong></span> statement. +<span><strong class="command">default-port</strong></span> specifies the port to which +<span><strong class="command">rndc</strong></span> should connect if no port is given on the command line or in a -<B -CLASS="command" ->server</B -> statement.</P -><P ->The <B -CLASS="command" ->key</B -> statement defines an key to be used -by <B -CLASS="command" ->rndc</B -> when authenticating with -<B -CLASS="command" ->named</B ->. Its syntax is identical to the -<B -CLASS="command" ->key</B -> statement in named.conf. -The keyword <KBD -CLASS="userinput" ->key</KBD -> is +<span><strong class="command">server</strong></span> statement.</p> +<p>The <span><strong class="command">key</strong></span> statement defines an key to be used +by <span><strong class="command">rndc</strong></span> when authenticating with +<span><strong class="command">named</strong></span>. Its syntax is identical to the +<span><strong class="command">key</strong></span> statement in named.conf. +The keyword <strong class="userinput"><code>key</code></strong> is followed by a key name, which must be a valid domain name, though it need not actually be hierarchical; thus, -a string like "<KBD -CLASS="userinput" ->rndc_key</KBD ->" is a valid name. -The <B -CLASS="command" ->key</B -> statement has two clauses: -<B -CLASS="command" ->algorithm</B -> and <B -CLASS="command" ->secret</B ->. +a string like "<strong class="userinput"><code>rndc_key</code></strong>" is a valid name. +The <span><strong class="command">key</strong></span> statement has two clauses: +<span><strong class="command">algorithm</strong></span> and <span><strong class="command">secret</strong></span>. While the configuration parser will accept any string as the argument -to algorithm, currently only the string "<KBD -CLASS="userinput" ->hmac-md5</KBD ->" -has any meaning. The secret is a base-64 encoded string.</P -><P ->The <B -CLASS="command" ->server</B -> statement associates a key -defined using the <B -CLASS="command" ->key</B -> statement with a server. -The keyword <KBD -CLASS="userinput" ->server</KBD -> is followed by a -host name or address. The <B -CLASS="command" ->server</B -> statement -has two clauses: <B -CLASS="command" ->key</B -> and <B -CLASS="command" ->port</B ->. -The <B -CLASS="command" ->key</B -> clause specifies the name of the key +to algorithm, currently only the string "<strong class="userinput"><code>hmac-md5</code></strong>" +has any meaning. The secret is a base-64 encoded string.</p> +<p>The <span><strong class="command">server</strong></span> statement associates a key +defined using the <span><strong class="command">key</strong></span> statement with a server. +The keyword <strong class="userinput"><code>server</code></strong> is followed by a +host name or address. The <span><strong class="command">server</strong></span> statement +has two clauses: <span><strong class="command">key</strong></span> and <span><strong class="command">port</strong></span>. +The <span><strong class="command">key</strong></span> clause specifies the name of the key to be used when communicating with this server, and the -<B -CLASS="command" ->port</B -> clause can be used to -specify the port <B -CLASS="command" ->rndc</B -> should connect -to on the server.</P -><P ->A sample minimal configuration file is as follows:</P -><PRE -CLASS="programlisting" -> key rndc_key { +<span><strong class="command">port</strong></span> clause can be used to +specify the port <span><strong class="command">rndc</strong></span> should connect +to on the server.</p> +<p>A sample minimal configuration file is as follows:</p> +<pre class="programlisting"> +key rndc_key { algorithm "hmac-md5"; secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K"; }; @@ -1261,213 +445,81 @@ options { default-server 127.0.0.1; default-key rndc_key; }; -</PRE -><P ->This file, if installed as <TT -CLASS="filename" ->/etc/rndc.conf</TT ->, -would allow the command:</P -><P -><SAMP -CLASS="prompt" ->$ </SAMP -><KBD -CLASS="userinput" ->rndc reload</KBD -></P -><P ->to connect to 127.0.0.1 port 953 and cause the name server +</pre> +<p>This file, if installed as <code class="filename">/etc/rndc.conf</code>, +would allow the command:</p> +<p><code class="prompt">$ </code><strong class="userinput"><code>rndc reload</code></strong></p> +<p>to connect to 127.0.0.1 port 953 and cause the name server to reload, if a name server on the local machine were running with -following controls statements:</P -><PRE -CLASS="programlisting" -> controls { +following controls statements:</p> +<pre class="programlisting"> +controls { inet 127.0.0.1 allow { localhost; } keys { rndc_key; }; }; -</PRE -><P ->and it had an identical key statement for -<VAR -CLASS="literal" ->rndc_key</VAR ->.</P -><P ->Running the <B -CLASS="command" ->rndc-confgen</B -> program will -conveniently create a <TT -CLASS="filename" ->rndc.conf</TT -> +</pre> +<p>and it had an identical key statement for +<code class="literal">rndc_key</code>.</p> +<p>Running the <span><strong class="command">rndc-confgen</strong></span> program will +conveniently create a <code class="filename">rndc.conf</code> file for you, and also display the -corresponding <B -CLASS="command" ->controls</B -> statement that you need to -add to <TT -CLASS="filename" ->named.conf</TT ->. Alternatively, -you can run <B -CLASS="command" ->rndc-confgen -a</B -> to set up -a <TT -CLASS="filename" ->rndc.key</TT -> file and not modify -<TT -CLASS="filename" ->named.conf</TT -> at all. -</P -></DD -></DL -></DIV -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN689" ->3.3.2. Signals</A -></H2 -><P ->Certain UNIX signals cause the name server to take specific +corresponding <span><strong class="command">controls</strong></span> statement that you need to +add to <code class="filename">named.conf</code>. Alternatively, +you can run <span><strong class="command">rndc-confgen -a</strong></span> to set up +a <code class="filename">rndc.key</code> file and not modify +<code class="filename">named.conf</code> at all. +</p> +</dd> +</dl></div> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2548915"></a>Signals</h3></div></div></div> +<p>Certain UNIX signals cause the name server to take specific actions, as described in the following table. These signals can -be sent using the <B -CLASS="command" ->kill</B -> command.</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN693" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->SIGHUP</B -></P -></TD -><TD -><P ->Causes the server to read <TT -CLASS="filename" ->named.conf</TT -> and -reload the database. </P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->SIGTERM</B -></P -></TD -><TD -><P ->Causes the server to clean up and exit.</P -></TD -></TR -><TR -><TD -> <P -><B -CLASS="command" ->SIGINT</B -></P -> -</TD -><TD -><P ->Causes the server to clean up and exit.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch02.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch04.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> Resource Requirements</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Advanced DNS Features</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +be sent using the <span><strong class="command">kill</strong></span> command.</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">SIGHUP</strong></span></p></td> +<td><p>Causes the server to read <code class="filename">named.conf</code> and +reload the database. </p></td> +</tr> +<tr> +<td><p><span><strong class="command">SIGTERM</strong></span></p></td> +<td><p>Causes the server to clean up and exit.</p></td> +</tr> +<tr> +<td> +<p><span><strong class="command">SIGINT</strong></span></p> +</td> +<td><p>Causes the server to clean up and exit.</p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch02.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch04.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 2. <span class="acronym">BIND</span> Resource Requirements </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Chapter 4. Advanced DNS Features</td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch04.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch04.html index 8a4ab28875c..68b5ef98d57 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch04.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch04.html @@ -1,618 +1,273 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Advanced DNS Features</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="Name Server Configuration" -HREF="Bv9ARM.ch03.html"><LINK -REL="NEXT" -TITLE="The BIND 9 Lightweight Resolver" -HREF="Bv9ARM.ch05.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch03.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch05.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch04" -></A ->Chapter 4. Advanced DNS Features</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->4.1. <A -HREF="Bv9ARM.ch04.html#notify" ->Notify</A -></DT -><DT ->4.2. <A -HREF="Bv9ARM.ch04.html#dynamic_update" ->Dynamic Update</A -></DT -><DT ->4.3. <A -HREF="Bv9ARM.ch04.html#incremental_zone_transfers" ->Incremental Zone Transfers (IXFR)</A -></DT -><DT ->4.4. <A -HREF="Bv9ARM.ch04.html#AEN767" ->Split DNS</A -></DT -><DT ->4.5. <A -HREF="Bv9ARM.ch04.html#tsig" ->TSIG</A -></DT -><DT ->4.6. <A -HREF="Bv9ARM.ch04.html#AEN927" ->TKEY</A -></DT -><DT ->4.7. <A -HREF="Bv9ARM.ch04.html#AEN942" ->SIG(0)</A -></DT -><DT ->4.8. <A -HREF="Bv9ARM.ch04.html#DNSSEC" ->DNSSEC</A -></DT -><DT ->4.9. <A -HREF="Bv9ARM.ch04.html#AEN1011" ->IPv6 Support in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9</A -></DT -></DL -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="notify" ->4.1. Notify</A -></H1 -><P -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> NOTIFY is a mechanism that allows master +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch04.html,v 1.30.2.6.2.14 2005/10/13 02:33:59 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 4. Advanced DNS Features</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch03.html" title="Chapter 3. Name Server Configuration"> +<link rel="next" href="Bv9ARM.ch05.html" title="Chapter 5. The BIND 9 Lightweight Resolver"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 4. Advanced DNS Features</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch03.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch05.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch04"></a>Chapter 4. Advanced DNS Features</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#notify">Notify</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#dynamic_update">Dynamic Update</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch04.html#journal">The journal file</a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#incremental_zone_transfers">Incremental Zone Transfers (IXFR)</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2549203">Split DNS</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#tsig">TSIG</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549627">Generate Shared Keys for Each Pair of Hosts</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549830">Copying the Shared Secret to Both Machines</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549838">Informing the Servers of the Key's Existence</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549878">Instructing the Server to Use the Key</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549998">TSIG Key Based Access Control</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550042">Errors</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2550056">TKEY</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2550173">SIG(0)</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#DNSSEC">DNSSEC</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550308">Generating Keys</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550375">Signing the Zone</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550450">Configuring Servers</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2550473">IPv6 Support in <span class="acronym">BIND</span> 9</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550600">Address Lookups Using AAAA Records</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550620">Address to Name Lookups Using Nibble Format</a></span></dt> +</dl></dd> +</dl> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="notify"></a>Notify</h2></div></div></div> +<p><span class="acronym">DNS</span> NOTIFY is a mechanism that allows master servers to notify their slave servers of changes to a zone's data. In -response to a <B -CLASS="command" ->NOTIFY</B -> from a master server, the +response to a <span><strong class="command">NOTIFY</strong></span> from a master server, the slave will check to see that its version of the zone is the -current version and, if not, initiate a zone transfer.</P -><P -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> +current version and, if not, initiate a zone transfer.</p> +<p><span class="acronym">DNS</span> For more information about -<B -CLASS="command" ->NOTIFY</B ->, see the description of the -<B -CLASS="command" ->notify</B -> option in <A -HREF="Bv9ARM.ch06.html#boolean_options" ->Section 6.2.16.1</A -> and -the description of the zone option <B -CLASS="command" ->also-notify</B -> in -<A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->. The <B -CLASS="command" ->NOTIFY</B -> +<span><strong class="command">NOTIFY</strong></span>, see the description of the +<span><strong class="command">notify</strong></span> option in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called “Boolean Options”</a> and +the description of the zone option <span><strong class="command">also-notify</strong></span> in +<a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>. The <span><strong class="command">NOTIFY</strong></span> protocol is specified in RFC 1996. -</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="dynamic_update" ->4.2. Dynamic Update</A -></H1 -><P ->Dynamic Update is a method for adding, replacing or deleting +</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="dynamic_update"></a>Dynamic Update</h2></div></div></div> +<p>Dynamic Update is a method for adding, replacing or deleting records in a master server by sending it a special form of DNS messages. The format and meaning of these messages is specified - in RFC 2136.</P -><P ->Dynamic update is enabled on a zone-by-zone basis, by - including an <B -CLASS="command" ->allow-update</B -> or - <B -CLASS="command" ->update-policy</B -> clause in the - <B -CLASS="command" ->zone</B -> statement.</P -><P ->Updating of secure zones (zones using DNSSEC) follows + in RFC 2136.</p> +<p>Dynamic update is enabled on a zone-by-zone basis, by + including an <span><strong class="command">allow-update</strong></span> or + <span><strong class="command">update-policy</strong></span> clause in the + <span><strong class="command">zone</strong></span> statement.</p> +<p>Updating of secure zones (zones using DNSSEC) follows RFC 3007: RRSIG and NSEC records affected by updates are automatically regenerated by the server using an online zone key. Update authorization is based - on transaction signatures and an explicit server policy.</P -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="journal" ->4.2.1. The journal file</A -></H2 -><P ->All changes made to a zone using dynamic update are stored in the + on transaction signatures and an explicit server policy.</p> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="journal"></a>The journal file</h3></div></div></div> +<p>All changes made to a zone using dynamic update are stored in the zone's journal file. This file is automatically created by the - server when when the first dynamic update takes place. The name of + server when the first dynamic update takes place. The name of the journal file is formed by appending the - extension <TT -CLASS="filename" ->.jnl</TT -> to the + extension <code class="filename">.jnl</code> to the name of the corresponding zone file. The journal file is in a - binary format and should not be edited manually.</P -><P ->The server will also occasionally write ("dump") + binary format and should not be edited manually.</p> +<p>The server will also occasionally write ("dump") the complete contents of the updated zone to its zone file. This is not done immediately after each dynamic update, because that would be too slow when a large zone is updated frequently. Instead, the dump is delayed by - up to 15 minutes, allowing additional updates to take place.</P -><P ->When a server is restarted after a shutdown or crash, it will replay + up to 15 minutes, allowing additional updates to take place.</p> +<p>When a server is restarted after a shutdown or crash, it will replay the journal file to incorporate into the zone any updates that took - place after the last zone dump.</P -><P ->Changes that result from incoming incremental zone transfers are also - journalled in a similar way.</P -><P ->The zone files of dynamic zones cannot normally be edited by + place after the last zone dump.</p> +<p>Changes that result from incoming incremental zone transfers are also + journalled in a similar way.</p> +<p>The zone files of dynamic zones cannot normally be edited by hand because they are not guaranteed to contain the most recent dynamic changes - those are only in the journal file. The only way to ensure that the zone file of a dynamic zone - is up to date is to run <B -CLASS="command" ->rndc stop</B ->.</P -><P ->If you have to make changes to a dynamic zone + is up to date is to run <span><strong class="command">rndc stop</strong></span>.</p> +<p>If you have to make changes to a dynamic zone manually, the following procedure will work: Disable dynamic updates to the zone using - <B -CLASS="command" ->rndc freeze <VAR -CLASS="replaceable" ->zone</VAR -></B ->. - This will also remove the zone's <TT -CLASS="filename" ->.jnl</TT -> file + <span><strong class="command">rndc freeze <em class="replaceable"><code>zone</code></em></strong></span>. + This will also remove the zone's <code class="filename">.jnl</code> file and update the master file. Edit the zone file. Run - <B -CLASS="command" ->rndc unfreeze <VAR -CLASS="replaceable" ->zone</VAR -></B -> - to reload the changed zone and re-enable dynamic updates.</P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="incremental_zone_transfers" ->4.3. Incremental Zone Transfers (IXFR)</A -></H1 -><P ->The incremental zone transfer (IXFR) protocol is a way for + <span><strong class="command">rndc unfreeze <em class="replaceable"><code>zone</code></em></strong></span> + to reload the changed zone and re-enable dynamic updates.</p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="incremental_zone_transfers"></a>Incremental Zone Transfers (IXFR)</h2></div></div></div> +<p>The incremental zone transfer (IXFR) protocol is a way for slave servers to transfer only changed data, instead of having to transfer the entire zone. The IXFR protocol is specified in RFC -1995. See <A -HREF="Bv9ARM.ch09.html#proposed_standards" ->Proposed Standards</A ->.</P -><P ->When acting as a master, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 +1995. See <a href="Bv9ARM.ch09.html#proposed_standards">Proposed Standards</a>.</p> +<p>When acting as a master, <span class="acronym">BIND</span> 9 supports IXFR for those zones where the necessary change history information is available. These include master zones maintained by dynamic update and slave zones whose data was obtained by IXFR. For manually maintained master zones, and for slave zones obtained by performing a full zone transfer (AXFR), IXFR is supported only if the option -<B -CLASS="command" ->ixfr-from-differences</B -> is set -to <KBD -CLASS="userinput" ->yes</KBD ->. -</P -><P ->When acting as a slave, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 will +<span><strong class="command">ixfr-from-differences</strong></span> is set +to <strong class="userinput"><code>yes</code></strong>. +</p> +<p>When acting as a slave, <span class="acronym">BIND</span> 9 will attempt to use IXFR unless it is explicitly disabled. For more information about disabling -IXFR, see the description of the <B -CLASS="command" ->request-ixfr</B -> clause -of the <B -CLASS="command" ->server</B -> statement.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN767" ->4.4. Split DNS</A -></H1 -><P ->Setting up different views, or visibility, of the DNS space to -internal and external resolvers is usually referred to as a <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Split -DNS</I -></SPAN -> setup. There are several reasons an organization -would want to set up its DNS this way.</P -><P ->One common reason for setting up a DNS system this way is +IXFR, see the description of the <span><strong class="command">request-ixfr</strong></span> clause +of the <span><strong class="command">server</strong></span> statement.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2549203"></a>Split DNS</h2></div></div></div> +<p>Setting up different views, or visibility, of the DNS space to +internal and external resolvers is usually referred to as a <span class="emphasis"><em>Split +DNS</em></span> setup. There are several reasons an organization +would want to set up its DNS this way.</p> +<p>One common reason for setting up a DNS system this way is to hide "internal" DNS information from "external" clients on the Internet. There is some debate as to whether or not this is actually useful. Internal DNS information leaks out in many ways (via email headers, for example) and most savvy "attackers" can find the information -they need using other means.</P -><P ->Another common reason for setting up a Split DNS system is +they need using other means.</p> +<p>Another common reason for setting up a Split DNS system is to allow internal networks that are behind filters or in RFC 1918 space (reserved IP space, as documented in RFC 1918) to resolve DNS on the Internet. Split DNS can also be used to allow mail from outside -back in to the internal network.</P -><P ->Here is an example of a split DNS setup:</P -><P ->Let's say a company named <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Example, Inc.</I -></SPAN -> -(<VAR -CLASS="literal" ->example.com</VAR ->) +back in to the internal network.</p> +<p>Here is an example of a split DNS setup:</p> +<p>Let's say a company named <span class="emphasis"><em>Example, Inc.</em></span> +(<code class="literal">example.com</code>) has several corporate sites that have an internal network with reserved Internet Protocol (IP) space and an external demilitarized zone (DMZ), -or "outside" section of a network, that is available to the public.</P -><P -><SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Example, Inc.</I -></SPAN -> wants its internal clients +or "outside" section of a network, that is available to the public.</p> +<p><span class="emphasis"><em>Example, Inc.</em></span> wants its internal clients to be able to resolve external hostnames and to exchange mail with people on the outside. The company also wants its internal resolvers to have access to certain internal-only zones that are not available -at all outside of the internal network.</P -><P ->In order to accomplish this, the company will set up two sets +at all outside of the internal network.</p> +<p>In order to accomplish this, the company will set up two sets of name servers. One set will be on the inside network (in the reserved IP space) and the other set will be on bastion hosts, which are "proxy" -hosts that can talk to both sides of its network, in the DMZ.</P -><P ->The internal servers will be configured to forward all queries, -except queries for <TT -CLASS="filename" ->site1.internal</TT ->, <TT -CLASS="filename" ->site2.internal</TT ->, <TT -CLASS="filename" ->site1.example.com</TT ->, -and <TT -CLASS="filename" ->site2.example.com</TT ->, to the servers in the +hosts that can talk to both sides of its network, in the DMZ.</p> +<p>The internal servers will be configured to forward all queries, +except queries for <code class="filename">site1.internal</code>, <code class="filename">site2.internal</code>, <code class="filename">site1.example.com</code>, +and <code class="filename">site2.example.com</code>, to the servers in the DMZ. These internal servers will have complete sets of information -for <TT -CLASS="filename" ->site1.example.com</TT ->, <TT -CLASS="filename" ->site2.example.com</TT ->,<SPAN -CLASS="emphasis" -><I -CLASS="emphasis" -> </I -></SPAN -><TT -CLASS="filename" ->site1.internal</TT ->, -and <TT -CLASS="filename" ->site2.internal</TT ->.</P -><P ->To protect the <TT -CLASS="filename" ->site1.internal</TT -> and <TT -CLASS="filename" ->site2.internal</TT -> domains, +for <code class="filename">site1.example.com</code>, <code class="filename">site2.example.com</code>,<span class="emphasis"><em> </em></span><code class="filename">site1.internal</code>, +and <code class="filename">site2.internal</code>.</p> +<p>To protect the <code class="filename">site1.internal</code> and <code class="filename">site2.internal</code> domains, the internal name servers must be configured to disallow all queries to these domains from any external hosts, including the bastion -hosts.</P -><P ->The external servers, which are on the bastion hosts, will -be configured to serve the "public" version of the <TT -CLASS="filename" ->site1</TT -> and <TT -CLASS="filename" ->site2.example.com</TT -> zones. +hosts.</p> +<p>The external servers, which are on the bastion hosts, will +be configured to serve the "public" version of the <code class="filename">site1</code> and <code class="filename">site2.example.com</code> zones. This could include things such as the host records for public servers -(<TT -CLASS="filename" ->www.example.com</TT -> and <TT -CLASS="filename" ->ftp.example.com</TT ->), -and mail exchange (MX) records (<TT -CLASS="filename" ->a.mx.example.com</TT -> and <TT -CLASS="filename" ->b.mx.example.com</TT ->).</P -><P ->In addition, the public <TT -CLASS="filename" ->site1</TT -> and <TT -CLASS="filename" ->site2.example.com</TT -> zones +(<code class="filename">www.example.com</code> and <code class="filename">ftp.example.com</code>), +and mail exchange (MX) records (<code class="filename">a.mx.example.com</code> and <code class="filename">b.mx.example.com</code>).</p> +<p>In addition, the public <code class="filename">site1</code> and <code class="filename">site2.example.com</code> zones should have special MX records that contain wildcard (`*') records pointing to the bastion hosts. This is needed because external mail servers do not have any other way of looking up how to deliver mail to those internal hosts. With the wildcard records, the mail will be delivered to the bastion host, which can then forward it on to -internal hosts.</P -><P ->Here's an example of a wildcard MX record:</P -><PRE -CLASS="programlisting" -><VAR -CLASS="literal" ->* IN MX 10 external1.example.com.</VAR -></PRE -><P ->Now that they accept mail on behalf of anything in the internal +internal hosts.</p> +<p>Here's an example of a wildcard MX record:</p> +<pre class="programlisting">* IN MX 10 external1.example.com.</pre> +<p>Now that they accept mail on behalf of anything in the internal network, the bastion hosts will need to know how to deliver mail to internal hosts. In order for this to work properly, the resolvers on the bastion hosts will need to be configured to point to the internal -name servers for DNS resolution.</P -><P ->Queries for internal hostnames will be answered by the internal +name servers for DNS resolution.</p> +<p>Queries for internal hostnames will be answered by the internal servers, and queries for external hostnames will be forwarded back -out to the DNS servers on the bastion hosts.</P -><P ->In order for all this to work properly, internal clients will -need to be configured to query <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->only</I -></SPAN -> the internal +out to the DNS servers on the bastion hosts.</p> +<p>In order for all this to work properly, internal clients will +need to be configured to query <span class="emphasis"><em>only</em></span> the internal name servers for DNS queries. This could also be enforced via selective -filtering on the network.</P -><P ->If everything has been set properly, <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Example, Inc.</I -></SPAN ->'s -internal clients will now be able to:</P -><P -></P -><UL -><LI -><P ->Look up any hostnames in the <VAR -CLASS="literal" ->site1</VAR -> and -<VAR -CLASS="literal" ->site2.example.com</VAR -> zones.</P -></LI -><LI -><P ->Look up any hostnames in the <VAR -CLASS="literal" ->site1.internal</VAR -> and -<VAR -CLASS="literal" ->site2.internal</VAR -> domains.</P -></LI -><LI -><P ->Look up any hostnames on the Internet.</P -></LI -><LI -><P ->Exchange mail with internal AND external people.</P -></LI -></UL -><P ->Hosts on the Internet will be able to:</P -><P -></P -><UL -><LI -><P ->Look up any hostnames in the <VAR -CLASS="literal" ->site1</VAR -> and -<VAR -CLASS="literal" ->site2.example.com</VAR -> zones.</P -></LI -><LI -><P ->Exchange mail with anyone in the <VAR -CLASS="literal" ->site1</VAR -> and -<VAR -CLASS="literal" ->site2.example.com</VAR -> zones.</P -></LI -></UL -><P ->Here is an example configuration for the setup we just +filtering on the network.</p> +<p>If everything has been set properly, <span class="emphasis"><em>Example, Inc.</em></span>'s +internal clients will now be able to:</p> +<div class="itemizedlist"><ul type="disc"> +<li>Look up any hostnames in the <code class="literal">site1</code> and +<code class="literal">site2.example.com</code> zones.</li> +<li>Look up any hostnames in the <code class="literal">site1.internal</code> and +<code class="literal">site2.internal</code> domains.</li> +<li>Look up any hostnames on the Internet.</li> +<li>Exchange mail with internal AND external people.</li> +</ul></div> +<p>Hosts on the Internet will be able to:</p> +<div class="itemizedlist"><ul type="disc"> +<li>Look up any hostnames in the <code class="literal">site1</code> and +<code class="literal">site2.example.com</code> zones.</li> +<li>Exchange mail with anyone in the <code class="literal">site1</code> and +<code class="literal">site2.example.com</code> zones.</li> +</ul></div> +<p>Here is an example configuration for the setup we just described above. Note that this is only configuration information; - for information on how to configure your zone files, see <A -HREF="Bv9ARM.ch03.html#sample_configuration" ->Section 3.1</A -></P -><P ->Internal DNS server config:</P -><PRE -CLASS="programlisting" -> + for information on how to configure your zone files, see <a href="Bv9ARM.ch03.html#sample_configuration" title="Sample Configurations">the section called “Sample Configurations”</a></p> +<p>Internal DNS server config:</p> +<pre class="programlisting"> + acl internals { 172.16.72.0/24; 192.168.1.0/24; }; -acl externals { <VAR -CLASS="varname" ->bastion-ips-go-here</VAR ->; }; +acl externals { <code class="varname">bastion-ips-go-here</code>; }; options { ... ... forward only; forwarders { // forward to external servers - <VAR -CLASS="varname" ->bastion-ips-go-here</VAR ->; + <code class="varname">bastion-ips-go-here</code>; }; allow-transfer { none; }; // sample allow-transfer (no one) allow-query { internals; externals; }; // restrict query access @@ -655,12 +310,10 @@ zone "site2.internal" { allow-query { internals }; allow-transfer { internals; } }; -</PRE -><P ->External (bastion host) DNS server config:</P -><PRE -CLASS="programlisting" -> acl internals { 172.16.72.0/24; 192.168.1.0/24; }; +</pre> +<p>External (bastion host) DNS server config:</p> +<pre class="programlisting"> +acl internals { 172.16.72.0/24; 192.168.1.0/24; }; acl externals { bastion-ips-go-here; }; @@ -688,367 +341,147 @@ zone "site2.example.com" { allow-query { any; }; allow-transfer { internals; externals; } }; -</PRE -><P ->In the <TT -CLASS="filename" ->resolv.conf</TT -> (or equivalent) on -the bastion host(s):</P -><PRE -CLASS="programlisting" -> search ... +</pre> +<p>In the <code class="filename">resolv.conf</code> (or equivalent) on +the bastion host(s):</p> +<pre class="programlisting"> +search ... nameserver 172.16.72.2 nameserver 172.16.72.3 nameserver 172.16.72.4 -</PRE -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="tsig" ->4.5. TSIG</A -></H1 -><P ->This is a short guide to setting up Transaction SIGnatures -(TSIG) based transaction security in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->. It describes changes +</pre> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="tsig"></a>TSIG</h2></div></div></div> +<p>This is a short guide to setting up Transaction SIGnatures +(TSIG) based transaction security in <span class="acronym">BIND</span>. It describes changes to the configuration file as well as what changes are required for different features, including the process of creating transaction -keys and using transaction signatures with <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->.</P -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> primarily supports TSIG for server to server communication. +keys and using transaction signatures with <span class="acronym">BIND</span>.</p> +<p><span class="acronym">BIND</span> primarily supports TSIG for server to server communication. This includes zone transfer, notify, and recursive query messages. -Resolvers based on newer versions of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 have limited support -for TSIG.</P -><P ->TSIG might be most useful for dynamic update. A primary +Resolvers based on newer versions of <span class="acronym">BIND</span> 8 have limited support +for TSIG.</p> +<p>TSIG might be most useful for dynamic update. A primary server for a dynamic zone should use access control to control updates, but IP-based access control is insufficient. The cryptographic access control provided by TSIG - is far superior. The <B -CLASS="command" ->nsupdate</B -> - program supports TSIG via the <VAR -CLASS="option" ->-k</VAR -> and - <VAR -CLASS="option" ->-y</VAR -> command line options.</P -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN858" ->4.5.1. Generate Shared Keys for Each Pair of Hosts</A -></H2 -><P ->A shared secret is generated to be shared between <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN -> and <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host2</I -></SPAN ->. + is far superior. The <span><strong class="command">nsupdate</strong></span> + program supports TSIG via the <code class="option">-k</code> and + <code class="option">-y</code> command line options.</p> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2549627"></a>Generate Shared Keys for Each Pair of Hosts</h3></div></div></div> +<p>A shared secret is generated to be shared between <span class="emphasis"><em>host1</em></span> and <span class="emphasis"><em>host2</em></span>. An arbitrary key name is chosen: "host1-host2.". The key name must -be the same on both hosts.</P -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN863" ->4.5.1.1. Automatic Generation</A -></H3 -><P ->The following command will generate a 128 bit (16 byte) HMAC-MD5 +be the same on both hosts.</p> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2549643"></a>Automatic Generation</h4></div></div></div> +<p>The following command will generate a 128 bit (16 byte) HMAC-MD5 key as described above. Longer keys are better, but shorter keys are easier to read. Note that the maximum key length is 512 bits; keys longer than that will be digested with MD5 to produce a 128 -bit key.</P -><P -><KBD -CLASS="userinput" ->dnssec-keygen -a hmac-md5 -b 128 -n HOST host1-host2.</KBD -></P -><P ->The key is in the file <TT -CLASS="filename" ->Khost1-host2.+157+00000.private</TT ->. +bit key.</p> +<p><strong class="userinput"><code>dnssec-keygen -a hmac-md5 -b 128 -n HOST host1-host2.</code></strong></p> +<p>The key is in the file <code class="filename">Khost1-host2.+157+00000.private</code>. Nothing directly uses this file, but the base-64 encoded string -following "<VAR -CLASS="literal" ->Key:</VAR ->" -can be extracted from the file and used as a shared secret:</P -><PRE -CLASS="programlisting" ->Key: La/E5CjG9O+os1jq0a2jdA==</PRE -><P ->The string "<VAR -CLASS="literal" ->La/E5CjG9O+os1jq0a2jdA==</VAR ->" can -be used as the shared secret.</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN874" ->4.5.1.2. Manual Generation</A -></H3 -><P ->The shared secret is simply a random sequence of bits, encoded +following "<code class="literal">Key:</code>" +can be extracted from the file and used as a shared secret:</p> +<pre class="programlisting">Key: La/E5CjG9O+os1jq0a2jdA==</pre> +<p>The string "<code class="literal">La/E5CjG9O+os1jq0a2jdA==</code>" can +be used as the shared secret.</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2549677"></a>Manual Generation</h4></div></div></div> +<p>The shared secret is simply a random sequence of bits, encoded in base-64. Most ASCII strings are valid base-64 strings (assuming the length is a multiple of 4 and only valid characters are used), -so the shared secret can be manually generated.</P -><P ->Also, a known string can be run through <B -CLASS="command" ->mmencode</B -> or -a similar program to generate base-64 encoded data.</P -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN879" ->4.5.2. Copying the Shared Secret to Both Machines</A -></H2 -><P ->This is beyond the scope of DNS. A secure transport mechanism -should be used. This could be secure FTP, ssh, telephone, etc.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN882" ->4.5.3. Informing the Servers of the Key's Existence</A -></H2 -><P ->Imagine <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN -> and <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host 2</I -></SPAN -> are -both servers. The following is added to each server's <TT -CLASS="filename" ->named.conf</TT -> file:</P -><PRE -CLASS="programlisting" -> key host1-host2. { +so the shared secret can be manually generated.</p> +<p>Also, a known string can be run through <span><strong class="command">mmencode</strong></span> or +a similar program to generate base-64 encoded data.</p> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2549830"></a>Copying the Shared Secret to Both Machines</h3></div></div></div> +<p>This is beyond the scope of DNS. A secure transport mechanism +should be used. This could be secure FTP, ssh, telephone, etc.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2549838"></a>Informing the Servers of the Key's Existence</h3></div></div></div> +<p>Imagine <span class="emphasis"><em>host1</em></span> and <span class="emphasis"><em>host 2</em></span> are +both servers. The following is added to each server's <code class="filename">named.conf</code> file:</p> +<pre class="programlisting"> +key host1-host2. { algorithm hmac-md5; secret "La/E5CjG9O+os1jq0a2jdA=="; }; -</PRE -><P ->The algorithm, hmac-md5, is the only one supported by <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->. +</pre> +<p>The algorithm, hmac-md5, is the only one supported by <span class="acronym">BIND</span>. The secret is the one generated above. Since this is a secret, it -is recommended that either <TT -CLASS="filename" ->named.conf</TT -> be non-world +is recommended that either <code class="filename">named.conf</code> be non-world readable, or the key directive be added to a non-world readable -file that is included by <TT -CLASS="filename" ->named.conf</TT ->.</P -><P ->At this point, the key is recognized. This means that if the +file that is included by <code class="filename">named.conf</code>.</p> +<p>At this point, the key is recognized. This means that if the server receives a message signed by this key, it can verify the signature. If the signature is successfully verified, the -response is signed by the same key.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN894" ->4.5.4. Instructing the Server to Use the Key</A -></H2 -><P ->Since keys are shared between two hosts only, the server must -be told when keys are to be used. The following is added to the <TT -CLASS="filename" ->named.conf</TT -> file -for <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN ->, if the IP address of <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host2</I -></SPAN -> is -10.1.2.3:</P -><PRE -CLASS="programlisting" -> server 10.1.2.3 { +response is signed by the same key.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2549878"></a>Instructing the Server to Use the Key</h3></div></div></div> +<p>Since keys are shared between two hosts only, the server must +be told when keys are to be used. The following is added to the <code class="filename">named.conf</code> file +for <span class="emphasis"><em>host1</em></span>, if the IP address of <span class="emphasis"><em>host2</em></span> is +10.1.2.3:</p> +<pre class="programlisting"> +server 10.1.2.3 { keys { host1-host2. ;}; }; -</PRE -><P ->Multiple keys may be present, but only the first is used. +</pre> +<p>Multiple keys may be present, but only the first is used. This directive does not contain any secrets, so it may be in a world-readable -file.</P -><P ->If <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN -> sends a message that is a request -to that address, the message will be signed with the specified key. <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN -> will +file.</p> +<p>If <span class="emphasis"><em>host1</em></span> sends a message that is a request +to that address, the message will be signed with the specified key. <span class="emphasis"><em>host1</em></span> will expect any responses to signed messages to be signed with the same -key.</P -><P ->A similar statement must be present in <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host2</I -></SPAN ->'s -configuration file (with <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN ->'s address) for <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host2</I -></SPAN -> to -sign request messages to <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->host1</I -></SPAN ->.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN910" ->4.5.5. TSIG Key Based Access Control</A -></H2 -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> allows IP addresses and ranges to be specified in ACL +key.</p> +<p>A similar statement must be present in <span class="emphasis"><em>host2</em></span>'s +configuration file (with <span class="emphasis"><em>host1</em></span>'s address) for <span class="emphasis"><em>host2</em></span> to +sign request messages to <span class="emphasis"><em>host1</em></span>.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2549998"></a>TSIG Key Based Access Control</h3></div></div></div> +<p><span class="acronym">BIND</span> allows IP addresses and ranges to be specified in ACL definitions and -<B -CLASS="command" ->allow-{ query | transfer | update }</B -> directives. +<span><strong class="command">allow-{ query | transfer | update }</strong></span> directives. This has been extended to allow TSIG keys also. The above key would -be denoted <B -CLASS="command" ->key host1-host2.</B -></P -><P ->An example of an allow-update directive would be:</P -><PRE -CLASS="programlisting" -> allow-update { key host1-host2. ;}; -</PRE -><P ->This allows dynamic updates to succeed only if the request +be denoted <span><strong class="command">key host1-host2.</strong></span></p> +<p>An example of an allow-update directive would be:</p> +<pre class="programlisting"> +allow-update { key host1-host2. ;}; +</pre> +<p>This allows dynamic updates to succeed only if the request was signed by a key named - "<B -CLASS="command" ->host1-host2.</B ->".</P -><P ->You may want to read about the more - powerful <B -CLASS="command" ->update-policy</B -> statement in <A -HREF="Bv9ARM.ch06.html#dynamic_update_policies" ->Section 6.2.24.4</A ->.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN923" ->4.5.6. Errors</A -></H2 -><P ->The processing of TSIG signed messages can result in + "<span><strong class="command">host1-host2.</strong></span>".</p> +<p>You may want to read about the more + powerful <span><strong class="command">update-policy</strong></span> statement in <a href="Bv9ARM.ch06.html#dynamic_update_policies" title="Dynamic Update Policies">the section called “Dynamic Update Policies”</a>.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2550042"></a>Errors</h3></div></div></div> +<p>The processing of TSIG signed messages can result in several errors. If a signed message is sent to a non-TSIG aware server, a FORMERR will be returned, since the server will not understand the record. This is a result of misconfiguration, since the server must be explicitly configured to send a TSIG - signed message to a specific server.</P -><P ->If a TSIG aware server receives a message signed by an + signed message to a specific server.</p> +<p>If a TSIG aware server receives a message signed by an unknown key, the response will be unsigned with the TSIG extended error code set to BADKEY. If a TSIG aware server receives a message with a signature that does not validate, the @@ -1058,545 +491,226 @@ NAME="AEN923" the TSIG extended error code set to BADTIME, and the time values will be adjusted so that the response can be successfully verified. In any of these cases, the message's rcode is set to - NOTAUTH.</P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN927" ->4.6. TKEY</A -></H1 -><P -><B -CLASS="command" ->TKEY</B -> is a mechanism for automatically + NOTAUTH.</p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2550056"></a>TKEY</h2></div></div></div> +<p><span><strong class="command">TKEY</strong></span> is a mechanism for automatically generating a shared secret between two hosts. There are several - "modes" of <B -CLASS="command" ->TKEY</B -> that specify how the key is - generated or assigned. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 + "modes" of <span><strong class="command">TKEY</strong></span> that specify how the key is + generated or assigned. <span class="acronym">BIND</span> 9 implements only one of these modes, the Diffie-Hellman key exchange. Both hosts are required to have a Diffie-Hellman KEY record (although this record is not required - to be present in a zone). The <B -CLASS="command" ->TKEY</B -> process + to be present in a zone). The <span><strong class="command">TKEY</strong></span> process must use signed messages, signed either by TSIG or SIG(0). The - result of <B -CLASS="command" ->TKEY</B -> is a shared secret that can be - used to sign messages with TSIG. <B -CLASS="command" ->TKEY</B -> can also + result of <span><strong class="command">TKEY</strong></span> is a shared secret that can be + used to sign messages with TSIG. <span><strong class="command">TKEY</strong></span> can also be used to delete shared secrets that it had previously - generated.</P -><P ->The <B -CLASS="command" ->TKEY</B -> process is initiated by a client - or server by sending a signed <B -CLASS="command" ->TKEY</B -> query + generated.</p> +<p>The <span><strong class="command">TKEY</strong></span> process is initiated by a client + or server by sending a signed <span><strong class="command">TKEY</strong></span> query (including any appropriate KEYs) to a TKEY-aware server. The server response, if it indicates success, will contain a - <B -CLASS="command" ->TKEY</B -> record and any appropriate keys. After + <span><strong class="command">TKEY</strong></span> record and any appropriate keys. After this exchange, both participants have enough information to determine the shared secret; the exact process depends on the - <B -CLASS="command" ->TKEY</B -> mode. When using the Diffie-Hellman - <B -CLASS="command" ->TKEY</B -> mode, Diffie-Hellman keys are exchanged, - and the shared secret is derived by both participants.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN942" ->4.7. SIG(0)</A -></H1 -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 partially supports DNSSEC SIG(0) + <span><strong class="command">TKEY</strong></span> mode. When using the Diffie-Hellman + <span><strong class="command">TKEY</strong></span> mode, Diffie-Hellman keys are exchanged, + and the shared secret is derived by both participants.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2550173"></a>SIG(0)</h2></div></div></div> +<p><span class="acronym">BIND</span> 9 partially supports DNSSEC SIG(0) transaction signatures as specified in RFC 2535 and RFC2931. SIG(0) uses public/private keys to authenticate messages. Access control is performed in the same manner as TSIG keys; privileges can be - granted or denied based on the key name.</P -><P ->When a SIG(0) signed message is received, it will only be + granted or denied based on the key name.</p> +<p>When a SIG(0) signed message is received, it will only be verified if the key is known and trusted by the server; the server - will not attempt to locate and/or validate the key.</P -><P ->SIG(0) signing of multiple-message TCP streams is not - supported.</P -><P ->The only tool shipped with <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 that - generates SIG(0) signed messages is <B -CLASS="command" ->nsupdate</B ->.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="DNSSEC" ->4.8. DNSSEC</A -></H1 -><P ->Cryptographic authentication of DNS information is possible - through the DNS Security (<SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->DNSSEC-bis</I -></SPAN ->) extensions, - defined in RFC <TBA>. This section describes the creation and use - of DNSSEC signed zones.</P -><P ->In order to set up a DNSSEC secure zone, there are a series - of steps which must be followed. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 ships + will not attempt to locate and/or validate the key.</p> +<p>SIG(0) signing of multiple-message TCP streams is not + supported.</p> +<p>The only tool shipped with <span class="acronym">BIND</span> 9 that + generates SIG(0) signed messages is <span><strong class="command">nsupdate</strong></span>.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="DNSSEC"></a>DNSSEC</h2></div></div></div> +<p>Cryptographic authentication of DNS information is possible + through the DNS Security (<span class="emphasis"><em>DNSSEC-bis</em></span>) extensions, + defined in RFC <TBA>. This section describes the creation and use + of DNSSEC signed zones.</p> +<p>In order to set up a DNSSEC secure zone, there are a series + of steps which must be followed. <span class="acronym">BIND</span> 9 ships with several tools that are used in this process, which are explained in more detail - below. In all cases, the <VAR -CLASS="option" ->-h</VAR -> option prints a + below. In all cases, the <code class="option">-h</code> option prints a full list of parameters. Note that the DNSSEC tools require the keyset files to be in the working directory or the - directory specified by the <VAR -CLASS="option" ->-h</VAR -> option, and + directory specified by the <code class="option">-h</code> option, and that the tools shipped with BIND 9.2.x and earlier are not compatible - with the current ones.</P -><P ->There must also be communication with the administrators of + with the current ones.</p> +<p>There must also be communication with the administrators of the parent and/or child zone to transmit keys. A zone's security status must be indicated by the parent zone for a DNSSEC capable resolver to trust its data. This is done through the presense - or absence of a <VAR -CLASS="literal" ->DS</VAR -> record at the delegation - point.</P -><P ->For other servers to trust data in this zone, they must + or absence of a <code class="literal">DS</code> record at the delegation + point.</p> +<p>For other servers to trust data in this zone, they must either be statically configured with this zone's zone key or the - zone key of another zone above this one in the DNS tree.</P -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN962" ->4.8.1. Generating Keys</A -></H2 -><P ->The <B -CLASS="command" ->dnssec-keygen</B -> program is used to - generate keys.</P -><P ->A secure zone must contain one or more zone keys. The + zone key of another zone above this one in the DNS tree.</p> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2550308"></a>Generating Keys</h3></div></div></div> +<p>The <span><strong class="command">dnssec-keygen</strong></span> program is used to + generate keys.</p> +<p>A secure zone must contain one or more zone keys. The zone keys will sign all other records in the zone, as well as the zone keys of any secure delegated zones. Zone keys must have the same name as the zone, a name type of - <B -CLASS="command" ->ZONE</B ->, and must be usable for authentication. + <span><strong class="command">ZONE</strong></span>, and must be usable for authentication. It is recommended that zone keys use a cryptographic algorithm designated as "mandatory to implement" by the IETF; currently - the only one is RSASHA1.</P -><P ->The following command will generate a 768 bit RSASHA1 key for - the <TT -CLASS="filename" ->child.example</TT -> zone:</P -><P -><KBD -CLASS="userinput" ->dnssec-keygen -a RSASHA1 -b 768 -n ZONE child.example.</KBD -></P -><P ->Two output files will be produced: - <TT -CLASS="filename" ->Kchild.example.+005+12345.key</TT -> and - <TT -CLASS="filename" ->Kchild.example.+005+12345.private</TT -> (where + the only one is RSASHA1.</p> +<p>The following command will generate a 768 bit RSASHA1 key for + the <code class="filename">child.example</code> zone:</p> +<p><strong class="userinput"><code>dnssec-keygen -a RSASHA1 -b 768 -n ZONE child.example.</code></strong></p> +<p>Two output files will be produced: + <code class="filename">Kchild.example.+005+12345.key</code> and + <code class="filename">Kchild.example.+005+12345.private</code> (where 12345 is an example of a key tag). The key file names contain - the key name (<TT -CLASS="filename" ->child.example.</TT ->), algorithm (3 + the key name (<code class="filename">child.example.</code>), algorithm (3 is DSA, 1 is RSAMD5, 5 is RSASHA1, etc.), and the key tag (12345 in this case). - The private key (in the <TT -CLASS="filename" ->.private</TT -> file) is + The private key (in the <code class="filename">.private</code> file) is used to generate signatures, and the public key (in the - <TT -CLASS="filename" ->.key</TT -> file) is used for signature - verification.</P -><P ->To generate another key with the same properties (but with - a different key tag), repeat the above command.</P -><P ->The public keys should be inserted into the zone file by - including the <TT -CLASS="filename" ->.key</TT -> files using - <B -CLASS="command" ->$INCLUDE</B -> statements. - </P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN982" ->4.8.2. Signing the Zone</A -></H2 -><P ->The <B -CLASS="command" ->dnssec-signzone</B -> program is used to - sign a zone.</P -><P ->Any <TT -CLASS="filename" ->keyset</TT -> files corresponding + <code class="filename">.key</code> file) is used for signature + verification.</p> +<p>To generate another key with the same properties (but with + a different key tag), repeat the above command.</p> +<p>The public keys should be inserted into the zone file by + including the <code class="filename">.key</code> files using + <span><strong class="command">$INCLUDE</strong></span> statements. + </p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2550375"></a>Signing the Zone</h3></div></div></div> +<p>The <span><strong class="command">dnssec-signzone</strong></span> program is used to + sign a zone.</p> +<p>Any <code class="filename">keyset</code> files corresponding to secure subzones should be present. The zone signer will - generate <VAR -CLASS="literal" ->NSEC</VAR -> and <VAR -CLASS="literal" ->RRSIG</VAR -> - records for the zone, as well as <VAR -CLASS="literal" ->DS</VAR -> for - the child zones if <VAR -CLASS="literal" ->'-d'</VAR -> is specified. - If <VAR -CLASS="literal" ->'-d'</VAR -> is not specified then DS RRsets for - the secure child zones need to be added manually.</P -><P ->The following command signs the zone, assuming it is in a - file called <TT -CLASS="filename" ->zone.child.example</TT ->. By + generate <code class="literal">NSEC</code> and <code class="literal">RRSIG</code> + records for the zone, as well as <code class="literal">DS</code> for + the child zones if <code class="literal">'-d'</code> is specified. + If <code class="literal">'-d'</code> is not specified then DS RRsets for + the secure child zones need to be added manually.</p> +<p>The following command signs the zone, assuming it is in a + file called <code class="filename">zone.child.example</code>. By default, all zone keys which have an available private key are - used to generate signatures.</P -><P -><KBD -CLASS="userinput" ->dnssec-signzone -o child.example zone.child.example</KBD -></P -><P ->One output file is produced: - <TT -CLASS="filename" ->zone.child.example.signed</TT ->. This file - should be referenced by <TT -CLASS="filename" ->named.conf</TT -> as the - input file for the zone.</P -><P -><B -CLASS="command" ->dnssec-signzone</B -> will also produce a + used to generate signatures.</p> +<p><strong class="userinput"><code>dnssec-signzone -o child.example zone.child.example</code></strong></p> +<p>One output file is produced: + <code class="filename">zone.child.example.signed</code>. This file + should be referenced by <code class="filename">named.conf</code> as the + input file for the zone.</p> +<p><span><strong class="command">dnssec-signzone</strong></span> will also produce a keyset and dsset files and optionally a dlvset file. These are used to provide the parent zone administators with the - <VAR -CLASS="literal" ->DNSKEYs</VAR -> (or their corresponding <VAR -CLASS="literal" ->DS</VAR -> - records) that are the secure entry point to the zone.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1004" ->4.8.3. Configuring Servers</A -></H2 -><P ->Unlike <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8, -<ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 does not verify signatures on load, + <code class="literal">DNSKEYs</code> (or their corresponding <code class="literal">DS</code> + records) that are the secure entry point to the zone.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2550450"></a>Configuring Servers</h3></div></div></div> +<p>Unlike <span class="acronym">BIND</span> 8, +<span class="acronym">BIND</span> 9 does not verify signatures on load, so zone keys for authoritative zones do not need to be specified -in the configuration file.</P -><P ->The public key for any security root must be present in -the configuration file's <B -CLASS="command" ->trusted-keys</B -> -statement, as described later in this document. </P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN1011" ->4.9. IPv6 Support in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9</A -></H1 -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 fully supports all currently defined forms of IPv6 +in the configuration file.</p> +<p>The public key for any security root must be present in +the configuration file's <span><strong class="command">trusted-keys</strong></span> +statement, as described later in this document. </p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2550473"></a>IPv6 Support in <span class="acronym">BIND</span> 9</h2></div></div></div> +<p><span class="acronym">BIND</span> 9 fully supports all currently defined forms of IPv6 name to address and address to name lookups. It will also use IPv6 addresses to make queries when running on an IPv6 capable - system.</P -><P ->For forward lookups, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 supports only AAAA + system.</p> +<p>For forward lookups, <span class="acronym">BIND</span> 9 supports only AAAA records. The use of A6 records is deprecated by RFC 3363, and the - support for forward lookups in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 is + support for forward lookups in <span class="acronym">BIND</span> 9 is removed accordingly. - However, authoritative <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 name servers still + However, authoritative <span class="acronym">BIND</span> 9 name servers still load zone files containing A6 records correctly, answer queries for A6 records, and accept zone transfer for a zone containing A6 - records.</P -><P ->For IPv6 reverse lookups, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 supports + records.</p> +<p>For IPv6 reverse lookups, <span class="acronym">BIND</span> 9 supports the traditional "nibble" format used in the - <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->ip6.arpa</I -></SPAN -> domain, as well as the older, deprecated - <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->ip6.int</I -></SPAN -> domain. - <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 formerly + <span class="emphasis"><em>ip6.arpa</em></span> domain, as well as the older, deprecated + <span class="emphasis"><em>ip6.int</em></span> domain. + <span class="acronym">BIND</span> 9 formerly supported the "binary label" (also known as "bitstring") format. The support of binary labels, however, is now completely removed according to the changes in RFC 3363. - Any applications in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 do not understand + Any applications in <span class="acronym">BIND</span> 9 do not understand the format any more, and will return an error if given. - In particular, an authoritative <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 name - server rejects to load a zone file containing binary labels.</P -><P ->For an overview of the format and structure of IPv6 addresses, - see <A -HREF="Bv9ARM.ch09.html#ipv6addresses" ->Section A.2.1</A ->.</P -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1029" ->4.9.1. Address Lookups Using AAAA Records</A -></H2 -><P ->The AAAA record is a parallel to the IPv4 A record. It + In particular, an authoritative <span class="acronym">BIND</span> 9 name + server rejects to load a zone file containing binary labels.</p> +<p>For an overview of the format and structure of IPv6 addresses, + see <a href="Bv9ARM.ch09.html#ipv6addresses" title="IPv6 addresses (AAAA)">the section called “IPv6 addresses (AAAA)”</a>.</p> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2550600"></a>Address Lookups Using AAAA Records</h3></div></div></div> +<p>The AAAA record is a parallel to the IPv4 A record. It specifies the entire address in a single record. For - example,</P -><PRE -CLASS="programlisting" -> $ORIGIN example.com. + example,</p> +<pre class="programlisting"> +$ORIGIN example.com. host 3600 IN AAAA 2001:db8::1 -</PRE -><P ->It is recommended that IPv4-in-IPv6 mapped addresses not +</pre> +<p>It is recommended that IPv4-in-IPv6 mapped addresses not be used. If a host has an IPv4 address, use an A record, not - a AAAA, with <VAR -CLASS="literal" ->::ffff:192.168.42.1</VAR -> as the - address.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1035" ->4.9.2. Address to Name Lookups Using Nibble Format</A -></H2 -><P ->When looking up an address in nibble format, the address + a AAAA, with <code class="literal">::ffff:192.168.42.1</code> as the + address.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2550620"></a>Address to Name Lookups Using Nibble Format</h3></div></div></div> +<p>When looking up an address in nibble format, the address components are simply reversed, just as in IPv4, and - <VAR -CLASS="literal" ->ip6.arpa.</VAR -> is appended to the resulting name. + <code class="literal">ip6.arpa.</code> is appended to the resulting name. For example, the following would provide reverse name lookup for a host with address - <VAR -CLASS="literal" ->2001:db8::1</VAR ->.</P -><PRE -CLASS="programlisting" -> $ORIGIN 0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. + <code class="literal">2001:db8::1</code>.</p> +<pre class="programlisting"> +$ORIGIN 0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 14400 IN PTR host.example.com. -</PRE -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch03.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch05.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Name Server Configuration</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->The <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Lightweight Resolver</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +</pre> +</div> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch03.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch05.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 3. Name Server Configuration </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Chapter 5. The <span class="acronym">BIND</span> 9 Lightweight Resolver</td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch05.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch05.html index dd59488d938..675307f7b38 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch05.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch05.html @@ -1,265 +1,115 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->The BIND 9 Lightweight Resolver</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="Advanced DNS Features" -HREF="Bv9ARM.ch04.html"><LINK -REL="NEXT" -TITLE="BIND 9 Configuration Reference" -HREF="Bv9ARM.ch06.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch04.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch06.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch05" -></A ->Chapter 5. The <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Lightweight Resolver</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->5.1. <A -HREF="Bv9ARM.ch05.html#AEN1044" ->The Lightweight Resolver Library</A -></DT -><DT ->5.2. <A -HREF="Bv9ARM.ch05.html#lwresd" ->Running a Resolver Daemon</A -></DT -></DL -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN1044" ->5.1. The Lightweight Resolver Library</A -></H1 -><P ->Traditionally applications have been linked with a stub resolver +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch05.html,v 1.24.2.5.2.12 2005/10/13 02:34:00 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 5. The BIND 9 Lightweight Resolver</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch04.html" title="Chapter 4. Advanced DNS Features"> +<link rel="next" href="Bv9ARM.ch06.html" title="Chapter 6. BIND 9 Configuration Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 5. The <span class="acronym">BIND</span> 9 Lightweight Resolver</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch04.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch06.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch05"></a>Chapter 5. The <span class="acronym">BIND</span> 9 Lightweight Resolver</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch05.html#id2550652">The Lightweight Resolver Library</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch05.html#lwresd">Running a Resolver Daemon</a></span></dt> +</dl> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2550652"></a>The Lightweight Resolver Library</h2></div></div></div> +<p>Traditionally applications have been linked with a stub resolver library that sends recursive DNS queries to a local caching name -server.</P -><P ->IPv6 once introduced new complexity into the resolution process, +server.</p> +<p>IPv6 once introduced new complexity into the resolution process, such as following A6 chains and DNAME records, and simultaneous lookup of IPv4 and IPv6 addresses. Though most of the complexity was then removed, these are hard or impossible -to implement in a traditional stub resolver.</P -><P ->Instead, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 provides resolution services to local clients +to implement in a traditional stub resolver.</p> +<p>Instead, <span class="acronym">BIND</span> 9 provides resolution services to local clients using a combination of a lightweight resolver library and a resolver daemon process running on the local host. These communicate using a simple UDP-based protocol, the "lightweight resolver protocol" -that is distinct from and simpler than the full DNS protocol.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="lwresd" ->5.2. Running a Resolver Daemon</A -></H1 -><P ->To use the lightweight resolver interface, the system must -run the resolver daemon <B -CLASS="command" ->lwresd</B -> or a local -name server configured with a <B -CLASS="command" ->lwres</B -> statement.</P -><P ->By default, applications using the lightweight resolver library will make +that is distinct from and simpler than the full DNS protocol.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="lwresd"></a>Running a Resolver Daemon</h2></div></div></div> +<p>To use the lightweight resolver interface, the system must +run the resolver daemon <span><strong class="command">lwresd</strong></span> or a local +name server configured with a <span><strong class="command">lwres</strong></span> statement.</p> +<p>By default, applications using the lightweight resolver library will make UDP requests to the IPv4 loopback address (127.0.0.1) on port 921. The -address can be overridden by <B -CLASS="command" ->lwserver</B -> lines in -<TT -CLASS="filename" ->/etc/resolv.conf</TT ->.</P -><P ->The daemon currently only looks in the DNS, but in the future -it may use other sources such as <TT -CLASS="filename" ->/etc/hosts</TT ->, -NIS, etc.</P -><P ->The <B -CLASS="command" ->lwresd</B -> daemon is essentially a +address can be overridden by <span><strong class="command">lwserver</strong></span> lines in +<code class="filename">/etc/resolv.conf</code>.</p> +<p>The daemon currently only looks in the DNS, but in the future +it may use other sources such as <code class="filename">/etc/hosts</code>, +NIS, etc.</p> +<p>The <span><strong class="command">lwresd</strong></span> daemon is essentially a caching-only name server that responds to requests using the lightweight resolver protocol rather than the DNS protocol. Because it needs to run on each host, it is designed to require no or minimal configuration. Unless configured otherwise, it uses the name servers listed on -<B -CLASS="command" ->nameserver</B -> lines in <TT -CLASS="filename" ->/etc/resolv.conf</TT -> +<span><strong class="command">nameserver</strong></span> lines in <code class="filename">/etc/resolv.conf</code> as forwarders, but is also capable of doing the resolution autonomously if -none are specified.</P -><P ->The <B -CLASS="command" ->lwresd</B -> daemon may also be configured with a -<TT -CLASS="filename" ->named.conf</TT -> style configuration file, in -<TT -CLASS="filename" ->/etc/lwresd.conf</TT -> by default. A name server may also +none are specified.</p> +<p>The <span><strong class="command">lwresd</strong></span> daemon may also be configured with a +<code class="filename">named.conf</code> style configuration file, in +<code class="filename">/etc/lwresd.conf</code> by default. A name server may also be configured to act as a lightweight resolver daemon using the -<B -CLASS="command" ->lwres</B -> statement in <TT -CLASS="filename" ->named.conf</TT ->.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch04.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch06.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Advanced DNS Features</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Configuration Reference</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +<span><strong class="command">lwres</strong></span> statement in <code class="filename">named.conf</code>.</p> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch04.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch06.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 4. Advanced DNS Features </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Chapter 6. <span class="acronym">BIND</span> 9 Configuration Reference</td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch06.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch06.html index ad476a59712..ffa51890f7b 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch06.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch06.html @@ -1,286 +1,148 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->BIND 9 Configuration Reference</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="The BIND 9 Lightweight Resolver" -HREF="Bv9ARM.ch05.html"><LINK -REL="NEXT" -TITLE="BIND 9 Security Considerations" -HREF="Bv9ARM.ch07.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch05.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch07.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch06" -></A ->Chapter 6. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Configuration Reference</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->6.1. <A -HREF="Bv9ARM.ch06.html#configuration_file_elements" ->Configuration File Elements</A -></DT -><DT ->6.2. <A -HREF="Bv9ARM.ch06.html#Configuration_File_Grammar" ->Configuration File Grammar</A -></DT -><DT ->6.3. <A -HREF="Bv9ARM.ch06.html#AEN4050" ->Zone File</A -></DT -></DL -></DIV -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 configuration is broadly similar -to <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8; however, there are a few new areas -of configuration, such as views. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> -8 configuration files should work with few alterations in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch06.html,v 1.56.2.12.2.30 2005/10/13 02:34:00 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 6. BIND 9 Configuration Reference</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch05.html" title="Chapter 5. The BIND 9 Lightweight Resolver"> +<link rel="next" href="Bv9ARM.ch07.html" title="Chapter 7. BIND 9 Security Considerations"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 6. <span class="acronym">BIND</span> 9 Configuration Reference</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch05.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch07.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch06"></a>Chapter 6. <span class="acronym">BIND</span> 9 Configuration Reference</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch06.html#configuration_file_elements">Configuration File Elements</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#address_match_lists">Address Match Lists</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2551817">Comment Syntax</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch06.html#Configuration_File_Grammar">Configuration File Grammar</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552302"><span><strong class="command">acl</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#acl"><span><strong class="command">acl</strong></span> Statement Definition and +Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552471"><span><strong class="command">controls</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage"><span><strong class="command">controls</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552808"><span><strong class="command">include</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552823"><span><strong class="command">include</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552845"><span><strong class="command">key</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552867"><span><strong class="command">key</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2553006"><span><strong class="command">logging</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2553269"><span><strong class="command">logging</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554474"><span><strong class="command">lwres</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554547"><span><strong class="command">lwres</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554610"><span><strong class="command">masters</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554653"><span><strong class="command">masters</strong></span> Statement Definition and Usage </a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554668"><span><strong class="command">options</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#options"><span><strong class="command">options</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#server_statement_grammar"><span><strong class="command">server</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#server_statement_definition_and_usage"><span><strong class="command">server</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2562233"><span><strong class="command">trusted-keys</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2562281"><span><strong class="command">trusted-keys</strong></span> Statement Definition +and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#view_statement_grammar"><span><strong class="command">view</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2562349"><span><strong class="command">view</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#zone_statement_grammar"><span><strong class="command">zone</strong></span> +Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2563022"><span><strong class="command">zone</strong></span> Statement Definition and Usage</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch06.html#id2564557">Zone File</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#types_of_resource_records_and_when_to_use_them">Types of Resource Records and When to Use Them</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2565990">Discussion of MX Records</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#Setting_TTLs">Setting TTLs</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2566487">Inverse Mapping in IPv4</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2566593">Other Zone File Directives</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2566761"><span class="acronym">BIND</span> Master File Extension: the <span><strong class="command">$GENERATE</strong></span> Directive</a></span></dt> +</dl></dd> +</dl> +</div> +<p><span class="acronym">BIND</span> 9 configuration is broadly similar +to <span class="acronym">BIND</span> 8; however, there are a few new areas +of configuration, such as views. <span class="acronym">BIND</span> +8 configuration files should work with few alterations in <span class="acronym">BIND</span> 9, although more complex configurations should be reviewed to check if they can be more efficiently implemented using the new features -found in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9.</P -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 4 configuration files can be converted to the new format +found in <span class="acronym">BIND</span> 9.</p> +<p><span class="acronym">BIND</span> 4 configuration files can be converted to the new format using the shell script -<TT -CLASS="filename" ->contrib/named-bootconf/named-bootconf.sh</TT ->.</P -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="configuration_file_elements" ->6.1. Configuration File Elements</A -></H1 -><P ->Following is a list of elements used throughout the <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> configuration -file documentation:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN1086" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="varname" ->acl_name</VAR -></P -></TD -><TD -><P ->The name of an <VAR -CLASS="varname" ->address_match_list</VAR -> as -defined by the <B -CLASS="command" ->acl</B -> statement.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->address_match_list</VAR -></P -></TD -><TD -><P ->A list of one or more <VAR -CLASS="varname" ->ip_addr</VAR ->, -<VAR -CLASS="varname" ->ip_prefix</VAR ->, <VAR -CLASS="varname" ->key_id</VAR ->, -or <VAR -CLASS="varname" ->acl_name</VAR -> elements, see -<A -HREF="Bv9ARM.ch06.html#address_match_lists" ->Section 6.1.1</A ->.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->domain_name</VAR -></P -></TD -><TD -><P ->A quoted string which will be used as -a DNS name, for example "<VAR -CLASS="literal" ->my.test.domain</VAR ->".</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->dotted_decimal</VAR -></P -></TD -><TD -><P ->One to four integers valued 0 through -255 separated by dots (`.'), such as <B -CLASS="command" ->123</B ->, -<B -CLASS="command" ->45.67</B -> or <B -CLASS="command" ->89.123.45.67</B ->.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->ip4_addr</VAR -></P -></TD -><TD -><P ->An IPv4 address with exactly four elements -in <VAR -CLASS="varname" ->dotted_decimal</VAR -> notation.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->ip6_addr</VAR -></P -></TD -><TD -><P ->An IPv6 address, such as <B -CLASS="command" ->2001:db8::1234</B ->. +<code class="filename">contrib/named-bootconf/named-bootconf.sh</code>.</p> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="configuration_file_elements"></a>Configuration File Elements</h2></div></div></div> +<p>Following is a list of elements used throughout the <span class="acronym">BIND</span> configuration +file documentation:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="varname">acl_name</code></p></td> +<td><p>The name of an <code class="varname">address_match_list</code> as +defined by the <span><strong class="command">acl</strong></span> statement.</p></td> +</tr> +<tr> +<td><p><code class="varname">address_match_list</code></p></td> +<td><p>A list of one or more <code class="varname">ip_addr</code>, +<code class="varname">ip_prefix</code>, <code class="varname">key_id</code>, +or <code class="varname">acl_name</code> elements, see +<a href="Bv9ARM.ch06.html#address_match_lists" title="Address Match Lists">the section called “Address Match Lists”</a>.</p></td> +</tr> +<tr> +<td><p><code class="varname">domain_name</code></p></td> +<td><p>A quoted string which will be used as +a DNS name, for example "<code class="literal">my.test.domain</code>".</p></td> +</tr> +<tr> +<td><p><code class="varname">dotted_decimal</code></p></td> +<td><p>One to four integers valued 0 through +255 separated by dots (`.'), such as <span><strong class="command">123</strong></span>, +<span><strong class="command">45.67</strong></span> or <span><strong class="command">89.123.45.67</strong></span>.</p></td> +</tr> +<tr> +<td><p><code class="varname">ip4_addr</code></p></td> +<td><p>An IPv4 address with exactly four elements +in <code class="varname">dotted_decimal</code> notation.</p></td> +</tr> +<tr> +<td><p><code class="varname">ip6_addr</code></p></td> +<td><p>An IPv6 address, such as <span><strong class="command">2001:db8::1234</strong></span>. IPv6 scoped addresses that have ambiguity on their scope zones must be disambiguated by an appropriate zone ID with the percent character (`%') as delimiter. @@ -290,2043 +152,677 @@ configuration changes. However, since there is no standard mapping for such names and identifier values, currently only interface names as link identifiers are supported, assuming one-to-one mapping between interfaces and links. -For example, a link-local address <B -CLASS="command" ->fe80::1</B -> on the -link attached to the interface <B -CLASS="command" ->ne0</B -> -can be specified as <B -CLASS="command" ->fe80::1%ne0</B ->. +For example, a link-local address <span><strong class="command">fe80::1</strong></span> on the +link attached to the interface <span><strong class="command">ne0</strong></span> +can be specified as <span><strong class="command">fe80::1%ne0</strong></span>. Note that on most systems link-local addresses always have the -ambiguity, and need to be disambiguated.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->ip_addr</VAR -></P -></TD -><TD -><P ->An <VAR -CLASS="varname" ->ip4_addr</VAR -> or <VAR -CLASS="varname" ->ip6_addr</VAR ->.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->ip_port</VAR -></P -></TD -><TD -><P ->An IP port <VAR -CLASS="varname" ->number</VAR ->. -<VAR -CLASS="varname" ->number</VAR -> is limited to 0 through 65535, with values +ambiguity, and need to be disambiguated.</p></td> +</tr> +<tr> +<td><p><code class="varname">ip_addr</code></p></td> +<td><p>An <code class="varname">ip4_addr</code> or <code class="varname">ip6_addr</code>.</p></td> +</tr> +<tr> +<td><p><code class="varname">ip_port</code></p></td> +<td><p>An IP port <code class="varname">number</code>. +<code class="varname">number</code> is limited to 0 through 65535, with values below 1024 typically restricted to use by processes running as root. In some cases an asterisk (`*') character can be used as a placeholder to -select a random high-numbered port.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->ip_prefix</VAR -></P -></TD -><TD -><P ->An IP network specified as an <VAR -CLASS="varname" ->ip_addr</VAR ->, +select a random high-numbered port.</p></td> +</tr> +<tr> +<td><p><code class="varname">ip_prefix</code></p></td> +<td><p>An IP network specified as an <code class="varname">ip_addr</code>, followed by a slash (`/') and then the number of bits in the netmask. -Trailing zeros in a <VAR -CLASS="varname" ->ip_addr</VAR -> may omitted. -For example, <B -CLASS="command" ->127/8</B -> is the network <B -CLASS="command" ->127.0.0.0</B -> with -netmask <B -CLASS="command" ->255.0.0.0</B -> and <B -CLASS="command" ->1.2.3.0/28</B -> is -network <B -CLASS="command" ->1.2.3.0</B -> with netmask <B -CLASS="command" ->255.255.255.240</B ->.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->key_id</VAR -></P -></TD -><TD -><P ->A <VAR -CLASS="varname" ->domain_name</VAR -> representing -the name of a shared key, to be used for transaction security.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->key_list</VAR -></P -></TD -><TD -><P ->A list of one or more <VAR -CLASS="varname" ->key_id</VAR ->s, -separated by semicolons and ending with a semicolon.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->number</VAR -></P -></TD -><TD -><P ->A non-negative 32 bit integer +Trailing zeros in a <code class="varname">ip_addr</code> may omitted. +For example, <span><strong class="command">127/8</strong></span> is the network <span><strong class="command">127.0.0.0</strong></span> with +netmask <span><strong class="command">255.0.0.0</strong></span> and <span><strong class="command">1.2.3.0/28</strong></span> is +network <span><strong class="command">1.2.3.0</strong></span> with netmask <span><strong class="command">255.255.255.240</strong></span>.</p></td> +</tr> +<tr> +<td><p><code class="varname">key_id</code></p></td> +<td><p>A <code class="varname">domain_name</code> representing +the name of a shared key, to be used for transaction security.</p></td> +</tr> +<tr> +<td><p><code class="varname">key_list</code></p></td> +<td><p>A list of one or more <code class="varname">key_id</code>s, +separated by semicolons and ending with a semicolon.</p></td> +</tr> +<tr> +<td><p><code class="varname">number</code></p></td> +<td><p>A non-negative 32 bit integer (i.e., a number between 0 and 4294967295, inclusive). Its acceptable value might further -be limited by the context in which it is used.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->path_name</VAR -></P -></TD -><TD -><P ->A quoted string which will be used as -a pathname, such as <TT -CLASS="filename" ->zones/master/my.test.domain</TT ->.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->size_spec</VAR -></P -></TD -><TD -><P ->A number, the word <KBD -CLASS="userinput" ->unlimited</KBD ->, -or the word <KBD -CLASS="userinput" ->default</KBD ->.</P -><P -> An <VAR -CLASS="varname" ->unlimited</VAR -> <VAR -CLASS="varname" ->size_spec</VAR -> requests unlimited -use, or the maximum available amount. A <VAR -CLASS="varname" ->default size_spec</VAR -> uses -the limit that was in force when the server was started.</P -><P ->A <VAR -CLASS="varname" ->number</VAR -> can -optionally be followed by a scaling factor: <KBD -CLASS="userinput" ->K</KBD -> or <KBD -CLASS="userinput" ->k</KBD -> for -kilobytes, <KBD -CLASS="userinput" ->M</KBD -> or <KBD -CLASS="userinput" ->m</KBD -> for -megabytes, and <KBD -CLASS="userinput" ->G</KBD -> or <KBD -CLASS="userinput" ->g</KBD -> for gigabytes, -which scale by 1024, 1024*1024, and 1024*1024*1024 respectively.</P -> -<P ->The value must be representable as a 64-bit unsigned integer +be limited by the context in which it is used.</p></td> +</tr> +<tr> +<td><p><code class="varname">path_name</code></p></td> +<td><p>A quoted string which will be used as +a pathname, such as <code class="filename">zones/master/my.test.domain</code>.</p></td> +</tr> +<tr> +<td><p><code class="varname">size_spec</code></p></td> +<td> +<p>A number, the word <strong class="userinput"><code>unlimited</code></strong>, +or the word <strong class="userinput"><code>default</code></strong>.</p> +<p> +An <code class="varname">unlimited</code> <code class="varname">size_spec</code> requests unlimited +use, or the maximum available amount. A <code class="varname">default size_spec</code> uses +the limit that was in force when the server was started.</p> +<p>A <code class="varname">number</code> can +optionally be followed by a scaling factor: <strong class="userinput"><code>K</code></strong> or <strong class="userinput"><code>k</code></strong> for +kilobytes, <strong class="userinput"><code>M</code></strong> or <strong class="userinput"><code>m</code></strong> for +megabytes, and <strong class="userinput"><code>G</code></strong> or <strong class="userinput"><code>g</code></strong> for gigabytes, +which scale by 1024, 1024*1024, and 1024*1024*1024 respectively.</p> +<p>The value must be representable as a 64-bit unsigned integer (0 to 18446744073709551615, inclusive). -Using <VAR -CLASS="varname" ->unlimited</VAR -> is the best way -to safely set a really large number.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->yes_or_no</VAR -></P -></TD -><TD -><P ->Either <KBD -CLASS="userinput" ->yes</KBD -> or <KBD -CLASS="userinput" ->no</KBD ->. -The words <KBD -CLASS="userinput" ->true</KBD -> and <KBD -CLASS="userinput" ->false</KBD -> are -also accepted, as are the numbers <KBD -CLASS="userinput" ->1</KBD -> and <KBD -CLASS="userinput" ->0</KBD ->.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->dialup_option</VAR -></P -></TD -><TD -><P ->One of <KBD -CLASS="userinput" ->yes</KBD ->, -<KBD -CLASS="userinput" ->no</KBD ->, <KBD -CLASS="userinput" ->notify</KBD ->, -<KBD -CLASS="userinput" ->notify-passive</KBD ->, <KBD -CLASS="userinput" ->refresh</KBD -> or -<KBD -CLASS="userinput" ->passive</KBD ->. -When used in a zone, <KBD -CLASS="userinput" ->notify-passive</KBD ->, -<KBD -CLASS="userinput" ->refresh</KBD ->, and <KBD -CLASS="userinput" ->passive</KBD -> -are restricted to slave and stub zones.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="address_match_lists" ->6.1.1. Address Match Lists</A -></H2 -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN1251" ->6.1.1.1. Syntax</A -></H3 -><PRE -CLASS="programlisting" -><VAR -CLASS="varname" ->address_match_list</VAR -> = address_match_list_element ; - [<SPAN -CLASS="optional" -> address_match_list_element; ... </SPAN ->] -<VAR -CLASS="varname" ->address_match_list_element</VAR -> = [<SPAN -CLASS="optional" -> ! </SPAN ->] (ip_address [<SPAN -CLASS="optional" ->/length</SPAN ->] | +Using <code class="varname">unlimited</code> is the best way +to safely set a really large number.</p> +</td> +</tr> +<tr> +<td><p><code class="varname">yes_or_no</code></p></td> +<td><p>Either <strong class="userinput"><code>yes</code></strong> or <strong class="userinput"><code>no</code></strong>. +The words <strong class="userinput"><code>true</code></strong> and <strong class="userinput"><code>false</code></strong> are +also accepted, as are the numbers <strong class="userinput"><code>1</code></strong> and <strong class="userinput"><code>0</code></strong>.</p></td> +</tr> +<tr> +<td><p><code class="varname">dialup_option</code></p></td> +<td><p>One of <strong class="userinput"><code>yes</code></strong>, +<strong class="userinput"><code>no</code></strong>, <strong class="userinput"><code>notify</code></strong>, +<strong class="userinput"><code>notify-passive</code></strong>, <strong class="userinput"><code>refresh</code></strong> or +<strong class="userinput"><code>passive</code></strong>. +When used in a zone, <strong class="userinput"><code>notify-passive</code></strong>, +<strong class="userinput"><code>refresh</code></strong>, and <strong class="userinput"><code>passive</code></strong> +are restricted to slave and stub zones.</p></td> +</tr> +</tbody> +</table></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="address_match_lists"></a>Address Match Lists</h3></div></div></div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2551560"></a>Syntax</h4></div></div></div> +<pre class="programlisting"><code class="varname">address_match_list</code> = address_match_list_element ; + [<span class="optional"> address_match_list_element; ... </span>] +<code class="varname">address_match_list_element</code> = [<span class="optional"> ! </span>] (ip_address [<span class="optional">/length</span>] | key key_id | acl_name | { address_match_list } ) -</PRE -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN1259" ->6.1.1.2. Definition and Usage</A -></H3 -><P ->Address match lists are primarily used to determine access +</pre> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2551587"></a>Definition and Usage</h4></div></div></div> +<p>Address match lists are primarily used to determine access control for various server operations. They are also used in -the <B -CLASS="command" ->listen-on</B -> and <B -CLASS="command" ->sortlist</B -> +the <span><strong class="command">listen-on</strong></span> and <span><strong class="command">sortlist</strong></span> statements. The elements -which constitute an address match list can be any of the following:</P -><P -></P -><UL -><LI -><P ->an IP address (IPv4 or IPv6)</P -></LI -><LI -><P ->an IP prefix (in `/' notation)</P -></LI -><LI -><P ->a key ID, as defined by the <B -CLASS="command" ->key</B -> statement</P -></LI -><LI -><P ->the name of an address match list previously defined with -the <B -CLASS="command" ->acl</B -> statement</P -></LI -><LI -><P ->a nested address match list enclosed in braces</P -></LI -></UL -><P ->Elements can be negated with a leading exclamation mark (`!'), +which constitute an address match list can be any of the following:</p> +<div class="itemizedlist"><ul type="disc"> +<li>an IP address (IPv4 or IPv6)</li> +<li>an IP prefix (in `/' notation)</li> +<li>a key ID, as defined by the <span><strong class="command">key</strong></span> statement</li> +<li>the name of an address match list defined with +the <span><strong class="command">acl</strong></span> statement</li> +<li>a nested address match list enclosed in braces</li> +</ul></div> +<p>Elements can be negated with a leading exclamation mark (`!'), and the match list names "any", "none", "localhost", and "localnets" are predefined. More information on those names can be found in -the description of the acl statement.</P -><P ->The addition of the key clause made the name of this syntactic +the description of the acl statement.</p> +<p>The addition of the key clause made the name of this syntactic element something of a misnomer, since security keys can be used to validate access without regard to a host or network address. Nonetheless, -the term "address match list" is still used throughout the documentation.</P -><P ->When a given IP address or prefix is compared to an address +the term "address match list" is still used throughout the documentation.</p> +<p>When a given IP address or prefix is compared to an address match list, the list is traversed in order until an element matches. The interpretation of a match depends on whether the list is being used for access control, defining listen-on ports, or in a sortlist, -and whether the element was negated.</P -><P ->When used as an access control list, a non-negated match allows +and whether the element was negated.</p> +<p>When used as an access control list, a non-negated match allows access and a negated match denies access. If there is no match, -access is denied. The clauses <B -CLASS="command" ->allow-notify</B ->, -<B -CLASS="command" ->allow-query</B ->, <B -CLASS="command" ->allow-transfer</B ->, -<B -CLASS="command" ->allow-update</B ->, <B -CLASS="command" ->allow-update-forwarding</B ->, -and <B -CLASS="command" ->blackhole</B -> all +access is denied. The clauses <span><strong class="command">allow-notify</strong></span>, +<span><strong class="command">allow-query</strong></span>, <span><strong class="command">allow-transfer</strong></span>, +<span><strong class="command">allow-update</strong></span>, <span><strong class="command">allow-update-forwarding</strong></span>, +and <span><strong class="command">blackhole</strong></span> all use address match lists this. Similarly, the listen-on option will cause the server to not accept queries on any of the machine's addresses -which do not match the list.</P -><P ->Because of the first-match aspect of the algorithm, an element +which do not match the list.</p> +<p>Because of the first-match aspect of the algorithm, an element that defines a subset of another element in the list should come before the broader element, regardless of whether either is negated. For example, in -<B -CLASS="command" ->1.2.3/24; ! 1.2.3.13;</B -> the 1.2.3.13 element is +<span><strong class="command">1.2.3/24; ! 1.2.3.13;</strong></span> the 1.2.3.13 element is completely useless because the algorithm will match any lookup for 1.2.3.13 to the 1.2.3/24 element. -Using <B -CLASS="command" ->! 1.2.3.13; 1.2.3/24</B -> fixes +Using <span><strong class="command">! 1.2.3.13; 1.2.3/24</strong></span> fixes that problem by having 1.2.3.13 blocked by the negation but all -other 1.2.3.* hosts fall through.</P -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1290" ->6.1.2. Comment Syntax</A -></H2 -><P ->The <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 comment syntax allows for comments to appear -anywhere that white space may appear in a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> configuration +other 1.2.3.* hosts fall through.</p> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2551817"></a>Comment Syntax</h3></div></div></div> +<p>The <span class="acronym">BIND</span> 9 comment syntax allows for comments to appear +anywhere that white space may appear in a <span class="acronym">BIND</span> configuration file. To appeal to programmers of all kinds, they can be written -in the C, C++, or shell/perl style.</P -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN1295" ->6.1.2.1. Syntax</A -></H3 -><P -><PRE -CLASS="programlisting" ->/* This is a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> comment as in C */</PRE -> -<PRE -CLASS="programlisting" ->// This is a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> comment as in C++</PRE -> -<PRE -CLASS="programlisting" -># This is a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> comment as in common UNIX shells and perl</PRE -> - </P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN1304" ->6.1.2.2. Definition and Usage</A -></H3 -><P ->Comments may appear anywhere that whitespace may appear in -a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> configuration file.</P -><P ->C-style comments start with the two characters /* (slash, +in the C, C++, or shell/perl style.</p> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2551832"></a>Syntax</h4></div></div></div> +<pre class="programlisting">/* This is a <span class="acronym">BIND</span> comment as in C */</pre> +<p> +</p> +<pre class="programlisting">// This is a <span class="acronym">BIND</span> comment as in C++</pre> +<p> +</p> +<pre class="programlisting"># This is a <span class="acronym">BIND</span> comment as in common UNIX shells and perl</pre> +<p> + </p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2551861"></a>Definition and Usage</h4></div></div></div> +<p>Comments may appear anywhere that whitespace may appear in +a <span class="acronym">BIND</span> configuration file.</p> +<p>C-style comments start with the two characters /* (slash, star) and end with */ (star, slash). Because they are completely delimited with these characters, they can be used to comment only -a portion of a line or to span multiple lines.</P -><P ->C-style comments cannot be nested. For example, the following -is not valid because the entire comment ends with the first */:</P -><P -><PRE -CLASS="programlisting" ->/* This is the start of a comment. +a portion of a line or to span multiple lines.</p> +<p>C-style comments cannot be nested. For example, the following +is not valid because the entire comment ends with the first */:</p> +<pre class="programlisting">/* This is the start of a comment. This is still part of the comment. /* This is an incorrect attempt at nesting a comment. */ This is no longer in any comment. */ -</PRE -></P -><P ->C++-style comments start with the two characters // (slash, +</pre> +<p>C++-style comments start with the two characters // (slash, slash) and continue to the end of the physical line. They cannot be continued across multiple physical lines; to have one logical -comment span multiple lines, each line must use the // pair.</P -><P ->For example:</P -><P -><PRE -CLASS="programlisting" ->// This is the start of a comment. The next line +comment span multiple lines, each line must use the // pair.</p> +<p>For example:</p> +<pre class="programlisting">// This is the start of a comment. The next line // is a new comment, even though it is logically // part of the previous comment. -</PRE -></P -><P ->Shell-style (or perl-style, if you prefer) comments start -with the character <VAR -CLASS="literal" ->#</VAR -> (number sign) and continue to the end of the -physical line, as in C++ comments.</P -><P ->For example:</P -><P -><PRE -CLASS="programlisting" -># This is the start of a comment. The next line +</pre> +<p>Shell-style (or perl-style, if you prefer) comments start +with the character <code class="literal">#</code> (number sign) and continue to the end of the +physical line, as in C++ comments.</p> +<p>For example:</p> +<pre class="programlisting"># This is the start of a comment. The next line # is a new comment, even though it is logically # part of the previous comment. -</PRE -> -</P -><DIV -CLASS="warning" -><P -></P -><TABLE -CLASS="warning" -BORDER="1" -WIDTH="100%" -><TR -><TD -ALIGN="CENTER" -><B ->Warning</B -></TD -></TR -><TR -><TD -ALIGN="LEFT" -><P ->You cannot use the semicolon (`;') character +</pre> +<p> +</p> +<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Warning</h3> +<p>You cannot use the semicolon (`;') character to start a comment such as you would in a zone file. The semicolon indicates the end of a configuration - statement.</P -></TD -></TR -></TABLE -></DIV -></DIV -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="Configuration_File_Grammar" ->6.2. Configuration File Grammar</A -></H1 -><P ->A <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 configuration consists of statements and comments. + statement.</p> +</div> +</div> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="Configuration_File_Grammar"></a>Configuration File Grammar</h2></div></div></div> +<p>A <span class="acronym">BIND</span> 9 configuration consists of statements and comments. Statements end with a semicolon. Statements and comments are the only elements that can appear without enclosing braces. Many statements contain a block of sub-statements, which are also - terminated with a semicolon.</P -><P ->The following statements are supported:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN1328" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->acl</B -></P -></TD -><TD -><P ->defines a named IP address -matching list, for access control and other uses.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->controls</B -></P -></TD -><TD -><P ->declares control channels to be used -by the <B -CLASS="command" ->rndc</B -> utility.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->include</B -></P -></TD -><TD -><P ->includes a file.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->key</B -></P -></TD -><TD -><P ->specifies key information for use in -authentication and authorization using TSIG.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->logging</B -></P -></TD -><TD -><P ->specifies what the server logs, and where -the log messages are sent.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->lwres</B -></P -></TD -><TD -><P ->configures <B -CLASS="command" ->named</B -> to -also act as a light weight resolver daemon (<B -CLASS="command" ->lwresd</B ->).</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->masters</B -></P -></TD -><TD -><P ->defines a named masters list for -inclusion in stub and slave zone masters clauses.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->options</B -></P -></TD -><TD -><P ->controls global server configuration -options and sets defaults for other statements.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->server</B -></P -></TD -><TD -><P ->sets certain configuration options on -a per-server basis.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->trusted-keys</B -></P -></TD -><TD -><P ->defines trusted DNSSEC keys.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->view</B -></P -></TD -><TD -><P ->defines a view.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->zone</B -></P -></TD -><TD -><P ->defines a zone.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->The <B -CLASS="command" ->logging</B -> and - <B -CLASS="command" ->options</B -> statements may only occur once per - configuration.</P -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1411" ->6.2.1. <B -CLASS="command" ->acl</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" -><B -CLASS="command" ->acl</B -> acl-name { + terminated with a semicolon.</p> +<p>The following statements are supported:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">acl</strong></span></p></td> +<td><p>defines a named IP address +matching list, for access control and other uses.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">controls</strong></span></p></td> +<td><p>declares control channels to be used +by the <span><strong class="command">rndc</strong></span> utility.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">include</strong></span></p></td> +<td><p>includes a file.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">key</strong></span></p></td> +<td><p>specifies key information for use in +authentication and authorization using TSIG.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">logging</strong></span></p></td> +<td><p>specifies what the server logs, and where +the log messages are sent.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">lwres</strong></span></p></td> +<td><p>configures <span><strong class="command">named</strong></span> to +also act as a light weight resolver daemon (<span><strong class="command">lwresd</strong></span>).</p></td> +</tr> +<tr> +<td><p><span><strong class="command">masters</strong></span></p></td> +<td><p>defines a named masters list for +inclusion in stub and slave zone masters clauses.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">options</strong></span></p></td> +<td><p>controls global server configuration +options and sets defaults for other statements.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">server</strong></span></p></td> +<td><p>sets certain configuration options on +a per-server basis.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">trusted-keys</strong></span></p></td> +<td><p>defines trusted DNSSEC keys.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">view</strong></span></p></td> +<td><p>defines a view.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">zone</strong></span></p></td> +<td><p>defines a zone.</p></td> +</tr> +</tbody> +</table></div> +<p>The <span><strong class="command">logging</strong></span> and + <span><strong class="command">options</strong></span> statements may only occur once per + configuration.</p> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2552302"></a><span><strong class="command">acl</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting"><span><strong class="command">acl</strong></span> acl-name { address_match_list }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="acl" ->6.2.2. <B -CLASS="command" ->acl</B -> Statement Definition and -Usage</A -></H2 -><P ->The <B -CLASS="command" ->acl</B -> statement assigns a symbolic +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="acl"></a><span><strong class="command">acl</strong></span> Statement Definition and +Usage</h3></div></div></div> +<p>The <span><strong class="command">acl</strong></span> statement assigns a symbolic name to an address match list. It gets its name from a primary - use of address match lists: Access Control Lists (ACLs).</P -><P ->Note that an address match list's name must be defined - with <B -CLASS="command" ->acl</B -> before it can be used elsewhere; no - forward references are allowed.</P -><P ->The following ACLs are built-in:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN1424" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->any</B -></P -></TD -><TD -><P ->Matches all hosts.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->none</B -></P -></TD -><TD -><P ->Matches no hosts.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->localhost</B -></P -></TD -><TD -><P ->Matches the IPv4 and IPv6 addresses of all network -interfaces on the system.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->localnets</B -></P -></TD -><TD -><P ->Matches any host on an IPv4 or IPv6 network + use of address match lists: Access Control Lists (ACLs).</p> +<p>Note that an address match list's name must be defined + with <span><strong class="command">acl</strong></span> before it can be used elsewhere; no + forward references are allowed.</p> +<p>The following ACLs are built-in:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">any</strong></span></p></td> +<td><p>Matches all hosts.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">none</strong></span></p></td> +<td><p>Matches no hosts.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">localhost</strong></span></p></td> +<td><p>Matches the IPv4 and IPv6 addresses of all network +interfaces on the system.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">localnets</strong></span></p></td> +<td><p>Matches any host on an IPv4 or IPv6 network for which the system has an interface. Some systems do not provide a way to determine the prefix lengths of local IPv6 addresses. -In such a case, <B -CLASS="command" ->localnets</B -> only matches the local -IPv6 addresses, just like <B -CLASS="command" ->localhost</B ->. -</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1455" ->6.2.3. <B -CLASS="command" ->controls</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" -><B -CLASS="command" ->controls</B -> { - inet ( ip_addr | * ) [<SPAN -CLASS="optional" -> port ip_port </SPAN ->] allow { <VAR -CLASS="replaceable" -> address_match_list </VAR -> } - keys { <VAR -CLASS="replaceable" -> key_list </VAR -> }; - [<SPAN -CLASS="optional" -> inet ...; </SPAN ->] +In such a case, <span><strong class="command">localnets</strong></span> only matches the local +IPv6 addresses, just like <span><strong class="command">localhost</strong></span>. +</p></td> +</tr> +</tbody> +</table></div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2552471"></a><span><strong class="command">controls</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting"><span><strong class="command">controls</strong></span> { + inet ( ip_addr | * ) [<span class="optional"> port ip_port </span>] allow { <em class="replaceable"><code> address_match_list </code></em> } + keys { <em class="replaceable"><code> key_list </code></em> }; + [<span class="optional"> inet ...; </span>] }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="controls_statement_definition_and_usage" ->6.2.4. <B -CLASS="command" ->controls</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->controls</B -> statement declares control +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="controls_statement_definition_and_usage"></a><span><strong class="command">controls</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">controls</strong></span> statement declares control channels to be used by system administrators to control the operation of the name server. These control channels are - used by the <B -CLASS="command" ->rndc</B -> utility to send commands to - and retrieve non-DNS results from a name server.</P -><P ->An <B -CLASS="command" ->inet</B -> control channel is a TCP + used by the <span><strong class="command">rndc</strong></span> utility to send commands to + and retrieve non-DNS results from a name server.</p> +<p>An <span><strong class="command">inet</strong></span> control channel is a TCP socket listening at the specified - <B -CLASS="command" ->ip_port</B -> on the specified - <B -CLASS="command" ->ip_addr</B ->, which can be an IPv4 or IPv6 - address. An <B -CLASS="command" ->ip_addr</B -> - of <VAR -CLASS="literal" ->*</VAR -> is interpreted as the IPv4 wildcard + <span><strong class="command">ip_port</strong></span> on the specified + <span><strong class="command">ip_addr</strong></span>, which can be an IPv4 or IPv6 + address. An <span><strong class="command">ip_addr</strong></span> + of <code class="literal">*</code> is interpreted as the IPv4 wildcard address; connections will be accepted on any of the system's IPv4 addresses. To listen on the IPv6 wildcard address, - use an <B -CLASS="command" ->ip_addr</B -> of <VAR -CLASS="literal" ->::</VAR ->. - If you will only use <B -CLASS="command" ->rndc</B -> on the local host, - using the loopback address (<VAR -CLASS="literal" ->127.0.0.1</VAR -> - or <VAR -CLASS="literal" ->::1</VAR ->) is recommended for maximum + use an <span><strong class="command">ip_addr</strong></span> of <code class="literal">::</code>. + If you will only use <span><strong class="command">rndc</strong></span> on the local host, + using the loopback address (<code class="literal">127.0.0.1</code> + or <code class="literal">::1</code>) is recommended for maximum security. - </P -><P -> If no port is specified, port 953 - is used. "<VAR -CLASS="literal" ->*</VAR ->" cannot be used for - <B -CLASS="command" ->ip_port</B ->.</P -><P ->The ability to issue commands over the control channel is - restricted by the <B -CLASS="command" ->allow</B -> and - <B -CLASS="command" ->keys</B -> clauses. Connections to the control + </p> +<p> + If no port is specified, port 953 + is used. "<code class="literal">*</code>" cannot be used for + <span><strong class="command">ip_port</strong></span>.</p> +<p>The ability to issue commands over the control channel is + restricted by the <span><strong class="command">allow</strong></span> and + <span><strong class="command">keys</strong></span> clauses. Connections to the control channel are permitted based on the - <B -CLASS="command" ->address_match_list</B ->. This is for simple - IP address based filtering only; any <B -CLASS="command" ->key_id</B -> - elements of the <B -CLASS="command" ->address_match_list</B -> are + <span><strong class="command">address_match_list</strong></span>. This is for simple + IP address based filtering only; any <span><strong class="command">key_id</strong></span> + elements of the <span><strong class="command">address_match_list</strong></span> are ignored. - </P -><P ->The primary authorization mechanism of the command - channel is the <B -CLASS="command" ->key_list</B ->, which contains - a list of <B -CLASS="command" ->key_id</B ->s. - Each <B -CLASS="command" ->key_id</B -> in - the <B -CLASS="command" ->key_list</B -> is authorized to execute + </p> +<p>The primary authorization mechanism of the command + channel is the <span><strong class="command">key_list</strong></span>, which contains + a list of <span><strong class="command">key_id</strong></span>s. + Each <span><strong class="command">key_id</strong></span> in + the <span><strong class="command">key_list</strong></span> is authorized to execute commands over the control channel. - See <A -HREF="Bv9ARM.ch03.html#rndc" ->Remote Name Daemon Control application</A -> in - <A -HREF="Bv9ARM.ch03.html#admin_tools" ->Section 3.3.1.2</A ->) for information about - configuring keys in <B -CLASS="command" ->rndc</B ->.</P -><P -> If no <B -CLASS="command" ->controls</B -> statement is present, -<B -CLASS="command" ->named</B -> will set up a default + See <a href="Bv9ARM.ch03.html#rndc">Remote Name Daemon Control application</a> in + <a href="Bv9ARM.ch03.html#admin_tools" title="Administrative Tools">the section called “Administrative Tools”</a>) for information about + configuring keys in <span><strong class="command">rndc</strong></span>.</p> +<p> +If no <span><strong class="command">controls</strong></span> statement is present, +<span><strong class="command">named</strong></span> will set up a default control channel listening on the loopback address 127.0.0.1 and its IPv6 counterpart ::1. -In this case, and also when the <B -CLASS="command" ->controls</B -> statement -is present but does not have a <B -CLASS="command" ->keys</B -> clause, -<B -CLASS="command" ->named</B -> will attempt to load the command channel key -from the file <TT -CLASS="filename" ->rndc.key</TT -> in -<TT -CLASS="filename" ->/etc</TT -> (or whatever <VAR -CLASS="varname" ->sysconfdir</VAR -> -was specified as when <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> was built). -To create a <TT -CLASS="filename" ->rndc.key</TT -> file, run -<KBD -CLASS="userinput" ->rndc-confgen -a</KBD ->. -</P -><P ->The <TT -CLASS="filename" ->rndc.key</TT -> feature was created to - ease the transition of systems from <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8, +In this case, and also when the <span><strong class="command">controls</strong></span> statement +is present but does not have a <span><strong class="command">keys</strong></span> clause, +<span><strong class="command">named</strong></span> will attempt to load the command channel key +from the file <code class="filename">rndc.key</code> in +<code class="filename">/etc</code> (or whatever <code class="varname">sysconfdir</code> +was specified as when <span class="acronym">BIND</span> was built). +To create a <code class="filename">rndc.key</code> file, run +<strong class="userinput"><code>rndc-confgen -a</code></strong>. +</p> +<p>The <code class="filename">rndc.key</code> feature was created to + ease the transition of systems from <span class="acronym">BIND</span> 8, which did not have digital signatures on its command channel messages - and thus did not have a <B -CLASS="command" ->keys</B -> clause. + and thus did not have a <span><strong class="command">keys</strong></span> clause. -It makes it possible to use an existing <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 -configuration file in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 unchanged, -and still have <B -CLASS="command" ->rndc</B -> work the same way -<B -CLASS="command" ->ndc</B -> worked in BIND 8, simply by executing the -command <KBD -CLASS="userinput" ->rndc-confgen -a</KBD -> after BIND 9 is +It makes it possible to use an existing <span class="acronym">BIND</span> 8 +configuration file in <span class="acronym">BIND</span> 9 unchanged, +and still have <span><strong class="command">rndc</strong></span> work the same way +<span><strong class="command">ndc</strong></span> worked in BIND 8, simply by executing the +command <strong class="userinput"><code>rndc-confgen -a</code></strong> after BIND 9 is installed. -</P -><P -> Since the <TT -CLASS="filename" ->rndc.key</TT -> feature +</p> +<p> + Since the <code class="filename">rndc.key</code> feature is only intended to allow the backward-compatible usage of - <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 configuration files, this feature does not + <span class="acronym">BIND</span> 8 configuration files, this feature does not have a high degree of configurability. You cannot easily change the key name or the size of the secret, so you should make a - <TT -CLASS="filename" ->rndc.conf</TT -> with your own key if you wish to change - those things. The <TT -CLASS="filename" ->rndc.key</TT -> file also has its + <code class="filename">rndc.conf</code> with your own key if you wish to change + those things. The <code class="filename">rndc.key</code> file also has its permissions set such that only the owner of the file (the user that - <B -CLASS="command" ->named</B -> is running as) can access it. If you + <span><strong class="command">named</strong></span> is running as) can access it. If you desire greater flexibility in allowing other users to access - <B -CLASS="command" ->rndc</B -> commands then you need to create an - <TT -CLASS="filename" ->rndc.conf</TT -> and make it group readable by a group - that contains the users who should have access.</P -><P ->The UNIX control channel type of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 is not supported - in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, and is not expected to be added in future + <span><strong class="command">rndc</strong></span> commands then you need to create an + <code class="filename">rndc.conf</code> and make it group readable by a group + that contains the users who should have access.</p> +<p>The UNIX control channel type of <span class="acronym">BIND</span> 8 is not supported + in <span class="acronym">BIND</span> 9, and is not expected to be added in future releases. If it is present in the controls statement from a - <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 configuration file, it is ignored - and a warning is logged.</P -><P -> To disable the command channel, use an empty <B -CLASS="command" ->controls</B -> -statement: <B -CLASS="command" ->controls { };</B ->. -</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1534" ->6.2.5. <B -CLASS="command" ->include</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" ->include <VAR -CLASS="replaceable" ->filename</VAR ->;</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1539" ->6.2.6. <B -CLASS="command" ->include</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->include</B -> statement inserts the - specified file at the point where the <B -CLASS="command" ->include</B -> - statement is encountered. The <B -CLASS="command" ->include</B -> + <span class="acronym">BIND</span> 8 configuration file, it is ignored + and a warning is logged.</p> +<p> +To disable the command channel, use an empty <span><strong class="command">controls</strong></span> +statement: <span><strong class="command">controls { };</strong></span>. +</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2552808"></a><span><strong class="command">include</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting">include <em class="replaceable"><code>filename</code></em>;</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2552823"></a><span><strong class="command">include</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">include</strong></span> statement inserts the + specified file at the point where the <span><strong class="command">include</strong></span> + statement is encountered. The <span><strong class="command">include</strong></span> statement facilitates the administration of configuration files by permitting the reading or writing of some things but not others. For example, the statement could include private keys - that are readable only by the name server.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1546" ->6.2.7. <B -CLASS="command" ->key</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" ->key <VAR -CLASS="replaceable" ->key_id</VAR -> { - algorithm <VAR -CLASS="replaceable" ->string</VAR ->; - secret <VAR -CLASS="replaceable" ->string</VAR ->; + that are readable only by the name server.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2552845"></a><span><strong class="command">key</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting">key <em class="replaceable"><code>key_id</code></em> { + algorithm <em class="replaceable"><code>string</code></em>; + secret <em class="replaceable"><code>string</code></em>; }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1553" ->6.2.8. <B -CLASS="command" ->key</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->key</B -> statement defines a shared -secret key for use with TSIG (see <A -HREF="Bv9ARM.ch04.html#tsig" ->Section 4.5</A ->) +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2552867"></a><span><strong class="command">key</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">key</strong></span> statement defines a shared +secret key for use with TSIG (see <a href="Bv9ARM.ch04.html#tsig" title="TSIG">the section called “TSIG”</a>) or the command channel -(see <A -HREF="Bv9ARM.ch06.html#controls_statement_definition_and_usage" ->Section 6.2.4</A ->). -</P -><P -> The <B -CLASS="command" ->key</B -> statement can occur at the top level -of the configuration file or inside a <B -CLASS="command" ->view</B -> -statement. Keys defined in top-level <B -CLASS="command" ->key</B -> +(see <a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage" title="controls Statement Definition and Usage">the section called “<span><strong class="command">controls</strong></span> Statement Definition and Usage”</a>). +</p> +<p> +The <span><strong class="command">key</strong></span> statement can occur at the top level +of the configuration file or inside a <span><strong class="command">view</strong></span> +statement. Keys defined in top-level <span><strong class="command">key</strong></span> statements can be used in all views. Keys intended for use in -a <B -CLASS="command" ->controls</B -> statement -(see <A -HREF="Bv9ARM.ch06.html#controls_statement_definition_and_usage" ->Section 6.2.4</A ->) +a <span><strong class="command">controls</strong></span> statement +(see <a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage" title="controls Statement Definition and Usage">the section called “<span><strong class="command">controls</strong></span> Statement Definition and Usage”</a>) must be defined at the top level. -</P -><P ->The <VAR -CLASS="replaceable" ->key_id</VAR ->, also known as the +</p> +<p>The <em class="replaceable"><code>key_id</code></em>, also known as the key name, is a domain name uniquely identifying the key. It can -be used in a <B -CLASS="command" ->server</B -> +be used in a <span><strong class="command">server</strong></span> statement to cause requests sent to that server to be signed with this key, or in address match lists to verify that incoming requests have been signed with a key -matching this name, algorithm, and secret.</P -><P ->The <VAR -CLASS="replaceable" ->algorithm_id</VAR -> is a string +matching this name, algorithm, and secret.</p> +<p>The <em class="replaceable"><code>algorithm_id</code></em> is a string that specifies a security/authentication algorithm. The only algorithm currently supported with TSIG authentication is -<VAR -CLASS="literal" ->hmac-md5</VAR ->. The -<VAR -CLASS="replaceable" ->secret_string</VAR -> is the secret to be +<code class="literal">hmac-md5</code>. The +<em class="replaceable"><code>secret_string</code></em> is the secret to be used by the algorithm, and is treated as a base-64 encoded -string.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1573" ->6.2.9. <B -CLASS="command" ->logging</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" -><B -CLASS="command" ->logging</B -> { - [ <B -CLASS="command" ->channel</B -> <VAR -CLASS="replaceable" ->channel_name</VAR -> { - ( <B -CLASS="command" ->file</B -> <VAR -CLASS="replaceable" ->path name</VAR -> - [ <B -CLASS="command" ->versions</B -> ( <VAR -CLASS="replaceable" ->number</VAR -> | <VAR -CLASS="literal" ->unlimited</VAR -> ) ] - [ <B -CLASS="command" ->size</B -> <VAR -CLASS="replaceable" ->size spec</VAR -> ] - | <B -CLASS="command" ->syslog</B -> <VAR -CLASS="replaceable" ->syslog_facility</VAR -> - | <B -CLASS="command" ->stderr</B -> - | <B -CLASS="command" ->null</B -> ); - [ <B -CLASS="command" ->severity</B -> (<VAR -CLASS="option" ->critical</VAR -> | <VAR -CLASS="option" ->error</VAR -> | <VAR -CLASS="option" ->warning</VAR -> | <VAR -CLASS="option" ->notice</VAR -> | - <VAR -CLASS="option" ->info</VAR -> | <VAR -CLASS="option" ->debug</VAR -> [ <VAR -CLASS="replaceable" ->level</VAR -> ] | <VAR -CLASS="option" ->dynamic</VAR -> ); ] - [ <B -CLASS="command" ->print-category</B -> <VAR -CLASS="option" ->yes</VAR -> or <VAR -CLASS="option" ->no</VAR ->; ] - [ <B -CLASS="command" ->print-severity</B -> <VAR -CLASS="option" ->yes</VAR -> or <VAR -CLASS="option" ->no</VAR ->; ] - [ <B -CLASS="command" ->print-time</B -> <VAR -CLASS="option" ->yes</VAR -> or <VAR -CLASS="option" ->no</VAR ->; ] +string.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2553006"></a><span><strong class="command">logging</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting"><span><strong class="command">logging</strong></span> { + [ <span><strong class="command">channel</strong></span> <em class="replaceable"><code>channel_name</code></em> { + ( <span><strong class="command">file</strong></span> <em class="replaceable"><code>path name</code></em> + [ <span><strong class="command">versions</strong></span> ( <em class="replaceable"><code>number</code></em> | <code class="literal">unlimited</code> ) ] + [ <span><strong class="command">size</strong></span> <em class="replaceable"><code>size spec</code></em> ] + | <span><strong class="command">syslog</strong></span> <em class="replaceable"><code>syslog_facility</code></em> + | <span><strong class="command">stderr</strong></span> + | <span><strong class="command">null</strong></span> ); + [ <span><strong class="command">severity</strong></span> (<code class="option">critical</code> | <code class="option">error</code> | <code class="option">warning</code> | <code class="option">notice</code> | + <code class="option">info</code> | <code class="option">debug</code> [ <em class="replaceable"><code>level</code></em> ] | <code class="option">dynamic</code> ); ] + [ <span><strong class="command">print-category</strong></span> <code class="option">yes</code> or <code class="option">no</code>; ] + [ <span><strong class="command">print-severity</strong></span> <code class="option">yes</code> or <code class="option">no</code>; ] + [ <span><strong class="command">print-time</strong></span> <code class="option">yes</code> or <code class="option">no</code>; ] }; ] - [ <B -CLASS="command" ->category</B -> <VAR -CLASS="replaceable" ->category_name</VAR -> { - <VAR -CLASS="replaceable" ->channel_name</VAR -> ; [ <VAR -CLASS="replaceable" ->channel_nam</VAR ->e ; ... ] + [ <span><strong class="command">category</strong></span> <em class="replaceable"><code>category_name</code></em> { + <em class="replaceable"><code>channel_name</code></em> ; [ <em class="replaceable"><code>channel_nam</code></em>e ; ... ] }; ] ... }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1613" ->6.2.10. <B -CLASS="command" ->logging</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->logging</B -> statement configures a wide -variety of logging options for the name server. Its <B -CLASS="command" ->channel</B -> phrase +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2553269"></a><span><strong class="command">logging</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">logging</strong></span> statement configures a wide +variety of logging options for the name server. Its <span><strong class="command">channel</strong></span> phrase associates output methods, format options and severity levels with -a name that can then be used with the <B -CLASS="command" ->category</B -> phrase -to select how various classes of messages are logged.</P -><P ->Only one <B -CLASS="command" ->logging</B -> statement is used to define -as many channels and categories as are wanted. If there is no <B -CLASS="command" ->logging</B -> statement, -the logging configuration will be:</P -><PRE -CLASS="programlisting" ->logging { +a name that can then be used with the <span><strong class="command">category</strong></span> phrase +to select how various classes of messages are logged.</p> +<p>Only one <span><strong class="command">logging</strong></span> statement is used to define +as many channels and categories as are wanted. If there is no <span><strong class="command">logging</strong></span> statement, +the logging configuration will be:</p> +<pre class="programlisting">logging { category default { default_syslog; default_debug; }; category unmatched { null; }; }; -</PRE -><P ->In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, the logging configuration is only established when -the entire configuration file has been parsed. In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8, it was -established as soon as the <B -CLASS="command" ->logging</B -> statement +</pre> +<p>In <span class="acronym">BIND</span> 9, the logging configuration is only established when +the entire configuration file has been parsed. In <span class="acronym">BIND</span> 8, it was +established as soon as the <span><strong class="command">logging</strong></span> statement was parsed. When the server is starting up, all logging messages regarding syntax errors in the configuration file go to the default -channels, or to standard error if the "<VAR -CLASS="option" ->-g</VAR ->" option -was specified.</P -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN1629" ->6.2.10.1. The <B -CLASS="command" ->channel</B -> Phrase</A -></H3 -><P ->All log output goes to one or more <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->channels</I -></SPAN ->; -you can make as many of them as you want.</P -><P ->Every channel definition must include a destination clause that +channels, or to standard error if the "<code class="option">-g</code>" option +was specified.</p> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2553321"></a>The <span><strong class="command">channel</strong></span> Phrase</h4></div></div></div> +<p>All log output goes to one or more <span class="emphasis"><em>channels</em></span>; +you can make as many of them as you want.</p> +<p>Every channel definition must include a destination clause that says whether messages selected for the channel go to a file, to a particular syslog facility, to the standard error stream, or are discarded. It can optionally also limit the message severity level that will be accepted by the channel (the default is -<B -CLASS="command" ->info</B ->), and whether to include a -<B -CLASS="command" ->named</B ->-generated time stamp, the category name -and/or severity level (the default is not to include any).</P -><P ->The <B -CLASS="command" ->null</B -> destination clause +<span><strong class="command">info</strong></span>), and whether to include a +<span><strong class="command">named</strong></span>-generated time stamp, the category name +and/or severity level (the default is not to include any).</p> +<p>The <span><strong class="command">null</strong></span> destination clause causes all messages sent to the channel to be discarded; -in that case, other options for the channel are meaningless.</P -><P ->The <B -CLASS="command" ->file</B -> destination clause directs the channel +in that case, other options for the channel are meaningless.</p> +<p>The <span><strong class="command">file</strong></span> destination clause directs the channel to a disk file. It can include limitations both on how large the file is allowed to become, and how many versions -of the file will be saved each time the file is opened.</P -><P ->If you use the <B -CLASS="command" ->versions</B -> log file option, then -<B -CLASS="command" ->named</B -> will retain that many backup versions of the file by +of the file will be saved each time the file is opened.</p> +<p>If you use the <span><strong class="command">versions</strong></span> log file option, then +<span><strong class="command">named</strong></span> will retain that many backup versions of the file by renaming them when opening. For example, if you choose to keep 3 old versions -of the file <TT -CLASS="filename" ->lamers.log</TT -> then just before it is opened -<TT -CLASS="filename" ->lamers.log.1</TT -> is renamed to -<TT -CLASS="filename" ->lamers.log.2</TT ->, <TT -CLASS="filename" ->lamers.log.0</TT -> is renamed -to <TT -CLASS="filename" ->lamers.log.1</TT ->, and <TT -CLASS="filename" ->lamers.log</TT -> is -renamed to <TT -CLASS="filename" ->lamers.log.0</TT ->. -You can say <B -CLASS="command" ->versions unlimited</B -> to not limit +of the file <code class="filename">lamers.log</code> then just before it is opened +<code class="filename">lamers.log.1</code> is renamed to +<code class="filename">lamers.log.2</code>, <code class="filename">lamers.log.0</code> is renamed +to <code class="filename">lamers.log.1</code>, and <code class="filename">lamers.log</code> is +renamed to <code class="filename">lamers.log.0</code>. +You can say <span><strong class="command">versions unlimited</strong></span> to not limit the number of versions. -If a <B -CLASS="command" ->size</B -> option is associated with the log file, +If a <span><strong class="command">size</strong></span> option is associated with the log file, then renaming is only done when the file being opened exceeds the indicated size. No backup versions are kept by default; any existing -log file is simply appended.</P -><P ->The <B -CLASS="command" ->size</B -> option for files is used to limit log -growth. If the file ever exceeds the size, then <B -CLASS="command" ->named</B -> will -stop writing to the file unless it has a <B -CLASS="command" ->versions</B -> option +log file is simply appended.</p> +<p>The <span><strong class="command">size</strong></span> option for files is used to limit log +growth. If the file ever exceeds the size, then <span><strong class="command">named</strong></span> will +stop writing to the file unless it has a <span><strong class="command">versions</strong></span> option associated with it. If backup versions are kept, the files are rolled as described above and a new one begun. If there is no -<B -CLASS="command" ->versions</B -> option, no more data will be written to the log +<span><strong class="command">versions</strong></span> option, no more data will be written to the log until some out-of-band mechanism removes or truncates the log to less than the maximum size. The default behavior is not to limit the size of the -file.</P -><P ->Example usage of the <B -CLASS="command" ->size</B -> and -<B -CLASS="command" ->versions</B -> options:</P -><PRE -CLASS="programlisting" ->channel an_example_channel { +file.</p> +<p>Example usage of the <span><strong class="command">size</strong></span> and +<span><strong class="command">versions</strong></span> options:</p> +<pre class="programlisting">channel an_example_channel { file "example.log" versions 3 size 20m; print-time yes; print-category yes; }; -</PRE -><P ->The <B -CLASS="command" ->syslog</B -> destination clause directs the +</pre> +<p>The <span><strong class="command">syslog</strong></span> destination clause directs the channel to the system log. Its argument is a -syslog facility as described in the <B -CLASS="command" ->syslog</B -> man -page. Known facilities are <B -CLASS="command" ->kern</B ->, <B -CLASS="command" ->user</B ->, -<B -CLASS="command" ->mail</B ->, <B -CLASS="command" ->daemon</B ->, <B -CLASS="command" ->auth</B ->, -<B -CLASS="command" ->syslog</B ->, <B -CLASS="command" ->lpr</B ->, <B -CLASS="command" ->news</B ->, -<B -CLASS="command" ->uucp</B ->, <B -CLASS="command" ->cron</B ->, <B -CLASS="command" ->authpriv</B ->, -<B -CLASS="command" ->ftp</B ->, <B -CLASS="command" ->local0</B ->, <B -CLASS="command" ->local1</B ->, -<B -CLASS="command" ->local2</B ->, <B -CLASS="command" ->local3</B ->, <B -CLASS="command" ->local4</B ->, -<B -CLASS="command" ->local5</B ->, <B -CLASS="command" ->local6</B -> and -<B -CLASS="command" ->local7</B ->, however not all facilities are supported on +syslog facility as described in the <span><strong class="command">syslog</strong></span> man +page. Known facilities are <span><strong class="command">kern</strong></span>, <span><strong class="command">user</strong></span>, +<span><strong class="command">mail</strong></span>, <span><strong class="command">daemon</strong></span>, <span><strong class="command">auth</strong></span>, +<span><strong class="command">syslog</strong></span>, <span><strong class="command">lpr</strong></span>, <span><strong class="command">news</strong></span>, +<span><strong class="command">uucp</strong></span>, <span><strong class="command">cron</strong></span>, <span><strong class="command">authpriv</strong></span>, +<span><strong class="command">ftp</strong></span>, <span><strong class="command">local0</strong></span>, <span><strong class="command">local1</strong></span>, +<span><strong class="command">local2</strong></span>, <span><strong class="command">local3</strong></span>, <span><strong class="command">local4</strong></span>, +<span><strong class="command">local5</strong></span>, <span><strong class="command">local6</strong></span> and +<span><strong class="command">local7</strong></span>, however not all facilities are supported on all operating systems. -How <B -CLASS="command" ->syslog</B -> will handle messages sent to -this facility is described in the <B -CLASS="command" ->syslog.conf</B -> man -page. If you have a system which uses a very old version of <B -CLASS="command" ->syslog</B -> that -only uses two arguments to the <B -CLASS="command" ->openlog()</B -> function, -then this clause is silently ignored.</P -><P ->The <B -CLASS="command" ->severity</B -> clause works like <B -CLASS="command" ->syslog</B ->'s +How <span><strong class="command">syslog</strong></span> will handle messages sent to +this facility is described in the <span><strong class="command">syslog.conf</strong></span> man +page. If you have a system which uses a very old version of <span><strong class="command">syslog</strong></span> that +only uses two arguments to the <span><strong class="command">openlog()</strong></span> function, +then this clause is silently ignored.</p> +<p>The <span><strong class="command">severity</strong></span> clause works like <span><strong class="command">syslog</strong></span>'s "priorities", except that they can also be used if you are writing -straight to a file rather than using <B -CLASS="command" ->syslog</B ->. +straight to a file rather than using <span><strong class="command">syslog</strong></span>. Messages which are not at least of the severity level given will not be selected for the channel; messages of higher severity levels -will be accepted.</P -><P ->If you are using <B -CLASS="command" ->syslog</B ->, then the <B -CLASS="command" ->syslog.conf</B -> priorities +will be accepted.</p> +<p>If you are using <span><strong class="command">syslog</strong></span>, then the <span><strong class="command">syslog.conf</strong></span> priorities will also determine what eventually passes through. For example, -defining a channel facility and severity as <B -CLASS="command" ->daemon</B -> and <B -CLASS="command" ->debug</B -> but -only logging <B -CLASS="command" ->daemon.warning</B -> via <B -CLASS="command" ->syslog.conf</B -> will -cause messages of severity <B -CLASS="command" ->info</B -> and <B -CLASS="command" ->notice</B -> to -be dropped. If the situation were reversed, with <B -CLASS="command" ->named</B -> writing -messages of only <B -CLASS="command" ->warning</B -> or higher, then <B -CLASS="command" ->syslogd</B -> would -print all messages it received from the channel.</P -><P ->The <B -CLASS="command" ->stderr</B -> destination clause directs the +defining a channel facility and severity as <span><strong class="command">daemon</strong></span> and <span><strong class="command">debug</strong></span> but +only logging <span><strong class="command">daemon.warning</strong></span> via <span><strong class="command">syslog.conf</strong></span> will +cause messages of severity <span><strong class="command">info</strong></span> and <span><strong class="command">notice</strong></span> to +be dropped. If the situation were reversed, with <span><strong class="command">named</strong></span> writing +messages of only <span><strong class="command">warning</strong></span> or higher, then <span><strong class="command">syslogd</strong></span> would +print all messages it received from the channel.</p> +<p>The <span><strong class="command">stderr</strong></span> destination clause directs the channel to the server's standard error stream. This is intended for use when the server is running as a foreground process, for example -when debugging a configuration.</P -><P ->The server can supply extensive debugging information when +when debugging a configuration.</p> +<p>The server can supply extensive debugging information when it is in debugging mode. If the server's global debug level is greater than zero, then debugging mode will be active. The global debug -level is set either by starting the <B -CLASS="command" ->named</B -> server -with the <VAR -CLASS="option" ->-d</VAR -> flag followed by a positive integer, -or by running <B -CLASS="command" ->rndc trace</B ->. +level is set either by starting the <span><strong class="command">named</strong></span> server +with the <code class="option">-d</code> flag followed by a positive integer, +or by running <span><strong class="command">rndc trace</strong></span>. The global debug level -can be set to zero, and debugging mode turned off, by running <B -CLASS="command" ->ndc -notrace</B ->. All debugging messages in the server have a debug +can be set to zero, and debugging mode turned off, by running <span><strong class="command">ndc +notrace</strong></span>. All debugging messages in the server have a debug level, and higher debug levels give more detailed output. Channels -that specify a specific debug severity, for example:</P -><PRE -CLASS="programlisting" ->channel specific_debug_level { +that specify a specific debug severity, for example:</p> +<pre class="programlisting">channel specific_debug_level { file "foo"; severity debug 3; }; -</PRE -><P ->will get debugging output of level 3 or less any time the +</pre> +<p>will get debugging output of level 3 or less any time the server is in debugging mode, regardless of the global debugging -level. Channels with <B -CLASS="command" ->dynamic</B -> severity use the -server's global debug level to determine what messages to print.</P -><P ->If <B -CLASS="command" ->print-time</B -> has been turned on, then -the date and time will be logged. <B -CLASS="command" ->print-time</B -> may -be specified for a <B -CLASS="command" ->syslog</B -> channel, but is usually -pointless since <B -CLASS="command" ->syslog</B -> also prints the date and -time. If <B -CLASS="command" ->print-category</B -> is requested, then the -category of the message will be logged as well. Finally, if <B -CLASS="command" ->print-severity</B -> is -on, then the severity level of the message will be logged. The <B -CLASS="command" ->print-</B -> options may +level. Channels with <span><strong class="command">dynamic</strong></span> severity use the +server's global debug level to determine what messages to print.</p> +<p>If <span><strong class="command">print-time</strong></span> has been turned on, then +the date and time will be logged. <span><strong class="command">print-time</strong></span> may +be specified for a <span><strong class="command">syslog</strong></span> channel, but is usually +pointless since <span><strong class="command">syslog</strong></span> also prints the date and +time. If <span><strong class="command">print-category</strong></span> is requested, then the +category of the message will be logged as well. Finally, if <span><strong class="command">print-severity</strong></span> is +on, then the severity level of the message will be logged. The <span><strong class="command">print-</strong></span> options may be used in any combination, and will always be printed in the following -order: time, category, severity. Here is an example where all three <B -CLASS="command" ->print-</B -> options -are on:</P -><P -><SAMP -CLASS="computeroutput" ->28-Feb-2000 15:05:32.863 general: notice: running</SAMP -></P -><P ->There are four predefined channels that are used for -<B -CLASS="command" ->named</B ->'s default logging as follows. How they are -used is described in <A -HREF="Bv9ARM.ch06.html#the_category_phrase" ->Section 6.2.10.2</A ->. -</P -><PRE -CLASS="programlisting" ->channel default_syslog { +order: time, category, severity. Here is an example where all three <span><strong class="command">print-</strong></span> options +are on:</p> +<p><code class="computeroutput">28-Feb-2000 15:05:32.863 general: notice: running</code></p> +<p>There are four predefined channels that are used for +<span><strong class="command">named</strong></span>'s default logging as follows. How they are +used is described in <a href="Bv9ARM.ch06.html#the_category_phrase" title="The category Phrase">the section called “The <span><strong class="command">category</strong></span> Phrase”</a>. +</p> +<pre class="programlisting">channel default_syslog { syslog daemon; // send to syslog's daemon // facility severity info; // only send priority info @@ -2354,78 +850,37 @@ channel null { null; // toss anything sent to // this channel }; -</PRE -><P ->The <B -CLASS="command" ->default_debug</B -> channel has the special +</pre> +<p>The <span><strong class="command">default_debug</strong></span> channel has the special property that it only produces output when the server's debug level is -nonzero. It normally writes to a file <TT -CLASS="filename" ->named.run</TT -> -in the server's working directory.</P -><P ->For security reasons, when the "<VAR -CLASS="option" ->-u</VAR ->" -command line option is used, the <TT -CLASS="filename" ->named.run</TT -> file -is created only after <B -CLASS="command" ->named</B -> has changed to the -new UID, and any debug output generated while <B -CLASS="command" ->named</B -> is +nonzero. It normally writes to a file <code class="filename">named.run</code> +in the server's working directory.</p> +<p>For security reasons, when the "<code class="option">-u</code>" +command line option is used, the <code class="filename">named.run</code> file +is created only after <span><strong class="command">named</strong></span> has changed to the +new UID, and any debug output generated while <span><strong class="command">named</strong></span> is starting up and still running as root is discarded. If you need -to capture this output, you must run the server with the "<VAR -CLASS="option" ->-g</VAR ->" -option and redirect standard error to a file.</P -><P ->Once a channel is defined, it cannot be redefined. Thus you +to capture this output, you must run the server with the "<code class="option">-g</code>" +option and redirect standard error to a file.</p> +<p>Once a channel is defined, it cannot be redefined. Thus you cannot alter the built-in channels directly, but you can modify -the default logging by pointing categories at channels you have defined.</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="the_category_phrase" ->6.2.10.2. The <B -CLASS="command" ->category</B -> Phrase</A -></H3 -><P ->There are many categories, so you can send the logs you want +the default logging by pointing categories at channels you have defined.</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="the_category_phrase"></a>The <span><strong class="command">category</strong></span> Phrase</h4></div></div></div> +<p>There are many categories, so you can send the logs you want to see wherever you want, without seeing logs you don't want. If you don't specify a list of channels for a category, then log messages -in that category will be sent to the <B -CLASS="command" ->default</B -> category +in that category will be sent to the <span><strong class="command">default</strong></span> category instead. If you don't specify a default category, the following -"default default" is used:</P -><PRE -CLASS="programlisting" ->category default { default_syslog; default_debug; }; -</PRE -><P ->As an example, let's say you want to log security events to +"default default" is used:</p> +<pre class="programlisting">category default { default_syslog; default_debug; }; +</pre> +<p>As an example, let's say you want to log security events to a file, but you also want keep the default logging behavior. You'd -specify the following:</P -><PRE -CLASS="programlisting" ->channel my_security_channel { +specify the following:</p> +<pre class="programlisting">channel my_security_channel { file "my_security_file"; severity info; }; @@ -2433,2691 +888,690 @@ category security { my_security_channel; default_syslog; default_debug; -};</PRE -><P ->To discard all messages in a category, specify the <B -CLASS="command" ->null</B -> channel:</P -><PRE -CLASS="programlisting" ->category xfer-out { null; }; +};</pre> +<p>To discard all messages in a category, specify the <span><strong class="command">null</strong></span> channel:</p> +<pre class="programlisting">category xfer-out { null; }; category notify { null; }; -</PRE -><P ->Following are the available categories and brief descriptions +</pre> +<p>Following are the available categories and brief descriptions of the types of log information they contain. More -categories may be added in future <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> releases.</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN1753" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->default</B -></P -></TD -><TD -><P ->The default category defines the logging +categories may be added in future <span class="acronym">BIND</span> releases.</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">default</strong></span></p></td> +<td><p>The default category defines the logging options for those categories where no specific configuration has been -defined.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->general</B -></P -></TD -><TD -><P ->The catch-all. Many things still aren't -classified into categories, and they all end up here.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->database</B -></P -></TD -><TD -><P ->Messages relating to the databases used -internally by the name server to store zone and cache data.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->security</B -></P -></TD -><TD -><P ->Approval and denial of requests.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->config</B -></P -></TD -><TD -><P ->Configuration file parsing and processing.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->resolver</B -></P -></TD -><TD -><P ->DNS resolution, such as the recursive -lookups performed on behalf of clients by a caching name server.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->xfer-in</B -></P -></TD -><TD -><P ->Zone transfers the server is receiving.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->xfer-out</B -></P -></TD -><TD -><P ->Zone transfers the server is sending.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->notify</B -></P -></TD -><TD -><P ->The NOTIFY protocol.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->client</B -></P -></TD -><TD -><P ->Processing of client requests.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->unmatched</B -></P -></TD -><TD -><P ->Messages that named was unable to determine the -class of or for which there was no matching <B -CLASS="command" ->view</B ->. -A one line summary is also logged to the <B -CLASS="command" ->client</B -> category. +defined.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">general</strong></span></p></td> +<td><p>The catch-all. Many things still aren't +classified into categories, and they all end up here.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">database</strong></span></p></td> +<td><p>Messages relating to the databases used +internally by the name server to store zone and cache data.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">security</strong></span></p></td> +<td><p>Approval and denial of requests.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">config</strong></span></p></td> +<td><p>Configuration file parsing and processing.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">resolver</strong></span></p></td> +<td><p>DNS resolution, such as the recursive +lookups performed on behalf of clients by a caching name server.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">xfer-in</strong></span></p></td> +<td><p>Zone transfers the server is receiving.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">xfer-out</strong></span></p></td> +<td><p>Zone transfers the server is sending.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">notify</strong></span></p></td> +<td><p>The NOTIFY protocol.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">client</strong></span></p></td> +<td><p>Processing of client requests.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">unmatched</strong></span></p></td> +<td><p>Messages that named was unable to determine the +class of or for which there was no matching <span><strong class="command">view</strong></span>. +A one line summary is also logged to the <span><strong class="command">client</strong></span> category. This category is best sent to a file or stderr, by default it is sent to -the <B -CLASS="command" ->null</B -> channel.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->network</B -></P -></TD -><TD -><P ->Network operations.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->update</B -></P -></TD -><TD -><P ->Dynamic updates.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->update-security</B -></P -></TD -><TD -><P ->Approval and denial of update requests.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->queries</B -></P -></TD -><TD -><P ->Specify where queries should be logged to.</P -> -<P -> At startup, specifing the category <B -CLASS="command" ->queries</B -> will also -enable query logging unless <B -CLASS="command" ->querylog</B -> option has been +the <span><strong class="command">null</strong></span> channel.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">network</strong></span></p></td> +<td><p>Network operations.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">update</strong></span></p></td> +<td><p>Dynamic updates.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">update-security</strong></span></p></td> +<td><p>Approval and denial of update requests.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">queries</strong></span></p></td> +<td> +<p>Specify where queries should be logged to.</p> +<p> +At startup, specifing the category <span><strong class="command">queries</strong></span> will also +enable query logging unless <span><strong class="command">querylog</strong></span> option has been specified. -</P -> -<P -> The query log entry reports the client's IP address and port number. The +</p> +<p> +The query log entry reports the client's IP address and port number. The query name, class and type. It also reports whether the Recursion Desired flag was set (+ if set, - if not set), EDNS was in use (E) or if the -query was signed (S).</P -> -<PRE -CLASS="programlisting" -><SAMP -CLASS="computeroutput" ->client 127.0.0.1#62536: query: www.example.com IN AAAA +SE</SAMP -> -<SAMP -CLASS="computeroutput" ->client ::1#62537: query: www.example.net IN AAAA -SE</SAMP -> -</PRE -> -</TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->dispatch</B -></P -></TD -><TD -><P ->Dispatching of incoming packets to the +query was signed (S).</p> +<p><code class="computeroutput">client 127.0.0.1#62536: query: www.example.com IN AAAA +SE</code> +</p> +<p><code class="computeroutput">client ::1#62537: query: www.example.net IN AAAA -SE</code> +</p> +</td> +</tr> +<tr> +<td><p><span><strong class="command">dispatch</strong></span></p></td> +<td><p>Dispatching of incoming packets to the server modules where they are to be processed. -</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->dnssec</B -></P -></TD -><TD -><P ->DNSSEC and TSIG protocol processing. -</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->lame-servers</B -></P -></TD -><TD -><P ->Lame servers. These are misconfigurations +</p></td> +</tr> +<tr> +<td><p><span><strong class="command">dnssec</strong></span></p></td> +<td><p>DNSSEC and TSIG protocol processing. +</p></td> +</tr> +<tr> +<td><p><span><strong class="command">lame-servers</strong></span></p></td> +<td><p>Lame servers. These are misconfigurations in remote servers, discovered by BIND 9 when trying to query those servers during resolution. -</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->delegation-only</B -></P -></TD -><TD -><P ->Delegation only. Logs queries that have have +</p></td> +</tr> +<tr> +<td><p><span><strong class="command">delegation-only</strong></span></p></td> +<td><p>Delegation only. Logs queries that have have been forced to NXDOMAIN as the result of a delegation-only zone or -a <B -CLASS="command" ->delegation-only</B -> in a hint or stub zone declaration. -</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1883" ->6.2.11. <B -CLASS="command" ->lwres</B -> Statement Grammar</A -></H2 -><P -> This is the grammar of the <B -CLASS="command" ->lwres</B -> -statement in the <TT -CLASS="filename" ->named.conf</TT -> file:</P -><PRE -CLASS="programlisting" -><B -CLASS="command" ->lwres</B -> { - [<SPAN -CLASS="optional" -> listen-on { <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; ... </SPAN ->] }; </SPAN ->] - [<SPAN -CLASS="optional" -> view <VAR -CLASS="replaceable" ->view_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> search { <VAR -CLASS="replaceable" ->domain_name</VAR -> ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->domain_name</VAR -> ; ... </SPAN ->] }; </SPAN ->] - [<SPAN -CLASS="optional" -> ndots <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] +a <span><strong class="command">delegation-only</strong></span> in a hint or stub zone declaration. +</p></td> +</tr> +</tbody> +</table></div> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2554474"></a><span><strong class="command">lwres</strong></span> Statement Grammar</h3></div></div></div> +<p> This is the grammar of the <span><strong class="command">lwres</strong></span> +statement in the <code class="filename">named.conf</code> file:</p> +<pre class="programlisting"><span><strong class="command">lwres</strong></span> { + [<span class="optional"> listen-on { <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; [<span class="optional"> <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; ... </span>] }; </span>] + [<span class="optional"> view <em class="replaceable"><code>view_name</code></em>; </span>] + [<span class="optional"> search { <em class="replaceable"><code>domain_name</code></em> ; [<span class="optional"> <em class="replaceable"><code>domain_name</code></em> ; ... </span>] }; </span>] + [<span class="optional"> ndots <em class="replaceable"><code>number</code></em>; </span>] }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1907" ->6.2.12. <B -CLASS="command" ->lwres</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->lwres</B -> statement configures the name +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2554547"></a><span><strong class="command">lwres</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">lwres</strong></span> statement configures the name server to also act as a lightweight resolver server, see -<A -HREF="Bv9ARM.ch05.html#lwresd" ->Section 5.2</A ->. There may be be multiple -<B -CLASS="command" ->lwres</B -> statements configuring -lightweight resolver servers with different properties.</P -><P ->The <B -CLASS="command" ->listen-on</B -> statement specifies a list of +<a href="Bv9ARM.ch05.html#lwresd" title="Running a Resolver Daemon">the section called “Running a Resolver Daemon”</a>. There may be be multiple +<span><strong class="command">lwres</strong></span> statements configuring +lightweight resolver servers with different properties.</p> +<p>The <span><strong class="command">listen-on</strong></span> statement specifies a list of addresses (and ports) that this instance of a lightweight resolver daemon should accept requests on. If no port is specified, port 921 is used. If this statement is omitted, requests will be accepted on 127.0.0.1, -port 921.</P -><P ->The <B -CLASS="command" ->view</B -> statement binds this instance of a +port 921.</p> +<p>The <span><strong class="command">view</strong></span> statement binds this instance of a lightweight resolver daemon to a view in the DNS namespace, so that the response will be constructed in the same manner as a normal DNS query matching this view. If this statement is omitted, the default view is -used, and if there is no default view, an error is triggered.</P -><P ->The <B -CLASS="command" ->search</B -> statement is equivalent to the -<B -CLASS="command" ->search</B -> statement in -<TT -CLASS="filename" ->/etc/resolv.conf</TT ->. It provides a list of domains -which are appended to relative names in queries.</P -><P ->The <B -CLASS="command" ->ndots</B -> statement is equivalent to the -<B -CLASS="command" ->ndots</B -> statement in -<TT -CLASS="filename" ->/etc/resolv.conf</TT ->. It indicates the minimum +used, and if there is no default view, an error is triggered.</p> +<p>The <span><strong class="command">search</strong></span> statement is equivalent to the +<span><strong class="command">search</strong></span> statement in +<code class="filename">/etc/resolv.conf</code>. It provides a list of domains +which are appended to relative names in queries.</p> +<p>The <span><strong class="command">ndots</strong></span> statement is equivalent to the +<span><strong class="command">ndots</strong></span> statement in +<code class="filename">/etc/resolv.conf</code>. It indicates the minimum number of dots in a relative domain name that should result in an -exact match lookup before search path elements are appended.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1926" ->6.2.13. <B -CLASS="command" ->masters</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" -> <B -CLASS="command" ->masters</B -> <VAR -CLASS="replaceable" ->name</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] { ( <VAR -CLASS="replaceable" ->masters_list</VAR -> | <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] [<SPAN -CLASS="optional" ->key <VAR -CLASS="replaceable" ->key</VAR -></SPAN ->] ) ; [<SPAN -CLASS="optional" ->...</SPAN ->] } ; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1941" ->6.2.14. <B -CLASS="command" ->masters</B -> Statement Definition and Usage</A -></H2 -><P -><B -CLASS="command" ->masters</B -> lists allow for a common set of masters -to be easily used by multiple stub and slave zones.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN1946" ->6.2.15. <B -CLASS="command" ->options</B -> Statement Grammar</A -></H2 -><P ->This is the grammar of the <B -CLASS="command" ->options</B -> -statement in the <TT -CLASS="filename" ->named.conf</TT -> file:</P -><PRE -CLASS="programlisting" ->options { - [<SPAN -CLASS="optional" -> version <VAR -CLASS="replaceable" ->version_string</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> hostname <VAR -CLASS="replaceable" ->hostname_string</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> server-id <VAR -CLASS="replaceable" ->server_id_string</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> directory <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> key-directory <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> named-xfer <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> tkey-domain <VAR -CLASS="replaceable" ->domainname</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> tkey-dhkey <VAR -CLASS="replaceable" ->key_name</VAR -> <VAR -CLASS="replaceable" ->key_tag</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> dump-file <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> memstatistics-file <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> pid-file <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> statistics-file <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> zone-statistics <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> auth-nxdomain <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> deallocate-on-exit <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> dialup <VAR -CLASS="replaceable" ->dialup_option</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> fake-iquery <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> fetch-glue <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> flush-zones-on-shutdown <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> has-old-clients <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> host-statistics <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> host-statistics-max <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> minimal-responses <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> multiple-cnames <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> notify <VAR -CLASS="replaceable" ->yes_or_no</VAR -> | <VAR -CLASS="replaceable" ->explicit</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> recursion <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> rfc2308-type1 <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> use-id-pool <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> maintain-ixfr-base <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> dnssec-enable <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> dnssec-lookaside <VAR -CLASS="replaceable" ->domain</VAR -> trust-anchor <VAR -CLASS="replaceable" ->domain</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> dnssec-must-be-secure <VAR -CLASS="replaceable" ->domain yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> forward ( <VAR -CLASS="replaceable" ->only</VAR -> | <VAR -CLASS="replaceable" ->first</VAR -> ); </SPAN ->] - [<SPAN -CLASS="optional" -> forwarders { <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; ... </SPAN ->] }; </SPAN ->] - [<SPAN -CLASS="optional" -> dual-stack-servers [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] { ( <VAR -CLASS="replaceable" ->domain_name</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] | <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ) ; ... }; </SPAN ->] - [<SPAN -CLASS="optional" -> check-names ( <VAR -CLASS="replaceable" ->master</VAR -> | <VAR -CLASS="replaceable" ->slave</VAR -> | <VAR -CLASS="replaceable" ->response</VAR -> )( <VAR -CLASS="replaceable" ->warn</VAR -> | <VAR -CLASS="replaceable" ->fail</VAR -> | <VAR -CLASS="replaceable" ->ignore</VAR -> ); </SPAN ->] - [<SPAN -CLASS="optional" -> allow-notify { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-query { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-transfer { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-recursion { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-update-forwarding { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-v6-synthesis { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> blackhole { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> avoid-v4-udp-ports { <VAR -CLASS="replaceable" ->port_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> avoid-v6-udp-ports { <VAR -CLASS="replaceable" ->port_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> listen-on [<SPAN -CLASS="optional" -> port <VAR -CLASS="replaceable" ->ip_port</VAR -> </SPAN ->] { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> listen-on-v6 [<SPAN -CLASS="optional" -> port <VAR -CLASS="replaceable" ->ip_port</VAR -> </SPAN ->] { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }; </SPAN ->] - [<SPAN -CLASS="optional" -> query-source [<SPAN -CLASS="optional" -> address ( <VAR -CLASS="replaceable" ->ip_addr</VAR -> | <VAR -CLASS="replaceable" ->*</VAR -> ) </SPAN ->] [<SPAN -CLASS="optional" -> port ( <VAR -CLASS="replaceable" ->ip_port</VAR -> | <VAR -CLASS="replaceable" ->*</VAR -> ) </SPAN ->]; </SPAN ->] - [<SPAN -CLASS="optional" -> query-source-v6 [<SPAN -CLASS="optional" -> address ( <VAR -CLASS="replaceable" ->ip_addr</VAR -> | <VAR -CLASS="replaceable" ->*</VAR -> ) </SPAN ->] [<SPAN -CLASS="optional" -> port ( <VAR -CLASS="replaceable" ->ip_port</VAR -> | <VAR -CLASS="replaceable" ->*</VAR -> ) </SPAN ->]; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-time-in <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-time-out <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-idle-in <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-idle-out <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> tcp-clients <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> recursive-clients <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> serial-query-rate <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> serial-queries <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> tcp-listen-queue <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-format <VAR -CLASS="replaceable" ->( one-answer | many-answers )</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> transfers-in <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> transfers-out <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> transfers-per-ns <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> alt-transfer-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> alt-transfer-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> use-alt-transfer-source <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> notify-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> notify-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> also-notify { <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; ... </SPAN ->] }; </SPAN ->] - [<SPAN -CLASS="optional" -> max-ixfr-log-size <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> max-journal-size <VAR -CLASS="replaceable" ->size_spec</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> coresize <VAR -CLASS="replaceable" ->size_spec</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> datasize <VAR -CLASS="replaceable" ->size_spec</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> files <VAR -CLASS="replaceable" ->size_spec</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> stacksize <VAR -CLASS="replaceable" ->size_spec</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> cleaning-interval <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> heartbeat-interval <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> interface-interval <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> statistics-interval <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> topology { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }</SPAN ->]; - [<SPAN -CLASS="optional" -> sortlist { <VAR -CLASS="replaceable" ->address_match_list</VAR -> }</SPAN ->]; - [<SPAN -CLASS="optional" -> rrset-order { <VAR -CLASS="replaceable" ->order_spec</VAR -> ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->order_spec</VAR -> ; ... </SPAN ->] </SPAN ->] }; - [<SPAN -CLASS="optional" -> lame-ttl <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> max-ncache-ttl <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> max-cache-ttl <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> sig-validity-interval <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> min-roots <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> use-ixfr <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> provide-ixfr <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> request-ixfr <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> treat-cr-as-space <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> min-refresh-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-refresh-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> min-retry-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-retry-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> port <VAR -CLASS="replaceable" ->ip_port</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> additional-from-auth <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> additional-from-cache <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> random-device <VAR -CLASS="replaceable" ->path_name</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-cache-size <VAR -CLASS="replaceable" ->size_spec</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> match-mapped-addresses <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> preferred-glue ( <VAR -CLASS="replaceable" ->A</VAR -> | <VAR -CLASS="replaceable" ->AAAA</VAR -> | <VAR -CLASS="replaceable" ->NONE</VAR -> ); </SPAN ->] - [<SPAN -CLASS="optional" -> edns-udp-size <VAR -CLASS="replaceable" ->number</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> root-delegation-only [<SPAN -CLASS="optional" -> exclude { <VAR -CLASS="replaceable" ->namelist</VAR -> } </SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> querylog <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> disable-algorithms <VAR -CLASS="replaceable" ->domain</VAR -> { <VAR -CLASS="replaceable" ->algorithm</VAR ->; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->algorithm</VAR ->; </SPAN ->] }; </SPAN ->] +exact match lookup before search path elements are appended.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2554610"></a><span><strong class="command">masters</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting"> +<span><strong class="command">masters</strong></span> <em class="replaceable"><code>name</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] { ( <em class="replaceable"><code>masters_list</code></em> | <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] [<span class="optional">key <em class="replaceable"><code>key</code></em></span>] ) ; [<span class="optional">...</span>] } ; +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2554653"></a><span><strong class="command">masters</strong></span> Statement Definition and Usage </h3></div></div></div> +<p><span><strong class="command">masters</strong></span> lists allow for a common set of masters +to be easily used by multiple stub and slave zones.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2554668"></a><span><strong class="command">options</strong></span> Statement Grammar</h3></div></div></div> +<p>This is the grammar of the <span><strong class="command">options</strong></span> +statement in the <code class="filename">named.conf</code> file:</p> +<pre class="programlisting">options { + [<span class="optional"> version <em class="replaceable"><code>version_string</code></em>; </span>] + [<span class="optional"> hostname <em class="replaceable"><code>hostname_string</code></em>; </span>] + [<span class="optional"> server-id <em class="replaceable"><code>server_id_string</code></em>; </span>] + [<span class="optional"> directory <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> key-directory <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> named-xfer <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> tkey-domain <em class="replaceable"><code>domainname</code></em>; </span>] + [<span class="optional"> tkey-dhkey <em class="replaceable"><code>key_name</code></em> <em class="replaceable"><code>key_tag</code></em>; </span>] + [<span class="optional"> dump-file <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> memstatistics-file <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> pid-file <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> statistics-file <em class="replaceable"><code>path_name</code></em>; </span>] + [<span class="optional"> zone-statistics <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> auth-nxdomain <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> deallocate-on-exit <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> dialup <em class="replaceable"><code>dialup_option</code></em>; </span>] + [<span class="optional"> fake-iquery <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> fetch-glue <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> flush-zones-on-shutdown <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> has-old-clients <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> host-statistics <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> host-statistics-max <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> minimal-responses <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> multiple-cnames <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> notify <em class="replaceable"><code>yes_or_no</code></em> | <em class="replaceable"><code>explicit</code></em>; </span>] + [<span class="optional"> recursion <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> rfc2308-type1 <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> use-id-pool <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> maintain-ixfr-base <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> dnssec-enable <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> dnssec-lookaside <em class="replaceable"><code>domain</code></em> trust-anchor <em class="replaceable"><code>domain</code></em>; </span>] + [<span class="optional"> dnssec-must-be-secure <em class="replaceable"><code>domain yes_or_no</code></em>; </span>] + [<span class="optional"> forward ( <em class="replaceable"><code>only</code></em> | <em class="replaceable"><code>first</code></em> ); </span>] + [<span class="optional"> forwarders { [<span class="optional"> <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; ... </span>] }; </span>] + [<span class="optional"> dual-stack-servers [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] { ( <em class="replaceable"><code>domain_name</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] | <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ) ; ... }; </span>] + [<span class="optional"> check-names ( <em class="replaceable"><code>master</code></em> | <em class="replaceable"><code>slave</code></em> | <em class="replaceable"><code>response</code></em> )( <em class="replaceable"><code>warn</code></em> | <em class="replaceable"><code>fail</code></em> | <em class="replaceable"><code>ignore</code></em> ); </span>] + [<span class="optional"> allow-notify { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> allow-query { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> allow-transfer { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> allow-recursion { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> allow-update-forwarding { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> allow-v6-synthesis { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> blackhole { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> avoid-v4-udp-ports { <em class="replaceable"><code>port_list</code></em> }; </span>] + [<span class="optional"> avoid-v6-udp-ports { <em class="replaceable"><code>port_list</code></em> }; </span>] + [<span class="optional"> listen-on [<span class="optional"> port <em class="replaceable"><code>ip_port</code></em> </span>] { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> listen-on-v6 [<span class="optional"> port <em class="replaceable"><code>ip_port</code></em> </span>] { <em class="replaceable"><code>address_match_list</code></em> }; </span>] + [<span class="optional"> query-source [<span class="optional"> address ( <em class="replaceable"><code>ip_addr</code></em> | <em class="replaceable"><code>*</code></em> ) </span>] [<span class="optional"> port ( <em class="replaceable"><code>ip_port</code></em> | <em class="replaceable"><code>*</code></em> ) </span>]; </span>] + [<span class="optional"> query-source-v6 [<span class="optional"> address ( <em class="replaceable"><code>ip_addr</code></em> | <em class="replaceable"><code>*</code></em> ) </span>] [<span class="optional"> port ( <em class="replaceable"><code>ip_port</code></em> | <em class="replaceable"><code>*</code></em> ) </span>]; </span>] + [<span class="optional"> max-transfer-time-in <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> max-transfer-time-out <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> max-transfer-idle-in <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> max-transfer-idle-out <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> tcp-clients <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> recursive-clients <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> serial-query-rate <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> serial-queries <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> tcp-listen-queue <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> transfer-format <em class="replaceable"><code>( one-answer | many-answers )</code></em>; </span>] + [<span class="optional"> transfers-in <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> transfers-out <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> transfers-per-ns <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> transfer-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> transfer-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> alt-transfer-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> alt-transfer-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> use-alt-transfer-source <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> notify-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> notify-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> also-notify { <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; [<span class="optional"> <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; ... </span>] }; </span>] + [<span class="optional"> max-ixfr-log-size <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> max-journal-size <em class="replaceable"><code>size_spec</code></em>; </span>] + [<span class="optional"> coresize <em class="replaceable"><code>size_spec</code></em> ; </span>] + [<span class="optional"> datasize <em class="replaceable"><code>size_spec</code></em> ; </span>] + [<span class="optional"> files <em class="replaceable"><code>size_spec</code></em> ; </span>] + [<span class="optional"> stacksize <em class="replaceable"><code>size_spec</code></em> ; </span>] + [<span class="optional"> cleaning-interval <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> heartbeat-interval <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> interface-interval <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> statistics-interval <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> topology { <em class="replaceable"><code>address_match_list</code></em> }</span>]; + [<span class="optional"> sortlist { <em class="replaceable"><code>address_match_list</code></em> }</span>]; + [<span class="optional"> rrset-order { <em class="replaceable"><code>order_spec</code></em> ; [<span class="optional"> <em class="replaceable"><code>order_spec</code></em> ; ... </span>] </span>] }; + [<span class="optional"> lame-ttl <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> max-ncache-ttl <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> max-cache-ttl <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> sig-validity-interval <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> min-roots <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> use-ixfr <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> provide-ixfr <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> request-ixfr <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> treat-cr-as-space <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> min-refresh-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-refresh-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> min-retry-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-retry-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> port <em class="replaceable"><code>ip_port</code></em>; </span>] + [<span class="optional"> additional-from-auth <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> additional-from-cache <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> random-device <em class="replaceable"><code>path_name</code></em> ; </span>] + [<span class="optional"> max-cache-size <em class="replaceable"><code>size_spec</code></em> ; </span>] + [<span class="optional"> match-mapped-addresses <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> preferred-glue ( <em class="replaceable"><code>A</code></em> | <em class="replaceable"><code>AAAA</code></em> | <em class="replaceable"><code>NONE</code></em> ); </span>] + [<span class="optional"> edns-udp-size <em class="replaceable"><code>number</code></em>; </span>] + [<span class="optional"> root-delegation-only [<span class="optional"> exclude { <em class="replaceable"><code>namelist</code></em> } </span>] ; </span>] + [<span class="optional"> querylog <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> disable-algorithms <em class="replaceable"><code>domain</code></em> { <em class="replaceable"><code>algorithm</code></em>; [<span class="optional"> <em class="replaceable"><code>algorithm</code></em>; </span>] }; </span>] }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="options" ->6.2.16. <B -CLASS="command" ->options</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->options</B -> statement sets up global options -to be used by <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->. This statement may appear only -once in a configuration file. If there is no <B -CLASS="command" ->options</B -> +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="options"></a><span><strong class="command">options</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">options</strong></span> statement sets up global options +to be used by <span class="acronym">BIND</span>. This statement may appear only +once in a configuration file. If there is no <span><strong class="command">options</strong></span> statement, an options block with each option set to its default will -be used.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->directory</B -></DT -><DD -><P ->The working directory of the server. +be used.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">directory</strong></span></span></dt> +<dd><p>The working directory of the server. Any non-absolute pathnames in the configuration file will be taken as relative to this directory. The default location for most server -output files (e.g. <TT -CLASS="filename" ->named.run</TT ->) is this directory. +output files (e.g. <code class="filename">named.run</code>) is this directory. If a directory is not specified, the working directory defaults -to `<TT -CLASS="filename" ->.</TT ->', the directory from which the server -was started. The directory specified should be an absolute path.</P -></DD -><DT -><B -CLASS="command" ->key-directory</B -></DT -><DD -><P ->When performing dynamic update of secure zones, the +to `<code class="filename">.</code>', the directory from which the server +was started. The directory specified should be an absolute path.</p></dd> +<dt><span class="term"><span><strong class="command">key-directory</strong></span></span></dt> +<dd><p>When performing dynamic update of secure zones, the directory where the public and private key files should be found, if different than the current working directory. The directory specified -must be an absolute path.</P -></DD -><DT -><B -CLASS="command" ->named-xfer</B -></DT -><DD -><P -><SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->This option is obsolete.</I -></SPAN -> -It was used in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 to -specify the pathname to the <B -CLASS="command" ->named-xfer</B -> program. -In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, no separate <B -CLASS="command" ->named-xfer</B -> program is -needed; its functionality is built into the name server.</P -></DD -><DT -><B -CLASS="command" ->tkey-domain</B -></DT -><DD -><P ->The domain appended to the names of all -shared keys generated with <B -CLASS="command" ->TKEY</B ->. When a client -requests a <B -CLASS="command" ->TKEY</B -> exchange, it may or may not specify +must be an absolute path.</p></dd> +<dt><span class="term"><span><strong class="command">named-xfer</strong></span></span></dt> +<dd><p><span class="emphasis"><em>This option is obsolete.</em></span> +It was used in <span class="acronym">BIND</span> 8 to +specify the pathname to the <span><strong class="command">named-xfer</strong></span> program. +In <span class="acronym">BIND</span> 9, no separate <span><strong class="command">named-xfer</strong></span> program is +needed; its functionality is built into the name server.</p></dd> +<dt><span class="term"><span><strong class="command">tkey-domain</strong></span></span></dt> +<dd><p>The domain appended to the names of all +shared keys generated with <span><strong class="command">TKEY</strong></span>. When a client +requests a <span><strong class="command">TKEY</strong></span> exchange, it may or may not specify the desired name for the key. If present, the name of the shared -key will be "<VAR -CLASS="varname" ->client specified part</VAR ->" + -"<VAR -CLASS="varname" ->tkey-domain</VAR ->". -Otherwise, the name of the shared key will be "<VAR -CLASS="varname" ->random hex -digits</VAR ->" + "<VAR -CLASS="varname" ->tkey-domain</VAR ->". In most cases, -the <B -CLASS="command" ->domainname</B -> should be the server's domain -name.</P -></DD -><DT -><B -CLASS="command" ->tkey-dhkey</B -></DT -><DD -><P ->The Diffie-Hellman key used by the server +key will be "<code class="varname">client specified part</code>" + +"<code class="varname">tkey-domain</code>". +Otherwise, the name of the shared key will be "<code class="varname">random hex +digits</code>" + "<code class="varname">tkey-domain</code>". In most cases, +the <span><strong class="command">domainname</strong></span> should be the server's domain +name.</p></dd> +<dt><span class="term"><span><strong class="command">tkey-dhkey</strong></span></span></dt> +<dd><p>The Diffie-Hellman key used by the server to generate shared keys with clients using the Diffie-Hellman mode -of <B -CLASS="command" ->TKEY</B ->. The server must be able to load the +of <span><strong class="command">TKEY</strong></span>. The server must be able to load the public and private keys from files in the working directory. In -most cases, the keyname should be the server's host name.</P -></DD -><DT -><B -CLASS="command" ->dump-file</B -></DT -><DD -><P ->The pathname of the file the server dumps +most cases, the keyname should be the server's host name.</p></dd> +<dt><span class="term"><span><strong class="command">dump-file</strong></span></span></dt> +<dd><p>The pathname of the file the server dumps the database to when instructed to do so with -<B -CLASS="command" ->rndc dumpdb</B ->. -If not specified, the default is <TT -CLASS="filename" ->named_dump.db</TT ->.</P -></DD -><DT -><B -CLASS="command" ->memstatistics-file</B -></DT -><DD -><P ->The pathname of the file the server writes memory +<span><strong class="command">rndc dumpdb</strong></span>. +If not specified, the default is <code class="filename">named_dump.db</code>.</p></dd> +<dt><span class="term"><span><strong class="command">memstatistics-file</strong></span></span></dt> +<dd><p>The pathname of the file the server writes memory usage statistics to on exit. If not specified, -the default is <TT -CLASS="filename" ->named.memstats</TT ->.</P -></DD -><DT -><B -CLASS="command" ->pid-file</B -></DT -><DD -><P ->The pathname of the file the server writes its process ID -in. If not specified, the default is <TT -CLASS="filename" ->/var/run/named.pid</TT ->. +the default is <code class="filename">named.memstats</code>.</p></dd> +<dt><span class="term"><span><strong class="command">pid-file</strong></span></span></dt> +<dd><p>The pathname of the file the server writes its process ID +in. If not specified, the default is <code class="filename">/var/run/named.pid</code>. The pid-file is used by programs that want to send signals to the running -name server. Specifying <B -CLASS="command" ->pid-file none</B -> disables the +name server. Specifying <span><strong class="command">pid-file none</strong></span> disables the use of a PID file — no file will be written and any -existing one will be removed. Note that <B -CLASS="command" ->none</B -> +existing one will be removed. Note that <span><strong class="command">none</strong></span> is a keyword, not a file name, and therefore is not enclosed in -double quotes.</P -></DD -><DT -><B -CLASS="command" ->statistics-file</B -></DT -><DD -><P ->The pathname of the file the server appends statistics -to when instructed to do so using <B -CLASS="command" ->rndc stats</B ->. -If not specified, the default is <TT -CLASS="filename" ->named.stats</TT -> in the +double quotes.</p></dd> +<dt><span class="term"><span><strong class="command">statistics-file</strong></span></span></dt> +<dd><p>The pathname of the file the server appends statistics +to when instructed to do so using <span><strong class="command">rndc stats</strong></span>. +If not specified, the default is <code class="filename">named.stats</code> in the server's current directory. The format of the file is described -in <A -HREF="Bv9ARM.ch06.html#statsfile" ->Section 6.2.16.17</A -></P -></DD -><DT -><B -CLASS="command" ->port</B -></DT -><DD -><P -> The UDP/TCP port number the server uses for +in <a href="Bv9ARM.ch06.html#statsfile" title="The Statistics File">the section called “The Statistics File”</a></p></dd> +<dt><span class="term"><span><strong class="command">port</strong></span></span></dt> +<dd><p> +The UDP/TCP port number the server uses for receiving and sending DNS protocol traffic. The default is 53. This option is mainly intended for server testing; a server using a port other than 53 will not be able to communicate with the global DNS. -</P -></DD -><DT -><B -CLASS="command" ->random-device</B -></DT -><DD -><P -> The source of entropy to be used by the server. Entropy is primarily needed +</p></dd> +<dt><span class="term"><span><strong class="command">random-device</strong></span></span></dt> +<dd><p> +The source of entropy to be used by the server. Entropy is primarily needed for DNSSEC operations, such as TKEY transactions and dynamic update of signed -zones. This option specifies the device (or file) from which to read +zones. This options specifies the device (or file) from which to read entropy. If this is a file, operations requiring entropy will fail when the file has been exhausted. If not specified, the default value is -<TT -CLASS="filename" ->/dev/random</TT -> +<code class="filename">/dev/random</code> (or equivalent) when present, and none otherwise. The -<B -CLASS="command" ->random-device</B -> option takes effect during +<span><strong class="command">random-device</strong></span> option takes effect during the initial configuration load at server startup time and -is ignored on subsequent reloads.</P -></DD -><DT -><B -CLASS="command" ->preferred-glue</B -></DT -><DD -><P -> If specified the listed type (A or AAAA) will be emitted before other glue +is ignored on subsequent reloads.</p></dd> +<dt><span class="term"><span><strong class="command">preferred-glue</strong></span></span></dt> +<dd><p> +If specified the listed type (A or AAAA) will be emitted before other glue in the additional section of a query response. The default is not to preference any type (NONE). -</P -></DD -><DT -><B -CLASS="command" ->root-delegation-only</B -></DT -><DD -><P -> Turn on enforcement of delegation-only in TLDs and root zones with an optional +</p></dd> +<dt><span class="term"><span><strong class="command">root-delegation-only</strong></span></span></dt> +<dd> +<p> +Turn on enforcement of delegation-only in TLDs and root zones with an optional exclude list. -</P -><P -> Note some TLDs are NOT delegation only (e.g. "DE", "LV", "US" and "MUSEUM"). -</P -><PRE -CLASS="programlisting" -> options { +</p> +<p> +Note some TLDs are NOT delegation only (e.g. "DE", "LV", "US" and "MUSEUM"). +</p> +<pre class="programlisting"> +options { root-delegation-only exclude { "de"; "lv"; "us"; "museum"; }; }; -</PRE -></DD -><DT -><B -CLASS="command" ->disable-algorithms</B -></DT -><DD -><P -> Disable the specified DNSSEC algorithms at and below the specified name. -Multiple <B -CLASS="command" ->disable-algorithms</B -> statements are allowed. +</pre> +</dd> +<dt><span class="term"><span><strong class="command">disable-algorithms</strong></span></span></dt> +<dd><p> +Disable the specified DNSSEC algorithms at and below the specified name. +Multiple <span><strong class="command">disable-algorithms</strong></span> statements are allowed. Only the most specific will be applied. -</P -></DD -><DT -><B -CLASS="command" ->dnssec-lookaside</B -></DT -><DD -><P -> When set <B -CLASS="command" ->dnssec-lookaside</B -> provides the +</p></dd> +<dt><span class="term"><span><strong class="command">dnssec-lookaside</strong></span></span></dt> +<dd><p> +When set <span><strong class="command">dnssec-lookaside</strong></span> provides the validator with an alternate method to validate DNSKEY records at the top of a zone. When a DNSKEY is at or below a domain specified by the -deepest <B -CLASS="command" ->dnssec-lookaside</B ->, and the normal dnssec validation +deepest <span><strong class="command">dnssec-lookaside</strong></span>, and the normal dnssec validation has left the key untrusted, the trust-anchor will be append to the key name and a DLV record will be looked up to see if it can validate the key. If the DLV record validates a DNSKEY (similarly to the way a DS record does) the DNSKEY RRset is deemed to be trusted. -</P -></DD -><DT -><B -CLASS="command" ->dnssec-must-be-secure</B -></DT -><DD -><P -> Specify heirachies which must / may not be secure (signed and validated). -If <KBD -CLASS="userinput" ->yes</KBD -> then named will only accept answers if they +</p></dd> +<dt><span class="term"><span><strong class="command">dnssec-must-be-secure</strong></span></span></dt> +<dd><p> +Specify heirarchies which must / may not be secure (signed and validated). +If <strong class="userinput"><code>yes</code></strong> then named will only accept answers if they are secure. -If <KBD -CLASS="userinput" ->no</KBD -> then normal dnssec validation applies +If <strong class="userinput"><code>no</code></strong> then normal dnssec validation applies allowing for insecure answers to be accepted. -The specified domain must be under a <B -CLASS="command" ->trusted-key</B -> or -<B -CLASS="command" ->dnssec-lookaside</B -> must be active. -</P -></DD -></DL -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="boolean_options" ->6.2.16.1. Boolean Options</A -></H3 -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->auth-nxdomain</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, then the <B -CLASS="command" ->AA</B -> bit +The specified domain must be under a <span><strong class="command">trusted-key</strong></span> or +<span><strong class="command">dnssec-lookaside</strong></span> must be active. +</p></dd> +</dl></div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="boolean_options"></a>Boolean Options</h4></div></div></div> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">auth-nxdomain</strong></span></span></dt> +<dd><p>If <strong class="userinput"><code>yes</code></strong>, then the <span><strong class="command">AA</strong></span> bit is always set on NXDOMAIN responses, even if the server is not actually -authoritative. The default is <KBD -CLASS="userinput" ->no</KBD ->; this is -a change from <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8. If you are using very old DNS software, you -may need to set it to <KBD -CLASS="userinput" ->yes</KBD ->.</P -></DD -><DT -><B -CLASS="command" ->deallocate-on-exit</B -></DT -><DD -><P ->This option was used in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 to enable checking -for memory leaks on exit. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 ignores the option and always performs -the checks.</P -></DD -><DT -><B -CLASS="command" ->dialup</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, then the +authoritative. The default is <strong class="userinput"><code>no</code></strong>; this is +a change from <span class="acronym">BIND</span> 8. If you are using very old DNS software, you +may need to set it to <strong class="userinput"><code>yes</code></strong>.</p></dd> +<dt><span class="term"><span><strong class="command">deallocate-on-exit</strong></span></span></dt> +<dd><p>This option was used in <span class="acronym">BIND</span> 8 to enable checking +for memory leaks on exit. <span class="acronym">BIND</span> 9 ignores the option and always performs +the checks.</p></dd> +<dt><span class="term"><span><strong class="command">dialup</strong></span></span></dt> +<dd> +<p>If <strong class="userinput"><code>yes</code></strong>, then the server treats all zones as if they are doing zone transfers across a dial on demand dialup link, which can be brought up by traffic originating from this server. This has different effects according to zone type and concentrates the zone maintenance so that it all -happens in a short interval, once every <B -CLASS="command" ->heartbeat-interval</B -> and +happens in a short interval, once every <span><strong class="command">heartbeat-interval</strong></span> and hopefully during the one call. It also suppresses some of the normal -zone maintenance traffic. The default is <KBD -CLASS="userinput" ->no</KBD ->.</P -><P ->The <B -CLASS="command" ->dialup</B -> option -may also be specified in the <B -CLASS="command" ->view</B -> and -<B -CLASS="command" ->zone</B -> statements, -in which case it overrides the global <B -CLASS="command" ->dialup</B -> -option.</P -><P ->If the zone is a master zone then the server will send out a NOTIFY +zone maintenance traffic. The default is <strong class="userinput"><code>no</code></strong>.</p> +<p>The <span><strong class="command">dialup</strong></span> option +may also be specified in the <span><strong class="command">view</strong></span> and +<span><strong class="command">zone</strong></span> statements, +in which case it overrides the global <span><strong class="command">dialup</strong></span> +option.</p> +<p>If the zone is a master zone then the server will send out a NOTIFY request to all the slaves (default). This should trigger the zone serial number check in the slave (providing it supports NOTIFY) allowing the slave to verify the zone while the connection is active. The set of servers to which NOTIFY is sent can be controlled by -<B -CLASS="command" ->notify</B -> and <B -CLASS="command" ->also-notify</B ->.</P -><P ->If the +<span><strong class="command">notify</strong></span> and <span><strong class="command">also-notify</strong></span>.</p> +<p>If the zone is a slave or stub zone, then the server will suppress the regular "zone up to date" (refresh) queries and only perform them when the -<B -CLASS="command" ->heartbeat-interval</B -> expires in addition to sending -NOTIFY requests.</P -><P ->Finer control can be achieved by using -<KBD -CLASS="userinput" ->notify</KBD -> which only sends NOTIFY messages, -<KBD -CLASS="userinput" ->notify-passive</KBD -> which sends NOTIFY messages and -suppresses the normal refresh queries, <KBD -CLASS="userinput" ->refresh</KBD -> +<span><strong class="command">heartbeat-interval</strong></span> expires in addition to sending +NOTIFY requests.</p> +<p>Finer control can be achieved by using +<strong class="userinput"><code>notify</code></strong> which only sends NOTIFY messages, +<strong class="userinput"><code>notify-passive</code></strong> which sends NOTIFY messages and +suppresses the normal refresh queries, <strong class="userinput"><code>refresh</code></strong> which suppresses normal refresh processing and sends refresh queries -when the <B -CLASS="command" ->heartbeat-interval</B -> expires, and -<KBD -CLASS="userinput" ->passive</KBD -> which just disables normal refresh -processing.</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN2402" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->dialup mode</P -></TD -><TD -><P ->normal refresh</P -></TD -><TD -><P ->heart-beat refresh</P -></TD -><TD -><P ->heart-beat notify</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->no</B -> (default)</P -></TD -><TD -><P ->yes</P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->no</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->yes</B -></P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->yes</P -></TD -><TD -><P ->yes</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->notify</B -></P -></TD -><TD -><P ->yes</P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->yes</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->refresh</B -></P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->yes</P -></TD -><TD -><P ->no</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->passive</B -></P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->no</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->notify-passive</B -></P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->no</P -></TD -><TD -><P ->yes</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->Note that normal NOTIFY processing is not affected by -<B -CLASS="command" ->dialup</B ->.</P -></DD -><DT -><B -CLASS="command" ->fake-iquery</B -></DT -><DD -><P ->In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8, this option +when the <span><strong class="command">heartbeat-interval</strong></span> expires, and +<strong class="userinput"><code>passive</code></strong> which just disables normal refresh +processing.</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>dialup mode</p></td> +<td><p>normal refresh</p></td> +<td><p>heart-beat refresh</p></td> +<td><p>heart-beat notify</p></td> +</tr> +<tr> +<td><p><span><strong class="command">no</strong></span> (default)</p></td> +<td><p>yes</p></td> +<td><p>no</p></td> +<td><p>no</p></td> +</tr> +<tr> +<td><p><span><strong class="command">yes</strong></span></p></td> +<td><p>no</p></td> +<td><p>yes</p></td> +<td><p>yes</p></td> +</tr> +<tr> +<td><p><span><strong class="command">notify</strong></span></p></td> +<td><p>yes</p></td> +<td><p>no</p></td> +<td><p>yes</p></td> +</tr> +<tr> +<td><p><span><strong class="command">refresh</strong></span></p></td> +<td><p>no</p></td> +<td><p>yes</p></td> +<td><p>no</p></td> +</tr> +<tr> +<td><p><span><strong class="command">passive</strong></span></p></td> +<td><p>no</p></td> +<td><p>no</p></td> +<td><p>no</p></td> +</tr> +<tr> +<td><p><span><strong class="command">notify-passive</strong></span></p></td> +<td><p>no</p></td> +<td><p>no</p></td> +<td><p>yes</p></td> +</tr> +</tbody> +</table></div> +<p>Note that normal NOTIFY processing is not affected by +<span><strong class="command">dialup</strong></span>.</p> +</dd> +<dt><span class="term"><span><strong class="command">fake-iquery</strong></span></span></dt> +<dd><p>In <span class="acronym">BIND</span> 8, this option enabled simulating the obsolete DNS query type -IQUERY. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 never does IQUERY simulation. -</P -></DD -><DT -><B -CLASS="command" ->fetch-glue</B -></DT -><DD -><P ->This option is obsolete. -In BIND 8, <KBD -CLASS="userinput" ->fetch-glue yes</KBD -> +IQUERY. <span class="acronym">BIND</span> 9 never does IQUERY simulation. +</p></dd> +<dt><span class="term"><span><strong class="command">fetch-glue</strong></span></span></dt> +<dd><p>This option is obsolete. +In BIND 8, <strong class="userinput"><code>fetch-glue yes</code></strong> caused the server to attempt to fetch glue resource records it didn't have when constructing the additional data section of a response. This is now considered a bad idea -and BIND 9 never does it.</P -></DD -><DT -><B -CLASS="command" ->flush-zones-on-shutdown</B -></DT -><DD -><P ->When the nameserver exits due receiving SIGTERM, +and BIND 9 never does it.</p></dd> +<dt><span class="term"><span><strong class="command">flush-zones-on-shutdown</strong></span></span></dt> +<dd><p>When the nameserver exits due receiving SIGTERM, flush / do not flush any pending zone writes. The default is -<B -CLASS="command" ->flush-zones-on-shutdown</B -> <KBD -CLASS="userinput" ->no</KBD ->. -</P -></DD -><DT -><B -CLASS="command" ->has-old-clients</B -></DT -><DD -><P ->This option was incorrectly implemented -in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8, and is ignored by <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9. +<span><strong class="command">flush-zones-on-shutdown</strong></span> <strong class="userinput"><code>no</code></strong>. +</p></dd> +<dt><span class="term"><span><strong class="command">has-old-clients</strong></span></span></dt> +<dd><p>This option was incorrectly implemented +in <span class="acronym">BIND</span> 8, and is ignored by <span class="acronym">BIND</span> 9. To achieve the intended effect of -<B -CLASS="command" ->has-old-clients</B -> <KBD -CLASS="userinput" ->yes</KBD ->, specify -the two separate options <B -CLASS="command" ->auth-nxdomain</B -> <KBD -CLASS="userinput" ->yes</KBD -> -and <B -CLASS="command" ->rfc2308-type1</B -> <KBD -CLASS="userinput" ->no</KBD -> instead. -</P -></DD -><DT -><B -CLASS="command" ->host-statistics</B -></DT -><DD -><P ->In BIND 8, this enables keeping of +<span><strong class="command">has-old-clients</strong></span> <strong class="userinput"><code>yes</code></strong>, specify +the two separate options <span><strong class="command">auth-nxdomain</strong></span> <strong class="userinput"><code>yes</code></strong> +and <span><strong class="command">rfc2308-type1</strong></span> <strong class="userinput"><code>no</code></strong> instead. +</p></dd> +<dt><span class="term"><span><strong class="command">host-statistics</strong></span></span></dt> +<dd><p>In BIND 8, this enables keeping of statistics for every host that the name server interacts with. Not implemented in BIND 9. -</P -></DD -><DT -><B -CLASS="command" ->maintain-ixfr-base</B -></DT -><DD -><P -><SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->This option is obsolete</I -></SPAN ->. - It was used in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 to determine whether a transaction log was -kept for Incremental Zone Transfer. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 maintains a transaction +</p></dd> +<dt><span class="term"><span><strong class="command">maintain-ixfr-base</strong></span></span></dt> +<dd><p><span class="emphasis"><em>This option is obsolete</em></span>. + It was used in <span class="acronym">BIND</span> 8 to determine whether a transaction log was +kept for Incremental Zone Transfer. <span class="acronym">BIND</span> 9 maintains a transaction log whenever possible. If you need to disable outgoing incremental zone -transfers, use <B -CLASS="command" ->provide-ixfr</B -> <KBD -CLASS="userinput" ->no</KBD ->. -</P -></DD -><DT -><B -CLASS="command" ->minimal-responses</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, then when generating +transfers, use <span><strong class="command">provide-ixfr</strong></span> <strong class="userinput"><code>no</code></strong>. +</p></dd> +<dt><span class="term"><span><strong class="command">minimal-responses</strong></span></span></dt> +<dd><p>If <strong class="userinput"><code>yes</code></strong>, then when generating responses the server will only add records to the authority and additional data sections when they are required (e.g. delegations, negative responses). This may improve the performance of the server. -The default is <KBD -CLASS="userinput" ->no</KBD ->. -</P -></DD -><DT -><B -CLASS="command" ->multiple-cnames</B -></DT -><DD -><P ->This option was used in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 to allow +The default is <strong class="userinput"><code>no</code></strong>. +</p></dd> +<dt><span class="term"><span><strong class="command">multiple-cnames</strong></span></span></dt> +<dd><p>This option was used in <span class="acronym">BIND</span> 8 to allow a domain name to have multiple CNAME records in violation of the -DNS standards. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9.2 always strictly +DNS standards. <span class="acronym">BIND</span> 9.2 always strictly enforces the CNAME rules both in master files and dynamic updates. -</P -></DD -><DT -><B -CLASS="command" ->notify</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD -> (the default), +</p></dd> +<dt><span class="term"><span><strong class="command">notify</strong></span></span></dt> +<dd> +<p>If <strong class="userinput"><code>yes</code></strong> (the default), DNS NOTIFY messages are sent when a zone the server is authoritative for -changes, see <A -HREF="Bv9ARM.ch04.html#notify" ->Section 4.1</A ->. The messages are sent to the +changes, see <a href="Bv9ARM.ch04.html#notify" title="Notify">the section called “Notify”</a>. The messages are sent to the servers listed in the zone's NS records (except the master server identified in the SOA MNAME field), and to any servers listed in the -<B -CLASS="command" ->also-notify</B -> option. -</P -><P -> If <KBD -CLASS="userinput" ->explicit</KBD ->, notifies are sent only to -servers explicitly listed using <B -CLASS="command" ->also-notify</B ->. -If <KBD -CLASS="userinput" ->no</KBD ->, no notifies are sent. -</P -><P -> The <B -CLASS="command" ->notify</B -> option may also be -specified in the <B -CLASS="command" ->zone</B -> statement, -in which case it overrides the <B -CLASS="command" ->options notify</B -> statement. +<span><strong class="command">also-notify</strong></span> option. +</p> +<p> +If <strong class="userinput"><code>explicit</code></strong>, notifies are sent only to +servers explicitly listed using <span><strong class="command">also-notify</strong></span>. +If <strong class="userinput"><code>no</code></strong>, no notifies are sent. +</p> +<p> +The <span><strong class="command">notify</strong></span> option may also be +specified in the <span><strong class="command">zone</strong></span> statement, +in which case it overrides the <span><strong class="command">options notify</strong></span> statement. It would only be necessary to turn off this option if it caused slaves -to crash.</P -></DD -><DT -><B -CLASS="command" ->recursion</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, and a +to crash.</p> +</dd> +<dt><span class="term"><span><strong class="command">recursion</strong></span></span></dt> +<dd><p>If <strong class="userinput"><code>yes</code></strong>, and a DNS query requests recursion, then the server will attempt to do all the work required to answer the query. If recursion is off and the server does not already know the answer, it will return a -referral response. The default is <KBD -CLASS="userinput" ->yes</KBD ->. -Note that setting <B -CLASS="command" ->recursion no</B -> does not prevent +referral response. The default is <strong class="userinput"><code>yes</code></strong>. +Note that setting <span><strong class="command">recursion no</strong></span> does not prevent clients from getting data from the server's cache; it only prevents new data from being cached as an effect of client queries. Caching may still occur as an effect the server's internal operation, such as NOTIFY address lookups. -See also <B -CLASS="command" ->fetch-glue</B -> above. -</P -></DD -><DT -><B -CLASS="command" ->rfc2308-type1</B -></DT -><DD -><P ->Setting this to <KBD -CLASS="userinput" ->yes</KBD -> will +See also <span><strong class="command">fetch-glue</strong></span> above. +</p></dd> +<dt><span class="term"><span><strong class="command">rfc2308-type1</strong></span></span></dt> +<dd> +<p>Setting this to <strong class="userinput"><code>yes</code></strong> will cause the server to send NS records along with the SOA record for negative -answers. The default is <KBD -CLASS="userinput" ->no</KBD ->.</P -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->Not yet implemented in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9.</P -></BLOCKQUOTE -></DIV -></DD -><DT -><B -CLASS="command" ->use-id-pool</B -></DT -><DD -><P -><SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->This option is obsolete</I -></SPAN ->. -<ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 always allocates query IDs from a pool. -</P -></DD -><DT -><B -CLASS="command" ->zone-statistics</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, the server will collect +answers. The default is <strong class="userinput"><code>no</code></strong>.</p> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>Not yet implemented in <span class="acronym">BIND</span> 9.</p> +</div> +</dd> +<dt><span class="term"><span><strong class="command">use-id-pool</strong></span></span></dt> +<dd><p><span class="emphasis"><em>This option is obsolete</em></span>. +<span class="acronym">BIND</span> 9 always allocates query IDs from a pool. +</p></dd> +<dt><span class="term"><span><strong class="command">zone-statistics</strong></span></span></dt> +<dd><p>If <strong class="userinput"><code>yes</code></strong>, the server will collect statistical data on all zones (unless specifically turned off -on a per-zone basis by specifying <B -CLASS="command" ->zone-statistics no</B -> -in the <B -CLASS="command" ->zone</B -> statement). These statistics may be accessed -using <B -CLASS="command" ->rndc stats</B ->, which will dump them to the file listed -in the <B -CLASS="command" ->statistics-file</B ->. See also <A -HREF="Bv9ARM.ch06.html#statsfile" ->Section 6.2.16.17</A ->. -</P -></DD -><DT -><B -CLASS="command" ->use-ixfr</B -></DT -><DD -><P -><SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->This option is obsolete</I -></SPAN ->. +on a per-zone basis by specifying <span><strong class="command">zone-statistics no</strong></span> +in the <span><strong class="command">zone</strong></span> statement). These statistics may be accessed +using <span><strong class="command">rndc stats</strong></span>, which will dump them to the file listed +in the <span><strong class="command">statistics-file</strong></span>. See also <a href="Bv9ARM.ch06.html#statsfile" title="The Statistics File">the section called “The Statistics File”</a>. +</p></dd> +<dt><span class="term"><span><strong class="command">use-ixfr</strong></span></span></dt> +<dd><p><span class="emphasis"><em>This option is obsolete</em></span>. If you need to disable IXFR to a particular server or servers see -the information on the <B -CLASS="command" ->provide-ixfr</B -> option -in <A -HREF="Bv9ARM.ch06.html#server_statement_definition_and_usage" ->Section 6.2.18</A ->. See also -<A -HREF="Bv9ARM.ch04.html#incremental_zone_transfers" ->Section 4.3</A ->. -</P -></DD -><DT -><B -CLASS="command" ->provide-ixfr</B -></DT -><DD -><P -> See the description of -<B -CLASS="command" ->provide-ixfr</B -> in -<A -HREF="Bv9ARM.ch06.html#server_statement_definition_and_usage" ->Section 6.2.18</A -> -</P -></DD -><DT -><B -CLASS="command" ->request-ixfr</B -></DT -><DD -><P -> See the description of -<B -CLASS="command" ->request-ixfr</B -> in -<A -HREF="Bv9ARM.ch06.html#server_statement_definition_and_usage" ->Section 6.2.18</A -> -</P -></DD -><DT -><B -CLASS="command" ->treat-cr-as-space</B -></DT -><DD -><P ->This option was used in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 to make -the server treat carriage return ("<B -CLASS="command" ->\r</B ->") characters the same way +the information on the <span><strong class="command">provide-ixfr</strong></span> option +in <a href="Bv9ARM.ch06.html#server_statement_definition_and_usage" title="server Statement Definition and Usage">the section called “<span><strong class="command">server</strong></span> Statement Definition and Usage”</a>. See also +<a href="Bv9ARM.ch04.html#incremental_zone_transfers" title="Incremental Zone Transfers (IXFR)">the section called “Incremental Zone Transfers (IXFR)”</a>. +</p></dd> +<dt><span class="term"><span><strong class="command">provide-ixfr</strong></span></span></dt> +<dd><p> +See the description of +<span><strong class="command">provide-ixfr</strong></span> in +<a href="Bv9ARM.ch06.html#server_statement_definition_and_usage" title="server Statement Definition and Usage">the section called “<span><strong class="command">server</strong></span> Statement Definition and Usage”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">request-ixfr</strong></span></span></dt> +<dd><p> +See the description of +<span><strong class="command">request-ixfr</strong></span> in +<a href="Bv9ARM.ch06.html#server_statement_definition_and_usage" title="server Statement Definition and Usage">the section called “<span><strong class="command">server</strong></span> Statement Definition and Usage”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">treat-cr-as-space</strong></span></span></dt> +<dd><p>This option was used in <span class="acronym">BIND</span> 8 to make +the server treat carriage return ("<span><strong class="command">\r</strong></span>") characters the same way as a space or tab character, to facilitate loading of zone files on a UNIX system that were generated -on an NT or DOS machine. In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, both UNIX "<B -CLASS="command" ->\n</B ->" -and NT/DOS "<B -CLASS="command" ->\r\n</B ->" newlines are always accepted, -and the option is ignored.</P -></DD -><DT -><B -CLASS="command" ->additional-from-auth</B ->, <B -CLASS="command" ->additional-from-cache</B -></DT -><DD -><P -> These options control the behavior of an authoritative server when +on an NT or DOS machine. In <span class="acronym">BIND</span> 9, both UNIX "<span><strong class="command">\n</strong></span>" +and NT/DOS "<span><strong class="command">\r\n</strong></span>" newlines are always accepted, +and the option is ignored.</p></dd> +<dt> +<span class="term"><span><strong class="command">additional-from-auth</strong></span>, </span><span class="term"><span><strong class="command">additional-from-cache</strong></span></span> +</dt> +<dd> +<p> +These options control the behavior of an authoritative server when answering queries which have additional data, or when following CNAME and DNAME chains. -</P -><P -> When both of these options are set to <KBD -CLASS="userinput" ->yes</KBD -> +</p> +<p> +When both of these options are set to <strong class="userinput"><code>yes</code></strong> (the default) and a query is being answered from authoritative data (a zone configured into the server), the additional data section of the @@ -5129,76 +1583,43 @@ untrusted third parties. Also, avoiding the search for this additional data will speed up server operations at the possible expense of additional queries to resolve what would otherwise be provided in the additional section. -</P -><P -> For example, if a query asks for an MX record for host <VAR -CLASS="literal" ->foo.example.com</VAR ->, -and the record found is "<VAR -CLASS="literal" ->MX 10 mail.example.net</VAR ->", normally the address -records (A and AAAA) for <VAR -CLASS="literal" ->mail.example.net</VAR -> will be provided as well, +</p> +<p> +For example, if a query asks for an MX record for host <code class="literal">foo.example.com</code>, +and the record found is "<code class="literal">MX 10 mail.example.net</code>", normally the address +records (A and AAAA) for <code class="literal">mail.example.net</code> will be provided as well, if known, even though they are not in the example.com zone. -Setting these options to <B -CLASS="command" ->no</B -> disables this behavior and makes +Setting these options to <span><strong class="command">no</strong></span> disables this behavior and makes the server only search for additional data in the zone it answers from. -</P -><P -> These options are intended for use in authoritative-only +</p> +<p> +These options are intended for use in authoritative-only servers, or in authoritative-only views. Attempts to set -them to <B -CLASS="command" ->no</B -> without also specifying -<B -CLASS="command" ->recursion no</B -> will cause the server to +them to <span><strong class="command">no</strong></span> without also specifying +<span><strong class="command">recursion no</strong></span> will cause the server to ignore the options and log a warning message. -</P -><P -> Specifying <B -CLASS="command" ->additional-from-cache no</B -> actually +</p> +<p> +Specifying <span><strong class="command">additional-from-cache no</strong></span> actually disables the use of the cache not only for additional data lookups but also when looking up the answer. This is usually the desired behavior in an authoritative-only server where the correctness of the cached data is an issue. -</P -><P -> When a name server is non-recursively queried for a name that is not +</p> +<p> +When a name server is non-recursively queried for a name that is not below the apex of any served zone, it normally answers with an "upwards referral" to the root servers or the servers of some other known parent of the query name. Since the data in an upwards referral comes from the cache, the server will not be able to provide upwards -referrals when <B -CLASS="command" ->additional-from-cache no</B -> +referrals when <span><strong class="command">additional-from-cache no</strong></span> has been specified. Instead, it will respond to such queries with REFUSED. This should not cause any problems since upwards referrals are not required for the resolution process. -</P -></DD -><DT -><B -CLASS="command" ->match-mapped-addresses</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, then an +</p> +</dd> +<dt><span class="term"><span><strong class="command">match-mapped-addresses</strong></span></span></dt> +<dd><p>If <strong class="userinput"><code>yes</code></strong>, then an IPv4-mapped IPv6 address will match any address match list entries that match the corresponding IPv4 address. Enabling this option is sometimes useful on IPv6-enabled Linux @@ -5207,25 +1628,20 @@ TCP connections such as zone transfers to be accepted on an IPv6 socket using mapped addresses, causing address match lists designed for IPv4 to fail to match. The use of this option for any other purpose is discouraged. -</P -></DD -><DT -><B -CLASS="command" ->ixfr-from-differences</B -></DT -><DD -><P -> When 'yes' and the server loads a new version of a master +</p></dd> +<dt><span class="term"><span><strong class="command">ixfr-from-differences</strong></span></span></dt> +<dd> +<p> +When 'yes' and the server loads a new version of a master zone from its zone file or receives a new version of a slave file by a non-incremental zone transfer, it will compare the new version to the previous one and calculate a set of differences. The differences are then logged in the zone's journal file such that the changes can be transmitted to downstream slaves as an incremental zone transfer. -</P -><P -> By allowing incremental zone transfers to be used for +</p> +<p> +By allowing incremental zone transfers to be used for non-dynamic zones, this option saves bandwidth at the expense of increased CPU and memory consumption at the master. In particular, if the new version of a zone is completely @@ -5234,1096 +1650,422 @@ will be of a size comparable to the combined size of the old and new zone version, and the server will need to temporarily allocate memory to hold this complete difference set. -</P -></DD -><DT -><B -CLASS="command" ->multi-master</B -></DT -><DD -><P -> This should be set when you have multiple masters for a zone and the +</p> +</dd> +<dt><span class="term"><span><strong class="command">multi-master</strong></span></span></dt> +<dd><p> +This should be set when you have multiple masters for a zone and the addresses refer to different machines. If 'yes' named will not log when the serial number on the master is less than what named currently -has. The default is <KBD -CLASS="userinput" ->no</KBD ->. -</P -></DD -><DT -><B -CLASS="command" ->dnssec-enable</B -></DT -><DD -><P -> Enable DNSSEC support in named. Unless set to <KBD -CLASS="userinput" ->yes</KBD -> +has. The default is <strong class="userinput"><code>no</code></strong>. +</p></dd> +<dt><span class="term"><span><strong class="command">dnssec-enable</strong></span></span></dt> +<dd><p> +Enable DNSSEC support in named. Unless set to <strong class="userinput"><code>yes</code></strong> named behaves as if it does not support DNSSEC. -The default is <KBD -CLASS="userinput" ->no</KBD ->. -</P -></DD -><DT -><B -CLASS="command" ->querylog</B -></DT -><DD -><P -> Specify whether query logging should be started when named start. -If <B -CLASS="command" ->querylog</B -> is not specified then the query logging -is determined by the presence of the logging category <B -CLASS="command" ->queries</B ->. -</P -></DD -><DT -><B -CLASS="command" ->check-names</B -></DT -><DD -><P -> This option is used to restrict the character set and syntax of +The default is <strong class="userinput"><code>no</code></strong>. +</p></dd> +<dt><span class="term"><span><strong class="command">querylog</strong></span></span></dt> +<dd><p> +Specify whether query logging should be started when named start. +If <span><strong class="command">querylog</strong></span> is not specified then the query logging +is determined by the presence of the logging category <span><strong class="command">queries</strong></span>. +</p></dd> +<dt><span class="term"><span><strong class="command">check-names</strong></span></span></dt> +<dd> +<p> +This option is used to restrict the character set and syntax of certain domain names in master files and/or DNS responses received from the network. The default varies according to usage area. For -<B -CLASS="command" ->master</B -> zones the default is <B -CLASS="command" ->fail</B ->. -For <B -CLASS="command" ->slave</B -> zones the default is <B -CLASS="command" ->warn</B ->. -For answer received from the network (<B -CLASS="command" ->response</B ->) -the default is <B -CLASS="command" ->ignore</B ->. -</P -><P ->The rules for legal hostnames / mail domains are derived from RFC 952 +<span><strong class="command">master</strong></span> zones the default is <span><strong class="command">fail</strong></span>. +For <span><strong class="command">slave</strong></span> zones the default is <span><strong class="command">warn</strong></span>. +For answer received from the network (<span><strong class="command">response</strong></span>) +the default is <span><strong class="command">ignore</strong></span>. +</p> +<p>The rules for legal hostnames / mail domains are derived from RFC 952 and RFC 821 as modified by RFC 1123. -</P -><P -><B -CLASS="command" ->check-names</B -> applies to the owner names of A, AAA and +</p> +<p><span><strong class="command">check-names</strong></span> applies to the owner names of A, AAA and MX records. It also applies to the domain names in the RDATA of NS, SOA and MX records. It also applies to the RDATA of PTR records where the owner name indicated that it is a reverse lookup of a hostname (the owner name ends in IN-ADDR.ARPA, IP6.ARPA, IP6.INT). -</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN2695" ->6.2.16.2. Forwarding</A -></H3 -><P ->The forwarding facility can be used to create a large site-wide +</p> +</dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2557350"></a>Forwarding</h4></div></div></div> +<p>The forwarding facility can be used to create a large site-wide cache on a few servers, reducing traffic over links to external name servers. It can also be used to allow queries by servers that do not have direct access to the Internet, but wish to look up exterior names anyway. Forwarding occurs only on those queries for which the server is not authoritative and does not have the answer in -its cache.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->forward</B -></DT -><DD -><P ->This option is only meaningful if the -forwarders list is not empty. A value of <VAR -CLASS="varname" ->first</VAR ->, +its cache.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">forward</strong></span></span></dt> +<dd><p>This option is only meaningful if the +forwarders list is not empty. A value of <code class="varname">first</code>, the default, causes the server to query the forwarders first, and if that doesn't answer the question the server will then look for -the answer itself. If <VAR -CLASS="varname" ->only</VAR -> is specified, the +the answer itself. If <code class="varname">only</code> is specified, the server will only query the forwarders. -</P -></DD -><DT -><B -CLASS="command" ->forwarders</B -></DT -><DD -><P ->Specifies the IP addresses to be used +</p></dd> +<dt><span class="term"><span><strong class="command">forwarders</strong></span></span></dt> +<dd><p>Specifies the IP addresses to be used for forwarding. The default is the empty list (no forwarding). -</P -></DD -></DL -></DIV -><P ->Forwarding can also be configured on a per-domain basis, allowing +</p></dd> +</dl></div> +<p>Forwarding can also be configured on a per-domain basis, allowing for the global forwarding options to be overridden in a variety of ways. You can set particular domains to use different forwarders, -or have a different <B -CLASS="command" ->forward only/first</B -> behavior, -or not forward at all, see <A -HREF="Bv9ARM.ch06.html#zone_statement_grammar" ->Section 6.2.23</A ->.</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN2714" ->6.2.16.3. Dual-stack Servers</A -></H3 -><P ->Dual-stack servers are used as servers of last resort to work around +or have a different <span><strong class="command">forward only/first</strong></span> behavior, +or not forward at all, see <a href="Bv9ARM.ch06.html#zone_statement_grammar" title="zone +Statement Grammar">the section called “<span><strong class="command">zone</strong></span> +Statement Grammar”</a>.</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2557400"></a>Dual-stack Servers</h4></div></div></div> +<p>Dual-stack servers are used as servers of last resort to work around problems in reachability due the lack of support for either IPv4 or IPv6 -on the host machine.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->dual-stack-servers</B -></DT -><DD -><P ->Specifies host names / addresses of machines with access to +on the host machine.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">dual-stack-servers</strong></span></span></dt> +<dd><p>Specifies host names / addresses of machines with access to both IPv4 and IPv6 transports. If a hostname is used the server must be able to resolve the name using only the transport it has. If the machine is dual -stacked then the <B -CLASS="command" ->dual-stack-servers</B -> have no effect unless +stacked then the <span><strong class="command">dual-stack-servers</strong></span> have no effect unless access to a transport has been disabled on the command line -(e.g. <B -CLASS="command" ->named -4</B ->).</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="access_control" ->6.2.16.4. Access Control</A -></H3 -><P ->Access to the server can be restricted based on the IP address -of the requesting system. See <A -HREF="Bv9ARM.ch06.html#address_match_lists" ->Section 6.1.1</A -> for -details on how to specify IP address lists.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->allow-notify</B -></DT -><DD -><P ->Specifies which hosts are allowed to +(e.g. <span><strong class="command">named -4</strong></span>).</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="access_control"></a>Access Control</h4></div></div></div> +<p>Access to the server can be restricted based on the IP address +of the requesting system. See <a href="Bv9ARM.ch06.html#address_match_lists" title="Address Match Lists">the section called “Address Match Lists”</a> for +details on how to specify IP address lists.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">allow-notify</strong></span></span></dt> +<dd><p>Specifies which hosts are allowed to notify this server, a slave, of zone changes in addition to the zone masters. -<B -CLASS="command" ->allow-notify</B -> may also be specified in the -<B -CLASS="command" ->zone</B -> statement, in which case it overrides the -<B -CLASS="command" ->options allow-notify</B -> statement. It is only meaningful +<span><strong class="command">allow-notify</strong></span> may also be specified in the +<span><strong class="command">zone</strong></span> statement, in which case it overrides the +<span><strong class="command">options allow-notify</strong></span> statement. It is only meaningful for a slave zone. If not specified, the default is to process notify messages -only from a zone's master.</P -></DD -><DT -><B -CLASS="command" ->allow-query</B -></DT -><DD -><P ->Specifies which hosts are allowed to -ask ordinary DNS questions. <B -CLASS="command" ->allow-query</B -> may also -be specified in the <B -CLASS="command" ->zone</B -> statement, in which -case it overrides the <B -CLASS="command" ->options allow-query</B -> statement. If -not specified, the default is to allow queries from all hosts.</P -></DD -><DT -><B -CLASS="command" ->allow-recursion</B -></DT -><DD -><P ->Specifies which hosts are allowed to +only from a zone's master.</p></dd> +<dt><span class="term"><span><strong class="command">allow-query</strong></span></span></dt> +<dd><p>Specifies which hosts are allowed to +ask ordinary DNS questions. <span><strong class="command">allow-query</strong></span> may also +be specified in the <span><strong class="command">zone</strong></span> statement, in which +case it overrides the <span><strong class="command">options allow-query</strong></span> statement. If +not specified, the default is to allow queries from all hosts.</p></dd> +<dt><span class="term"><span><strong class="command">allow-recursion</strong></span></span></dt> +<dd><p>Specifies which hosts are allowed to make recursive queries through this server. If not specified, the default is to allow recursive queries from all hosts. Note that disallowing recursive queries for a host does not prevent the host from retrieving data that is already in the server's cache. -</P -></DD -><DT -><B -CLASS="command" ->allow-update-forwarding</B -></DT -><DD -><P ->Specifies which hosts are allowed to +</p></dd> +<dt><span class="term"><span><strong class="command">allow-update-forwarding</strong></span></span></dt> +<dd> +<p>Specifies which hosts are allowed to submit Dynamic DNS updates to slave zones to be forwarded to the -master. The default is <KBD -CLASS="userinput" ->{ none; }</KBD ->, which +master. The default is <strong class="userinput"><code>{ none; }</code></strong>, which means that no update forwarding will be performed. To enable update forwarding, specify -<KBD -CLASS="userinput" ->allow-update-forwarding { any; };</KBD ->. -Specifying values other than <KBD -CLASS="userinput" ->{ none; }</KBD -> or -<KBD -CLASS="userinput" ->{ any; }</KBD -> is usually counterproductive, since +<strong class="userinput"><code>allow-update-forwarding { any; };</code></strong>. +Specifying values other than <strong class="userinput"><code>{ none; }</code></strong> or +<strong class="userinput"><code>{ any; }</code></strong> is usually counterproductive, since the responsibility for update access control should rest with the -master server, not the slaves.</P -><P ->Note that enabling the update forwarding feature on a slave server +master server, not the slaves.</p> +<p>Note that enabling the update forwarding feature on a slave server may expose master servers relying on insecure IP address based -access control to attacks; see <A -HREF="Bv9ARM.ch07.html#dynamic_update_security" ->Section 7.3</A -> -for more details.</P -></DD -><DT -><B -CLASS="command" ->allow-v6-synthesis</B -></DT -><DD -><P ->This option was introduced for the smooth transition from AAAA +access control to attacks; see <a href="Bv9ARM.ch07.html#dynamic_update_security" title="Dynamic Update Security">the section called “Dynamic Update Security”</a> +for more details.</p> +</dd> +<dt><span class="term"><span><strong class="command">allow-v6-synthesis</strong></span></span></dt> +<dd><p>This option was introduced for the smooth transition from AAAA to A6 and from "nibble labels" to binary labels. However, since both A6 and binary labels were then deprecated, this option was also deprecated. It is now ignored with some warning messages. -</P -></DD -><DT -><B -CLASS="command" ->allow-transfer</B -></DT -><DD -><P ->Specifies which hosts are allowed to -receive zone transfers from the server. <B -CLASS="command" ->allow-transfer</B -> may -also be specified in the <B -CLASS="command" ->zone</B -> statement, in which -case it overrides the <B -CLASS="command" ->options allow-transfer</B -> statement. -If not specified, the default is to allow transfers to all hosts.</P -></DD -><DT -><B -CLASS="command" ->blackhole</B -></DT -><DD -><P ->Specifies a list of addresses that the +</p></dd> +<dt><span class="term"><span><strong class="command">allow-transfer</strong></span></span></dt> +<dd><p>Specifies which hosts are allowed to +receive zone transfers from the server. <span><strong class="command">allow-transfer</strong></span> may +also be specified in the <span><strong class="command">zone</strong></span> statement, in which +case it overrides the <span><strong class="command">options allow-transfer</strong></span> statement. +If not specified, the default is to allow transfers to all hosts.</p></dd> +<dt><span class="term"><span><strong class="command">blackhole</strong></span></span></dt> +<dd><p>Specifies a list of addresses that the server will not accept queries from or use to resolve a query. Queries -from these addresses will not be responded to. The default is <KBD -CLASS="userinput" ->none</KBD ->.</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN2781" ->6.2.16.5. Interfaces</A -></H3 -><P ->The interfaces and ports that the server will answer queries -from may be specified using the <B -CLASS="command" ->listen-on</B -> option. <B -CLASS="command" ->listen-on</B -> takes -an optional port, and an <VAR -CLASS="varname" ->address_match_list</VAR ->. +from these addresses will not be responded to. The default is <strong class="userinput"><code>none</code></strong>.</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2557716"></a>Interfaces</h4></div></div></div> +<p>The interfaces and ports that the server will answer queries +from may be specified using the <span><strong class="command">listen-on</strong></span> option. <span><strong class="command">listen-on</strong></span> takes +an optional port, and an <code class="varname">address_match_list</code>. The server will listen on all interfaces allowed by the address -match list. If a port is not specified, port 53 will be used.</P -><P ->Multiple <B -CLASS="command" ->listen-on</B -> statements are allowed. -For example,</P -><PRE -CLASS="programlisting" ->listen-on { 5.6.7.8; }; +match list. If a port is not specified, port 53 will be used.</p> +<p>Multiple <span><strong class="command">listen-on</strong></span> statements are allowed. +For example,</p> +<pre class="programlisting">listen-on { 5.6.7.8; }; listen-on port 1234 { !1.2.3.4; 1.2/16; }; -</PRE -><P ->will enable the name server on port 53 for the IP address +</pre> +<p>will enable the name server on port 53 for the IP address 5.6.7.8, and on port 1234 of an address on the machine in net -1.2 that is not 1.2.3.4.</P -><P ->If no <B -CLASS="command" ->listen-on</B -> is specified, the -server will listen on port 53 on all interfaces.</P -><P ->The <B -CLASS="command" ->listen-on-v6</B -> option is used to +1.2 that is not 1.2.3.4.</p> +<p>If no <span><strong class="command">listen-on</strong></span> is specified, the +server will listen on port 53 on all interfaces.</p> +<p>The <span><strong class="command">listen-on-v6</strong></span> option is used to specify the interfaces and the ports on which the server will listen -for incoming queries sent using IPv6.</P -><P ->When <PRE -CLASS="programlisting" ->{ any; }</PRE -> is specified -as the <VAR -CLASS="varname" ->address_match_list</VAR -> for the -<B -CLASS="command" ->listen-on-v6</B -> option, +for incoming queries sent using IPv6.</p> +<p>When </p> +<pre class="programlisting">{ any; }</pre> +<p> is specified +as the <code class="varname">address_match_list</code> for the +<span><strong class="command">listen-on-v6</strong></span> option, the server does not bind a separate socket to each IPv6 interface address as it does for IPv4 if the operating system has enough API support for IPv6 (specifically if it conforms to RFC 3493 and RFC 3542). Instead, it listens on the IPv6 wildcard address. If the system only has incomplete API support for IPv6, however, -the behavior is the same as that for IPv4.</P -><P ->A list of particular IPv6 addresses can also be specified, in which case +the behavior is the same as that for IPv4.</p> +<p>A list of particular IPv6 addresses can also be specified, in which case the server listens on a separate socket for each specified address, -regardless of whether the desired API is supported by the system.</P -><P ->Multiple <B -CLASS="command" ->listen-on-v6</B -> options can be used. -For example,</P -><PRE -CLASS="programlisting" ->listen-on-v6 { any; }; +regardless of whether the desired API is supported by the system.</p> +<p>Multiple <span><strong class="command">listen-on-v6</strong></span> options can be used. +For example,</p> +<pre class="programlisting">listen-on-v6 { any; }; listen-on-v6 port 1234 { !2001:db8::/32; any; }; -</PRE -><P ->will enable the name server on port 53 for any IPv6 addresses +</pre> +<p>will enable the name server on port 53 for any IPv6 addresses (with a single wildcard socket), and on port 1234 of IPv6 addresses that is not in the prefix -2001:db8::/32 (with separate sockets for each matched address.)</P -><P ->To make the server not listen on any IPv6 address, use</P -><PRE -CLASS="programlisting" ->listen-on-v6 { none; }; -</PRE -><P ->If no <B -CLASS="command" ->listen-on-v6</B -> option is specified, -the server will not listen on any IPv6 address.</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN2808" ->6.2.16.6. Query Address</A -></H3 -><P ->If the server doesn't know the answer to a question, it will -query other name servers. <B -CLASS="command" ->query-source</B -> specifies +2001:db8::/32 (with separate sockets for each matched address.)</p> +<p>To make the server not listen on any IPv6 address, use</p> +<pre class="programlisting">listen-on-v6 { none; }; +</pre> +<p>If no <span><strong class="command">listen-on-v6</strong></span> option is specified, +the server will not listen on any IPv6 address.</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2557804"></a>Query Address</h4></div></div></div> +<p>If the server doesn't know the answer to a question, it will +query other name servers. <span><strong class="command">query-source</strong></span> specifies the address and port used for such queries. For queries sent over -IPv6, there is a separate <B -CLASS="command" ->query-source-v6</B -> option. -If <B -CLASS="command" ->address</B -> is <B -CLASS="command" ->*</B -> or is omitted, -a wildcard IP address (<B -CLASS="command" ->INADDR_ANY</B ->) will be used. -If <B -CLASS="command" ->port</B -> is <B -CLASS="command" ->*</B -> or is omitted, -a random unprivileged port will be used, <B -CLASS="command" ->avoid-v4-udp-ports</B -> -and <B -CLASS="command" ->avoid-v6-udp-ports</B -> can be used to prevent named -from selecting certain ports. The defaults are</P -><PRE -CLASS="programlisting" ->query-source address * port *; +IPv6, there is a separate <span><strong class="command">query-source-v6</strong></span> option. +If <span><strong class="command">address</strong></span> is <span><strong class="command">*</strong></span> or is omitted, +a wildcard IP address (<span><strong class="command">INADDR_ANY</strong></span>) will be used. +If <span><strong class="command">port</strong></span> is <span><strong class="command">*</strong></span> or is omitted, +a random unprivileged port will be used, <span><strong class="command">avoid-v4-udp-ports</strong></span> +and <span><strong class="command">avoid-v6-udp-ports</strong></span> can be used to prevent named +from selecting certain ports. The defaults are</p> +<pre class="programlisting">query-source address * port *; query-source-v6 address * port *; -</PRE -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->The address specified in the <B -CLASS="command" ->query-source</B -> option +</pre> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>The address specified in the <span><strong class="command">query-source</strong></span> option is used for both UDP and TCP queries, but the port applies only to UDP queries. TCP queries always use a random -unprivileged port.</P -></BLOCKQUOTE -></DIV -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->See also <B -CLASS="command" ->transfer-source</B -> and -<B -CLASS="command" ->notify-source</B ->.</P -></BLOCKQUOTE -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="zone_transfers" ->6.2.16.7. Zone Transfers</A -></H3 -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> has mechanisms in place to facilitate zone transfers +unprivileged port.</p> +</div> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>See also <span><strong class="command">transfer-source</strong></span> and +<span><strong class="command">notify-source</strong></span>.</p> +</div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="zone_transfers"></a>Zone Transfers</h4></div></div></div> +<p><span class="acronym">BIND</span> has mechanisms in place to facilitate zone transfers and set limits on the amount of load that transfers place on the -system. The following options apply to zone transfers.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->also-notify</B -></DT -><DD -><P ->Defines a global list of IP addresses of name servers +system. The following options apply to zone transfers.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">also-notify</strong></span></span></dt> +<dd><p>Defines a global list of IP addresses of name servers that are also sent NOTIFY messages whenever a fresh copy of the zone is loaded, in addition to the servers listed in the zone's NS records. This helps to ensure that copies of the zones will -quickly converge on stealth servers. If an <B -CLASS="command" ->also-notify</B -> list -is given in a <B -CLASS="command" ->zone</B -> statement, it will override -the <B -CLASS="command" ->options also-notify</B -> statement. When a <B -CLASS="command" ->zone notify</B -> statement -is set to <B -CLASS="command" ->no</B ->, the IP addresses in the global <B -CLASS="command" ->also-notify</B -> list will +quickly converge on stealth servers. If an <span><strong class="command">also-notify</strong></span> list +is given in a <span><strong class="command">zone</strong></span> statement, it will override +the <span><strong class="command">options also-notify</strong></span> statement. When a <span><strong class="command">zone notify</strong></span> statement +is set to <span><strong class="command">no</strong></span>, the IP addresses in the global <span><strong class="command">also-notify</strong></span> list will not be sent NOTIFY messages for that zone. The default is the empty -list (no global notification list).</P -></DD -><DT -><B -CLASS="command" ->max-transfer-time-in</B -></DT -><DD -><P ->Inbound zone transfers running longer than +list (no global notification list).</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-time-in</strong></span></span></dt> +<dd><p>Inbound zone transfers running longer than this many minutes will be terminated. The default is 120 minutes -(2 hours). The maximum value is 28 days (40320 minutes).</P -></DD -><DT -><B -CLASS="command" ->max-transfer-idle-in</B -></DT -><DD -><P ->Inbound zone transfers making no progress +(2 hours). The maximum value is 28 days (40320 minutes).</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-idle-in</strong></span></span></dt> +<dd><p>Inbound zone transfers making no progress in this many minutes will be terminated. The default is 60 minutes -(1 hour). The maximum value is 28 days (40320 minutes).</P -></DD -><DT -><B -CLASS="command" ->max-transfer-time-out</B -></DT -><DD -><P ->Outbound zone transfers running longer than +(1 hour). The maximum value is 28 days (40320 minutes).</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-time-out</strong></span></span></dt> +<dd><p>Outbound zone transfers running longer than this many minutes will be terminated. The default is 120 minutes -(2 hours). The maximum value is 28 days (40320 minutes).</P -></DD -><DT -><B -CLASS="command" ->max-transfer-idle-out</B -></DT -><DD -><P ->Outbound zone transfers making no progress +(2 hours). The maximum value is 28 days (40320 minutes).</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-idle-out</strong></span></span></dt> +<dd><p>Outbound zone transfers making no progress in this many minutes will be terminated. The default is 60 minutes (1 -hour). The maximum value is 28 days (40320 minutes).</P -></DD -><DT -><B -CLASS="command" ->serial-query-rate</B -></DT -><DD -><P ->Slave servers will periodically query master servers +hour). The maximum value is 28 days (40320 minutes).</p></dd> +<dt><span class="term"><span><strong class="command">serial-query-rate</strong></span></span></dt> +<dd><p>Slave servers will periodically query master servers to find out if zone serial numbers have changed. Each such query uses a minute amount of the slave server's network bandwidth. To limit the amount of bandwidth used, BIND 9 limits the rate at which queries are -sent. The value of the <B -CLASS="command" ->serial-query-rate</B -> option, +sent. The value of the <span><strong class="command">serial-query-rate</strong></span> option, an integer, is the maximum number of queries sent per second. The default is 20. -</P -></DD -><DT -><B -CLASS="command" ->serial-queries</B -></DT -><DD -><P ->In BIND 8, the <B -CLASS="command" ->serial-queries</B -> option +</p></dd> +<dt><span class="term"><span><strong class="command">serial-queries</strong></span></span></dt> +<dd><p>In BIND 8, the <span><strong class="command">serial-queries</strong></span> option set the maximum number of concurrent serial number queries allowed to be outstanding at any given time. BIND 9 does not limit the number of outstanding -serial queries and ignores the <B -CLASS="command" ->serial-queries</B -> option. +serial queries and ignores the <span><strong class="command">serial-queries</strong></span> option. Instead, it limits the rate at which the queries are sent -as defined using the <B -CLASS="command" ->serial-query-rate</B -> option. -</P -></DD -><DT -><B -CLASS="command" ->transfer-format</B -></DT -><DD -><P -> Zone transfers can be sent using two different formats, -<B -CLASS="command" ->one-answer</B -> and <B -CLASS="command" ->many-answers</B ->. -The <B -CLASS="command" ->transfer-format</B -> option is used +as defined using the <span><strong class="command">serial-query-rate</strong></span> option. +</p></dd> +<dt><span class="term"><span><strong class="command">transfer-format</strong></span></span></dt> +<dd><p> +Zone transfers can be sent using two different formats, +<span><strong class="command">one-answer</strong></span> and <span><strong class="command">many-answers</strong></span>. +The <span><strong class="command">transfer-format</strong></span> option is used on the master server to determine which format it sends. -<B -CLASS="command" ->one-answer</B -> uses one DNS message per +<span><strong class="command">one-answer</strong></span> uses one DNS message per resource record transferred. -<B -CLASS="command" ->many-answers</B -> packs as many resource records as -possible into a message. <B -CLASS="command" ->many-answers</B -> is more +<span><strong class="command">many-answers</strong></span> packs as many resource records as +possible into a message. <span><strong class="command">many-answers</strong></span> is more efficient, but is only supported by relatively new slave servers, -such as <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8.x and patched -versions of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 4.9.5. The default is -<B -CLASS="command" ->many-answers</B ->. <B -CLASS="command" ->transfer-format</B -> +such as <span class="acronym">BIND</span> 9, <span class="acronym">BIND</span> 8.x and patched +versions of <span class="acronym">BIND</span> 4.9.5. The default is +<span><strong class="command">many-answers</strong></span>. <span><strong class="command">transfer-format</strong></span> may be overridden on a per-server basis by using the -<B -CLASS="command" ->server</B -> statement. -</P -></DD -><DT -><B -CLASS="command" ->transfers-in</B -></DT -><DD -><P ->The maximum number of inbound zone transfers -that can be running concurrently. The default value is <VAR -CLASS="literal" ->10</VAR ->. -Increasing <B -CLASS="command" ->transfers-in</B -> may speed up the convergence -of slave zones, but it also may increase the load on the local system.</P -></DD -><DT -><B -CLASS="command" ->transfers-out</B -></DT -><DD -><P ->The maximum number of outbound zone transfers +<span><strong class="command">server</strong></span> statement. +</p></dd> +<dt><span class="term"><span><strong class="command">transfers-in</strong></span></span></dt> +<dd><p>The maximum number of inbound zone transfers +that can be running concurrently. The default value is <code class="literal">10</code>. +Increasing <span><strong class="command">transfers-in</strong></span> may speed up the convergence +of slave zones, but it also may increase the load on the local system.</p></dd> +<dt><span class="term"><span><strong class="command">transfers-out</strong></span></span></dt> +<dd><p>The maximum number of outbound zone transfers that can be running concurrently. Zone transfer requests in excess -of the limit will be refused. The default value is <VAR -CLASS="literal" ->10</VAR ->.</P -></DD -><DT -><B -CLASS="command" ->transfers-per-ns</B -></DT -><DD -><P ->The maximum number of inbound zone transfers +of the limit will be refused. The default value is <code class="literal">10</code>.</p></dd> +<dt><span class="term"><span><strong class="command">transfers-per-ns</strong></span></span></dt> +<dd><p>The maximum number of inbound zone transfers that can be concurrently transferring from a given remote name server. -The default value is <VAR -CLASS="literal" ->2</VAR ->. Increasing <B -CLASS="command" ->transfers-per-ns</B -> may +The default value is <code class="literal">2</code>. Increasing <span><strong class="command">transfers-per-ns</strong></span> may speed up the convergence of slave zones, but it also may increase -the load on the remote name server. <B -CLASS="command" ->transfers-per-ns</B -> may -be overridden on a per-server basis by using the <B -CLASS="command" ->transfers</B -> phrase -of the <B -CLASS="command" ->server</B -> statement.</P -></DD -><DT -><B -CLASS="command" ->transfer-source</B -></DT -><DD -><P -><B -CLASS="command" ->transfer-source</B -> determines +the load on the remote name server. <span><strong class="command">transfers-per-ns</strong></span> may +be overridden on a per-server basis by using the <span><strong class="command">transfers</strong></span> phrase +of the <span><strong class="command">server</strong></span> statement.</p></dd> +<dt><span class="term"><span><strong class="command">transfer-source</strong></span></span></dt> +<dd><p><span><strong class="command">transfer-source</strong></span> determines which local address will be bound to IPv4 TCP connections used to fetch zones transferred inbound by the server. It also determines the source IPv4 address, and optionally the UDP port, used for the refresh queries and forwarded dynamic updates. If not set, it defaults to a system controlled value which will usually be the address of the interface "closest to" the remote end. This address must appear -in the remote end's <B -CLASS="command" ->allow-transfer</B -> option for +in the remote end's <span><strong class="command">allow-transfer</strong></span> option for the zone being transferred, if one is specified. This statement -sets the <B -CLASS="command" ->transfer-source</B -> for all zones, but can +sets the <span><strong class="command">transfer-source</strong></span> for all zones, but can be overridden on a per-view or per-zone basis by including a -<B -CLASS="command" ->transfer-source</B -> statement within the -<B -CLASS="command" ->view</B -> or <B -CLASS="command" ->zone</B -> block -in the configuration file.</P -></DD -><DT -><B -CLASS="command" ->transfer-source-v6</B -></DT -><DD -><P ->The same as <B -CLASS="command" ->transfer-source</B ->, -except zone transfers are performed using IPv6.</P -></DD -><DT -><B -CLASS="command" ->alt-transfer-source</B -></DT -><DD -><P ->An alternate transfer source if the one listed in -<B -CLASS="command" ->transfer-source</B -> fails and -<B -CLASS="command" ->use-alt-transfer-source</B -> is set.</P -></DD -><DT -><B -CLASS="command" ->alt-transfer-source-v6</B -></DT -><DD -><P ->An alternate transfer source if the one listed in -<B -CLASS="command" ->transfer-source-v6</B -> fails and -<B -CLASS="command" ->use-alt-transfer-source</B -> is set.</P -></DD -><DT -><B -CLASS="command" ->use-alt-transfer-source</B -></DT -><DD -><P ->Use the alternate transfer sources or not. If views are -specified this defaults to <B -CLASS="command" ->no</B -> otherwise it defaults to -<B -CLASS="command" ->yes</B -> (for BIND 8 compatibility).</P -></DD -><DT -><B -CLASS="command" ->notify-source</B -></DT -><DD -><P -><B -CLASS="command" ->notify-source</B -> determines +<span><strong class="command">transfer-source</strong></span> statement within the +<span><strong class="command">view</strong></span> or <span><strong class="command">zone</strong></span> block +in the configuration file.</p></dd> +<dt><span class="term"><span><strong class="command">transfer-source-v6</strong></span></span></dt> +<dd><p>The same as <span><strong class="command">transfer-source</strong></span>, +except zone transfers are performed using IPv6.</p></dd> +<dt><span class="term"><span><strong class="command">alt-transfer-source</strong></span></span></dt> +<dd> +<p> + An alternate transfer source if the one listed in + <span><strong class="command">transfer-source</strong></span> fails and + <span><strong class="command">use-alt-transfer-source</strong></span> is + set. + </p> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> + If you do not wish the alternate transfer source + to be used you should set + <span><strong class="command">use-alt-transfer-source</strong></span> + appropriately and you should not depend upon + getting a answer back to the first refresh + query. + </div> +</dd> +<dt><span class="term"><span><strong class="command">alt-transfer-source-v6</strong></span></span></dt> +<dd><p>An alternate transfer source if the one listed in +<span><strong class="command">transfer-source-v6</strong></span> fails and +<span><strong class="command">use-alt-transfer-source</strong></span> is set.</p></dd> +<dt><span class="term"><span><strong class="command">use-alt-transfer-source</strong></span></span></dt> +<dd><p>Use the alternate transfer sources or not. If views are +specified this defaults to <span><strong class="command">no</strong></span> otherwise it defaults to +<span><strong class="command">yes</strong></span> (for BIND 8 compatibility).</p></dd> +<dt><span class="term"><span><strong class="command">notify-source</strong></span></span></dt> +<dd><p><span><strong class="command">notify-source</strong></span> determines which local source address, and optionally UDP port, will be used to send NOTIFY messages. -This address must appear in the slave server's <B -CLASS="command" ->masters</B -> -zone clause or in an <B -CLASS="command" ->allow-notify</B -> clause. -This statement sets the <B -CLASS="command" ->notify-source</B -> for all zones, +This address must appear in the slave server's <span><strong class="command">masters</strong></span> +zone clause or in an <span><strong class="command">allow-notify</strong></span> clause. +This statement sets the <span><strong class="command">notify-source</strong></span> for all zones, but can be overridden on a per-zone / per-view basis by including a -<B -CLASS="command" ->notify-source</B -> statement within the <B -CLASS="command" ->zone</B -> -or <B -CLASS="command" ->view</B -> block in the configuration file.</P -></DD -><DT -><B -CLASS="command" ->notify-source-v6</B -></DT -><DD -><P ->Like <B -CLASS="command" ->notify-source</B ->, -but applies to notify messages sent to IPv6 addresses.</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN2974" ->6.2.16.8. Bad UDP Port Lists</A -></H3 -><P -> <B -CLASS="command" ->avoid-v4-udp-ports</B -> and <B -CLASS="command" ->avoid-v6-udp-ports</B -> +<span><strong class="command">notify-source</strong></span> statement within the <span><strong class="command">zone</strong></span> +or <span><strong class="command">view</strong></span> block in the configuration file.</p></dd> +<dt><span class="term"><span><strong class="command">notify-source-v6</strong></span></span></dt> +<dd><p>Like <span><strong class="command">notify-source</strong></span>, +but applies to notify messages sent to IPv6 addresses.</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2558398"></a>Bad UDP Port Lists</h4></div></div></div> +<p> +<span><strong class="command">avoid-v4-udp-ports</strong></span> and <span><strong class="command">avoid-v6-udp-ports</strong></span> specify a list of IPv4 and IPv6 UDP ports that will not be used as system assigned source ports for UDP sockets. These lists prevent named from choosing as its random source port a port that is blocked by your firewall. If a query went out with such a source port, the answer would not get by the firewall and the name server would have to query again. -</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN2979" ->6.2.16.9. Operating System Resource Limits</A -></H3 -><P ->The server's usage of many system resources can be limited. +</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2558414"></a>Operating System Resource Limits</h4></div></div></div> +<p>The server's usage of many system resources can be limited. Scaled values are allowed when specifying resource limits. For -example, <B -CLASS="command" ->1G</B -> can be used instead of -<B -CLASS="command" ->1073741824</B -> to specify a limit of one -gigabyte. <B -CLASS="command" ->unlimited</B -> requests unlimited use, or the -maximum available amount. <B -CLASS="command" ->default</B -> uses the limit +example, <span><strong class="command">1G</strong></span> can be used instead of +<span><strong class="command">1073741824</strong></span> to specify a limit of one +gigabyte. <span><strong class="command">unlimited</strong></span> requests unlimited use, or the +maximum available amount. <span><strong class="command">default</strong></span> uses the limit that was in force when the server was started. See the description of -<B -CLASS="command" ->size_spec</B -> in <A -HREF="Bv9ARM.ch06.html#configuration_file_elements" ->Section 6.1</A ->.</P -><P ->The following options set operating system resource limits for +<span><strong class="command">size_spec</strong></span> in <a href="Bv9ARM.ch06.html#configuration_file_elements" title="Configuration File Elements">the section called “Configuration File Elements”</a>.</p> +<p>The following options set operating system resource limits for the name server process. Some operating systems don't support some or any of the limits. On such systems, a warning will be issued if the -unsupported limit is used.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->coresize</B -></DT -><DD -><P ->The maximum size of a core dump. The default -is <VAR -CLASS="literal" ->default</VAR ->.</P -></DD -><DT -><B -CLASS="command" ->datasize</B -></DT -><DD -><P ->The maximum amount of data memory the server -may use. The default is <VAR -CLASS="literal" ->default</VAR ->. +unsupported limit is used.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">coresize</strong></span></span></dt> +<dd><p>The maximum size of a core dump. The default +is <code class="literal">default</code>.</p></dd> +<dt><span class="term"><span><strong class="command">datasize</strong></span></span></dt> +<dd><p>The maximum amount of data memory the server +may use. The default is <code class="literal">default</code>. This is a hard limit on server memory usage. If the server attempts to allocate memory in excess of this limit, the allocation will fail, which may in turn leave @@ -6333,299 +2075,118 @@ amount of memory used by the server, but it can be used to raise an operating system data size limit that is too small by default. If you wish to limit the amount of memory used by the server, use the -<B -CLASS="command" ->max-cache-size</B -> and -<B -CLASS="command" ->recursive-clients</B -> +<span><strong class="command">max-cache-size</strong></span> and +<span><strong class="command">recursive-clients</strong></span> options instead. -</P -></DD -><DT -><B -CLASS="command" ->files</B -></DT -><DD -><P ->The maximum number of files the server -may have open concurrently. The default is <VAR -CLASS="literal" ->unlimited</VAR ->. -</P -></DD -><DT -><B -CLASS="command" ->stacksize</B -></DT -><DD -><P ->The maximum amount of stack memory the server -may use. The default is <VAR -CLASS="literal" ->default</VAR ->.</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN3016" ->6.2.16.10. Server Resource Limits</A -></H3 -><P ->The following options set limits on the server's +</p></dd> +<dt><span class="term"><span><strong class="command">files</strong></span></span></dt> +<dd><p>The maximum number of files the server +may have open concurrently. The default is <code class="literal">unlimited</code>. +</p></dd> +<dt><span class="term"><span><strong class="command">stacksize</strong></span></span></dt> +<dd><p>The maximum amount of stack memory the server +may use. The default is <code class="literal">default</code>.</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2558584"></a>Server Resource Limits</h4></div></div></div> +<p>The following options set limits on the server's resource consumption that are enforced internally by the -server rather than the operating system.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->max-ixfr-log-size</B -></DT -><DD -><P ->This option is obsolete; it is accepted +server rather than the operating system.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">max-ixfr-log-size</strong></span></span></dt> +<dd><p>This option is obsolete; it is accepted and ignored for BIND 8 compatibility. The option -<B -CLASS="command" ->max-journal-size</B -> performs a similar +<span><strong class="command">max-journal-size</strong></span> performs a similar function in BIND 8. -</P -></DD -><DT -><B -CLASS="command" ->max-journal-size</B -></DT -><DD -><P ->Sets a maximum size for each journal file -(<A -HREF="Bv9ARM.ch04.html#journal" ->Section 4.2.1</A ->). When the journal file approaches +</p></dd> +<dt><span class="term"><span><strong class="command">max-journal-size</strong></span></span></dt> +<dd><p>Sets a maximum size for each journal file +(<a href="Bv9ARM.ch04.html#journal" title="The journal file">the section called “The journal file”</a>). When the journal file approaches the specified size, some of the oldest transactions in the journal will be automatically removed. The default is -<VAR -CLASS="literal" ->unlimited</VAR ->.</P -></DD -><DT -><B -CLASS="command" ->host-statistics-max</B -></DT -><DD -><P ->In BIND 8, specifies the maximum number of host statistic +<code class="literal">unlimited</code>.</p></dd> +<dt><span class="term"><span><strong class="command">host-statistics-max</strong></span></span></dt> +<dd><p>In BIND 8, specifies the maximum number of host statistic entries to be kept. Not implemented in BIND 9. -</P -></DD -><DT -><B -CLASS="command" ->recursive-clients</B -></DT -><DD -><P ->The maximum number of simultaneous recursive lookups +</p></dd> +<dt><span class="term"><span><strong class="command">recursive-clients</strong></span></span></dt> +<dd><p>The maximum number of simultaneous recursive lookups the server will perform on behalf of clients. The default is -<VAR -CLASS="literal" ->1000</VAR ->. Because each recursing client uses a fair +<code class="literal">1000</code>. Because each recursing client uses a fair bit of memory, on the order of 20 kilobytes, the value of the -<B -CLASS="command" ->recursive-clients</B -> option may have to be decreased +<span><strong class="command">recursive-clients</strong></span> option may have to be decreased on hosts with limited memory. -</P -></DD -><DT -><B -CLASS="command" ->tcp-clients</B -></DT -><DD -><P ->The maximum number of simultaneous client TCP +</p></dd> +<dt><span class="term"><span><strong class="command">tcp-clients</strong></span></span></dt> +<dd><p>The maximum number of simultaneous client TCP connections that the server will accept. -The default is <VAR -CLASS="literal" ->100</VAR ->.</P -></DD -><DT -><B -CLASS="command" ->max-cache-size</B -></DT -><DD -><P ->The maximum amount of memory to use for the +The default is <code class="literal">100</code>.</p></dd> +<dt><span class="term"><span><strong class="command">max-cache-size</strong></span></span></dt> +<dd><p>The maximum amount of memory to use for the server's cache, in bytes. When the amount of data in the cache reaches this limit, the server will cause records to expire prematurely so that the limit is not exceeded. In a server with multiple views, the limit applies separately to the cache of each -view. The default is <VAR -CLASS="literal" ->unlimited</VAR ->, meaning that +view. The default is <code class="literal">unlimited</code>, meaning that records are purged from the cache only when their TTLs expire. -</P -></DD -><DT -><B -CLASS="command" ->tcp-listen-queue</B -></DT -><DD -><P ->The listen queue depth. The default and minimum is 3. +</p></dd> +<dt><span class="term"><span><strong class="command">tcp-listen-queue</strong></span></span></dt> +<dd><p>The listen queue depth. The default and minimum is 3. If the kernel supports the accept filter "dataready" this also controls how many TCP connections that will be queued in kernel space waiting for some data before being passed to accept. Values less than 3 will be silently raised. -</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN3062" ->6.2.16.11. Periodic Task Intervals</A -></H3 -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->cleaning-interval</B -></DT -><DD -><P ->The server will remove expired resource records -from the cache every <B -CLASS="command" ->cleaning-interval</B -> minutes. +</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2558765"></a>Periodic Task Intervals</h4></div></div></div> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">cleaning-interval</strong></span></span></dt> +<dd><p>The server will remove expired resource records +from the cache every <span><strong class="command">cleaning-interval</strong></span> minutes. The default is 60 minutes. The maximum value is 28 days (40320 minutes). -If set to 0, no periodic cleaning will occur.</P -></DD -><DT -><B -CLASS="command" ->heartbeat-interval</B -></DT -><DD -><P ->The server will perform zone maintenance tasks -for all zones marked as <B -CLASS="command" ->dialup</B -> whenever this +If set to 0, no periodic cleaning will occur.</p></dd> +<dt><span class="term"><span><strong class="command">heartbeat-interval</strong></span></span></dt> +<dd><p>The server will perform zone maintenance tasks +for all zones marked as <span><strong class="command">dialup</strong></span> whenever this interval expires. The default is 60 minutes. Reasonable values are up to 1 day (1440 minutes). The maximum value is 28 days (40320 minutes). -If set to 0, no zone maintenance for these zones will occur.</P -></DD -><DT -><B -CLASS="command" ->interface-interval</B -></DT -><DD -><P ->The server will scan the network interface list -every <B -CLASS="command" ->interface-interval</B -> minutes. The default +If set to 0, no zone maintenance for these zones will occur.</p></dd> +<dt><span class="term"><span><strong class="command">interface-interval</strong></span></span></dt> +<dd><p>The server will scan the network interface list +every <span><strong class="command">interface-interval</strong></span> minutes. The default is 60 minutes. The maximum value is 28 days (40320 minutes). If set to 0, interface scanning will only occur when the configuration file is loaded. After the scan, the server will begin listening for queries on any newly discovered interfaces (provided they are allowed by the -<B -CLASS="command" ->listen-on</B -> configuration), and will -stop listening on interfaces that have gone away.</P -></DD -><DT -><B -CLASS="command" ->statistics-interval</B -></DT -><DD -><P ->Name server statistics will be logged -every <B -CLASS="command" ->statistics-interval</B -> minutes. The default is +<span><strong class="command">listen-on</strong></span> configuration), and will +stop listening on interfaces that have gone away.</p></dd> +<dt><span class="term"><span><strong class="command">statistics-interval</strong></span></span></dt> +<dd> +<p>Name server statistics will be logged +every <span><strong class="command">statistics-interval</strong></span> minutes. The default is 60. The maximum value is 28 days (40320 minutes). -If set to 0, no statistics will be logged.</P -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->Not yet implemented in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->9.</P -></BLOCKQUOTE -></DIV -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="topology" ->6.2.16.12. Topology</A -></H3 -><P ->All other things being equal, when the server chooses a name server +If set to 0, no statistics will be logged.</p> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>Not yet implemented in <span class="acronym">BIND</span>9.</p> +</div> +</dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="topology"></a>Topology</h4></div></div></div> +<p>All other things being equal, when the server chooses a name server to query from a list of name servers, it prefers the one that is -topologically closest to itself. The <B -CLASS="command" ->topology</B -> statement -takes an <B -CLASS="command" ->address_match_list</B -> and interprets it +topologically closest to itself. The <span><strong class="command">topology</strong></span> statement +takes an <span><strong class="command">address_match_list</strong></span> and interprets it in a special way. Each top-level list element is assigned a distance. Non-negated elements get a distance based on their position in the list, where the closer the match is to the start of the list, the @@ -6633,124 +2194,61 @@ shorter the distance is between it and the server. A negated match will be assigned the maximum distance from the server. If there is no match, the address will get a distance which is further than any non-negated list element, and closer than any negated element. -For example,</P -><PRE -CLASS="programlisting" ->topology { +For example,</p> +<pre class="programlisting">topology { 10/8; !1.2.3/24; { 1.2/16; 3/8; }; -};</PRE -><P ->will prefer servers on network 10 the most, followed by hosts +};</pre> +<p>will prefer servers on network 10 the most, followed by hosts on network 1.2.0.0 (netmask 255.255.0.0) and network 3, with the exception of hosts on network 1.2.3 (netmask 255.255.255.0), which -is preferred least of all.</P -><P ->The default topology is</P -><PRE -CLASS="programlisting" -> topology { localhost; localnets; }; -</PRE -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->The <B -CLASS="command" ->topology</B -> option -is not implemented in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9. -</P -></BLOCKQUOTE -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="the_sortlist_statement" ->6.2.16.13. The <B -CLASS="command" ->sortlist</B -> Statement</A -></H3 -><P ->The response to a DNS query may consist of multiple resource +is preferred least of all.</p> +<p>The default topology is</p> +<pre class="programlisting"> topology { localhost; localnets; }; +</pre> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>The <span><strong class="command">topology</strong></span> option +is not implemented in <span class="acronym">BIND</span> 9. +</p> +</div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="the_sortlist_statement"></a>The <span><strong class="command">sortlist</strong></span> Statement</h4></div></div></div> +<p>The response to a DNS query may consist of multiple resource records (RRs) forming a resource records set (RRset). The name server will normally return the RRs within the RRset in an indeterminate order -(but see the <B -CLASS="command" ->rrset-order</B -> -statement in <A -HREF="Bv9ARM.ch06.html#rrset_ordering" ->Section 6.2.16.14</A ->). +(but see the <span><strong class="command">rrset-order</strong></span> +statement in <a href="Bv9ARM.ch06.html#rrset_ordering" title="RRset Ordering">the section called “RRset Ordering”</a>). The client resolver code should rearrange the RRs as appropriate, that is, using any addresses on the local net in preference to other addresses. However, not all resolvers can do this or are correctly configured. When a client is using a local server the sorting can be performed in the server, based on the client's address. This only requires -configuring the name servers, not all the clients.</P -><P ->The <B -CLASS="command" ->sortlist</B -> statement (see below) takes -an <B -CLASS="command" ->address_match_list</B -> and interprets it even -more specifically than the <B -CLASS="command" ->topology</B -> statement -does (<A -HREF="Bv9ARM.ch06.html#topology" ->Section 6.2.16.12</A ->). -Each top level statement in the <B -CLASS="command" ->sortlist</B -> must -itself be an explicit <B -CLASS="command" ->address_match_list</B -> with +configuring the name servers, not all the clients.</p> +<p>The <span><strong class="command">sortlist</strong></span> statement (see below) takes +an <span><strong class="command">address_match_list</strong></span> and interprets it even +more specifically than the <span><strong class="command">topology</strong></span> statement +does (<a href="Bv9ARM.ch06.html#topology" title="Topology">the section called “Topology”</a>). +Each top level statement in the <span><strong class="command">sortlist</strong></span> must +itself be an explicit <span><strong class="command">address_match_list</strong></span> with one or two elements. The first element (which may be an IP address, -an IP prefix, an ACL name or a nested <B -CLASS="command" ->address_match_list</B ->) +an IP prefix, an ACL name or a nested <span><strong class="command">address_match_list</strong></span>) of each top level list is checked against the source address of -the query until a match is found.</P -><P ->Once the source address of the query has been matched, if +the query until a match is found.</p> +<p>Once the source address of the query has been matched, if the top level statement contains only one element, the actual primitive element that matched the source address is used to select the address in the response to move to the beginning of the response. If the statement is a list of two elements, then the second element is -treated the same as the <B -CLASS="command" ->address_match_list</B -> in -a <B -CLASS="command" ->topology</B -> statement. Each top level element +treated the same as the <span><strong class="command">address_match_list</strong></span> in +a <span><strong class="command">topology</strong></span> statement. Each top level element is assigned a distance and the address in the response with the minimum -distance is moved to the beginning of the response.</P -><P ->In the following example, any queries received from any of +distance is moved to the beginning of the response.</p> +<p>In the following example, any queries received from any of the addresses of the host itself will get responses preferring addresses on any of the locally connected networks. Next most preferred are addresses on the 192.168.1/24 network, and after that either the 192.168.2/24 @@ -6761,10 +2259,8 @@ will prefer other addresses on that network to the 192.168.2/24 and 192.168.3/24 networks. Queries received from a host on the 192.168.4/24 or the 192.168.5/24 network will only prefer other addresses on -their directly connected networks.</P -><PRE -CLASS="programlisting" ->sortlist { +their directly connected networks.</p> +<pre class="programlisting">sortlist { { localhost; // IF the local host { localnets; // THEN first fit on the 192.168.1/24; // following nets @@ -6780,1331 +2276,446 @@ CLASS="programlisting" { 192.168.1/24; 192.168.2/24; }; }; }; { { 192.168.4/24; 192.168.5/24; }; // if .4 or .5, prefer that net }; -};</PRE -><P ->The following example will give reasonable behavior for the +};</pre> +<p>The following example will give reasonable behavior for the local host and hosts on directly connected networks. It is similar -to the behavior of the address sort in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 4.9.x. Responses sent +to the behavior of the address sort in <span class="acronym">BIND</span> 4.9.x. Responses sent to queries from the local host will favor any of the directly connected networks. Responses sent to queries from any other hosts on a directly connected network will prefer addresses on that same network. Responses -to other queries will not be sorted.</P -><PRE -CLASS="programlisting" ->sortlist { +to other queries will not be sorted.</p> +<pre class="programlisting">sortlist { { localhost; localnets; }; { localnets; }; }; -</PRE -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="rrset_ordering" ->6.2.16.14. RRset Ordering</A -></H3 -><P ->When multiple records are returned in an answer it may be +</pre> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="rrset_ordering"></a>RRset Ordering</h4></div></div></div> +<p>When multiple records are returned in an answer it may be useful to configure the order of the records placed into the response. -The <B -CLASS="command" ->rrset-order</B -> statement permits configuration +The <span><strong class="command">rrset-order</strong></span> statement permits configuration of the ordering of the records in a multiple record response. -See also the <B -CLASS="command" ->sortlist</B -> statement, -<A -HREF="Bv9ARM.ch06.html#the_sortlist_statement" ->Section 6.2.16.13</A ->. -</P -><P ->An <B -CLASS="command" ->order_spec</B -> is defined as follows:</P -><PRE -CLASS="programlisting" ->[<SPAN -CLASS="optional" -> class <VAR -CLASS="replaceable" ->class_name</VAR -> </SPAN ->][<SPAN -CLASS="optional" -> type <VAR -CLASS="replaceable" ->type_name</VAR -> </SPAN ->][<SPAN -CLASS="optional" -> name <VAR -CLASS="replaceable" ->"domain_name"</VAR -></SPAN ->] - order <VAR -CLASS="replaceable" ->ordering</VAR -> -</PRE -><P ->If no class is specified, the default is <B -CLASS="command" ->ANY</B ->. -If no type is specified, the default is <B -CLASS="command" ->ANY</B ->. -If no name is specified, the default is "<B -CLASS="command" ->*</B ->".</P -><P ->The legal values for <B -CLASS="command" ->ordering</B -> are:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN3150" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->fixed</B -></P -></TD -><TD -><P ->Records are returned in the order they -are defined in the zone file.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->random</B -></P -></TD -><TD -><P ->Records are returned in some random order.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->cyclic</B -></P -></TD -><TD -><P ->Records are returned in a round-robin -order.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->For example:</P -><PRE -CLASS="programlisting" ->rrset-order { +See also the <span><strong class="command">sortlist</strong></span> statement, +<a href="Bv9ARM.ch06.html#the_sortlist_statement" title="The sortlist Statement">the section called “The <span><strong class="command">sortlist</strong></span> Statement”</a>. +</p> +<p>An <span><strong class="command">order_spec</strong></span> is defined as follows:</p> +<pre class="programlisting">[<span class="optional"> class <em class="replaceable"><code>class_name</code></em> </span>][<span class="optional"> type <em class="replaceable"><code>type_name</code></em> </span>][<span class="optional"> name <em class="replaceable"><code>"domain_name"</code></em></span>] + order <em class="replaceable"><code>ordering</code></em> +</pre> +<p>If no class is specified, the default is <span><strong class="command">ANY</strong></span>. +If no type is specified, the default is <span><strong class="command">ANY</strong></span>. +If no name is specified, the default is "<span><strong class="command">*</strong></span>".</p> +<p>The legal values for <span><strong class="command">ordering</strong></span> are:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">fixed</strong></span></p></td> +<td><p>Records are returned in the order they +are defined in the zone file.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">random</strong></span></p></td> +<td><p>Records are returned in some random order.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">cyclic</strong></span></p></td> +<td><p>Records are returned in a round-robin +order.</p></td> +</tr> +</tbody> +</table></div> +<p>For example:</p> +<pre class="programlisting">rrset-order { class IN type A name "host.example.com" order random; order cyclic; }; -</PRE -><P ->will cause any responses for type A records in class IN that -have "<VAR -CLASS="literal" ->host.example.com</VAR ->" as a suffix, to always be returned -in random order. All other records are returned in cyclic order.</P -><P ->If multiple <B -CLASS="command" ->rrset-order</B -> statements appear, -they are not combined — the last one applies.</P -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->The <B -CLASS="command" ->rrset-order</B -> statement -is not yet fully implemented in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9. +</pre> +<p>will cause any responses for type A records in class IN that +have "<code class="literal">host.example.com</code>" as a suffix, to always be returned +in random order. All other records are returned in cyclic order.</p> +<p>If multiple <span><strong class="command">rrset-order</strong></span> statements appear, +they are not combined — the last one applies.</p> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>The <span><strong class="command">rrset-order</strong></span> statement +is not yet fully implemented in <span class="acronym">BIND</span> 9. BIND 9 currently does not support "fixed" ordering. -</P -></BLOCKQUOTE -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="tuning" ->6.2.16.15. Tuning</A -></H3 -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->lame-ttl</B -></DT -><DD -><P ->Sets the number of seconds to cache a +</p> +</div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="tuning"></a>Tuning</h4></div></div></div> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">lame-ttl</strong></span></span></dt> +<dd><p>Sets the number of seconds to cache a lame server indication. 0 disables caching. (This is -<SPAN -CLASS="bold" -><B -CLASS="emphasis" ->NOT</B -></SPAN -> recommended.) -Default is <VAR -CLASS="literal" ->600</VAR -> (10 minutes). Maximum value is -<VAR -CLASS="literal" ->1800</VAR -> (30 minutes).</P -></DD -><DT -><B -CLASS="command" ->max-ncache-ttl</B -></DT -><DD -><P ->To reduce network traffic and increase performance -the server stores negative answers. <B -CLASS="command" ->max-ncache-ttl</B -> is +<span class="bold"><strong>NOT</strong></span> recommended.) +Default is <code class="literal">600</code> (10 minutes). Maximum value is +<code class="literal">1800</code> (30 minutes).</p></dd> +<dt><span class="term"><span><strong class="command">max-ncache-ttl</strong></span></span></dt> +<dd><p>To reduce network traffic and increase performance +the server stores negative answers. <span><strong class="command">max-ncache-ttl</strong></span> is used to set a maximum retention time for these answers in the server in seconds. The default -<B -CLASS="command" ->max-ncache-ttl</B -> is <VAR -CLASS="literal" ->10800</VAR -> seconds (3 hours). -<B -CLASS="command" ->max-ncache-ttl</B -> cannot exceed 7 days and will -be silently truncated to 7 days if set to a greater value.</P -></DD -><DT -><B -CLASS="command" ->max-cache-ttl</B -></DT -><DD -><P -><B -CLASS="command" ->max-cache-ttl</B -> sets +<span><strong class="command">max-ncache-ttl</strong></span> is <code class="literal">10800</code> seconds (3 hours). +<span><strong class="command">max-ncache-ttl</strong></span> cannot exceed 7 days and will +be silently truncated to 7 days if set to a greater value.</p></dd> +<dt><span class="term"><span><strong class="command">max-cache-ttl</strong></span></span></dt> +<dd><p><span><strong class="command">max-cache-ttl</strong></span> sets the maximum time for which the server will cache ordinary (positive) -answers. The default is one week (7 days).</P -></DD -><DT -><B -CLASS="command" ->min-roots</B -></DT -><DD -><P ->The minimum number of root servers that +answers. The default is one week (7 days).</p></dd> +<dt><span class="term"><span><strong class="command">min-roots</strong></span></span></dt> +<dd> +<p>The minimum number of root servers that is required for a request for the root servers to be accepted. Default -is <KBD -CLASS="userinput" ->2</KBD ->.</P -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->Not implemented in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->9.</P -></BLOCKQUOTE -></DIV -></DD -><DT -><B -CLASS="command" ->sig-validity-interval</B -></DT -><DD -><P ->Specifies the number of days into the +is <strong class="userinput"><code>2</code></strong>.</p> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>Not implemented in <span class="acronym">BIND</span>9.</p> +</div> +</dd> +<dt><span class="term"><span><strong class="command">sig-validity-interval</strong></span></span></dt> +<dd><p>Specifies the number of days into the future when DNSSEC signatures automatically generated as a result -of dynamic updates (<A -HREF="Bv9ARM.ch04.html#dynamic_update" ->Section 4.2</A ->) -will expire. The default is <VAR -CLASS="literal" ->30</VAR -> days. +of dynamic updates (<a href="Bv9ARM.ch04.html#dynamic_update" title="Dynamic Update">the section called “Dynamic Update”</a>) +will expire. The default is <code class="literal">30</code> days. The maximum value is 10 years (3660 days). The signature inception time is unconditionally set to one hour before the current time -to allow for a limited amount of clock skew.</P -></DD -><DT -><B -CLASS="command" ->min-refresh-time</B ->, <B -CLASS="command" ->max-refresh-time</B ->, <B -CLASS="command" ->min-retry-time</B ->, <B -CLASS="command" ->max-retry-time</B -></DT -><DD -><P -> These options control the server's behavior on refreshing a zone +to allow for a limited amount of clock skew.</p></dd> +<dt> +<span class="term"><span><strong class="command">min-refresh-time</strong></span>, </span><span class="term"><span><strong class="command">max-refresh-time</strong></span>, </span><span class="term"><span><strong class="command">min-retry-time</strong></span>, </span><span class="term"><span><strong class="command">max-retry-time</strong></span></span> +</dt> +<dd> +<p> +These options control the server's behavior on refreshing a zone (querying for SOA changes) or retrying failed transfers. Usually the SOA values for the zone are used, but these values are set by the master, giving slave server administrators little control over their contents. -</P -><P -> These options allow the administrator to set a minimum and maximum +</p> +<p> +These options allow the administrator to set a minimum and maximum refresh and retry time either per-zone, per-view, or globally. These options are valid for slave and stub zones, and clamp the SOA refresh and retry times to the specified values. -</P -></DD -><DT -><B -CLASS="command" ->edns-udp-size</B -></DT -><DD -><P -> <B -CLASS="command" ->edns-udp-size</B -> sets the advertised EDNS UDP buffer +</p> +</dd> +<dt><span class="term"><span><strong class="command">edns-udp-size</strong></span></span></dt> +<dd><p> +<span><strong class="command">edns-udp-size</strong></span> sets the advertised EDNS UDP buffer size. Valid values are 512 to 4096 (values outside this range will be silently adjusted). The default value is 4096. The usual reason for setting edns-udp-size to a non default value it to get UDP answers to pass through broken firewalls that block fragmented packets and/or block UDP packets that are greater than 512 bytes. -</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="builtin" ->6.2.16.16. Built-in server information zones</A -></H3 -><P ->The server provides some helpful diagnostic information +</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="builtin"></a>Built-in server information zones</h4></div></div></div> +<p>The server provides some helpful diagnostic information through a number of built-in zones under the -pseudo-top-level-domain <VAR -CLASS="literal" ->bind</VAR -> in the -<B -CLASS="command" ->CHAOS</B -> class. These zones are part of a -built-in view (see <A -HREF="Bv9ARM.ch06.html#view_statement_grammar" ->Section 6.2.21</A ->) of class -<B -CLASS="command" ->CHAOS</B -> which is separate from the default view of -class <B -CLASS="command" ->IN</B ->; therefore, any global server options -such as <B -CLASS="command" ->allow-query</B -> do not apply the these zones. +pseudo-top-level-domain <code class="literal">bind</code> in the +<span><strong class="command">CHAOS</strong></span> class. These zones are part of a +built-in view (see <a href="Bv9ARM.ch06.html#view_statement_grammar" title="view Statement Grammar">the section called “<span><strong class="command">view</strong></span> Statement Grammar”</a>) of class +<span><strong class="command">CHAOS</strong></span> which is separate from the default view of +class <span><strong class="command">IN</strong></span>; therefore, any global server options +such as <span><strong class="command">allow-query</strong></span> do not apply the these zones. If you feel the need to disable these zones, use the options -below, or hide the built-in <B -CLASS="command" ->CHAOS</B -> view by -defining an explicit view of class <B -CLASS="command" ->CHAOS</B -> -that matches all clients.</P -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->version</B -></DT -><DD -><P ->The version the server should report -via a query of the name <VAR -CLASS="literal" ->version.bind</VAR -> -with type <B -CLASS="command" ->TXT</B ->, class <B -CLASS="command" ->CHAOS</B ->. +below, or hide the built-in <span><strong class="command">CHAOS</strong></span> view by +defining an explicit view of class <span><strong class="command">CHAOS</strong></span> +that matches all clients.</p> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">version</strong></span></span></dt> +<dd><p>The version the server should report +via a query of the name <code class="literal">version.bind</code> +with type <span><strong class="command">TXT</strong></span>, class <span><strong class="command">CHAOS</strong></span>. The default is the real version number of this server. -Specifying <B -CLASS="command" ->version none</B -> -disables processing of the queries.</P -></DD -><DT -><B -CLASS="command" ->hostname</B -></DT -><DD -><P ->The hostname the server should report via a query of -the name <TT -CLASS="filename" ->hostname.bind</TT -> -with type <B -CLASS="command" ->TXT</B ->, class <B -CLASS="command" ->CHAOS</B ->. +Specifying <span><strong class="command">version none</strong></span> +disables processing of the queries.</p></dd> +<dt><span class="term"><span><strong class="command">hostname</strong></span></span></dt> +<dd><p>The hostname the server should report via a query of +the name <code class="filename">hostname.bind</code> +with type <span><strong class="command">TXT</strong></span>, class <span><strong class="command">CHAOS</strong></span>. This defaults to the hostname of the machine hosting the name server as found by gethostname(). The primary purpose of such queries is to identify which of a group of anycast servers is actually -answering your queries. Specifying <B -CLASS="command" ->hostname none;</B -> -disables processing of the queries.</P -></DD -><DT -><B -CLASS="command" ->server-id</B -></DT -><DD -><P ->The ID of the server should report via a query of -the name <TT -CLASS="filename" ->ID.SERVER</TT -> -with type <B -CLASS="command" ->TXT</B ->, class <B -CLASS="command" ->CHAOS</B ->. +answering your queries. Specifying <span><strong class="command">hostname none;</strong></span> +disables processing of the queries.</p></dd> +<dt><span class="term"><span><strong class="command">server-id</strong></span></span></dt> +<dd><p>The ID of the server should report via a query of +the name <code class="filename">ID.SERVER</code> +with type <span><strong class="command">TXT</strong></span>, class <span><strong class="command">CHAOS</strong></span>. The primary purpose of such queries is to identify which of a group of anycast servers is actually -answering your queries. Specifying <B -CLASS="command" ->server-id none;</B -> +answering your queries. Specifying <span><strong class="command">server-id none;</strong></span> disables processing of the queries. -Specifying <B -CLASS="command" ->server-id hostname;</B -> will cause named to +Specifying <span><strong class="command">server-id hostname;</strong></span> will cause named to use the hostname as found by gethostname(). -The default <B -CLASS="command" ->server-id</B -> is <B -CLASS="command" ->none</B ->. -</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="statsfile" ->6.2.16.17. The Statistics File</A -></H3 -><P ->The statistics file generated by <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 +The default <span><strong class="command">server-id</strong></span> is <span><strong class="command">none</strong></span>. +</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="statsfile"></a>The Statistics File</h4></div></div></div> +<p>The statistics file generated by <span class="acronym">BIND</span> 9 is similar, but not identical, to that -generated by <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8. -</P -><P ->The statistics dump begins with the line <B -CLASS="command" ->+++ Statistics Dump -+++ (973798949)</B ->, where the number in parentheses is a standard +generated by <span class="acronym">BIND</span> 8. +</p> +<p>The statistics dump begins with the line <span><strong class="command">+++ Statistics Dump ++++ (973798949)</strong></span>, where the number in parentheses is a standard Unix-style timestamp, measured as seconds since January 1, 1970. Following that line are a series of lines containing a counter type, the value of the counter, optionally a zone name, and optionally a view name. The lines without view and zone listed are global statistics for the entire server. Lines with a zone and view name for the given view and zone (the view name is omitted for the default view). The statistics dump ends -with the line <B -CLASS="command" ->--- Statistics Dump --- (973798949)</B ->, where the -number is identical to the number in the beginning line.</P -><P ->The following statistics counters are maintained:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN3294" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->success</B -></P -></TD -><TD -><P ->The number of +with the line <span><strong class="command">--- Statistics Dump --- (973798949)</strong></span>, where the +number is identical to the number in the beginning line.</p> +<p>The following statistics counters are maintained:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">success</strong></span></p></td> +<td><p>The number of successful queries made to the server or zone. A successful query is defined as query which returns a NOERROR response with at least -one answer RR.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->referral</B -></P -></TD -><TD -><P ->The number of queries which resulted -in referral responses.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->nxrrset</B -></P -></TD -><TD -><P ->The number of queries which resulted in -NOERROR responses with no data.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->nxdomain</B -></P -></TD -><TD -><P ->The number -of queries which resulted in NXDOMAIN responses.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->failure</B -></P -></TD -><TD -><P ->The number of queries which resulted in a -failure response other than those above.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->recursion</B -></P -></TD -><TD -><P ->The number of queries which caused the server -to perform recursion in order to find the final answer.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P -> Each query received by the server will cause exactly one of -<B -CLASS="command" ->success</B ->, -<B -CLASS="command" ->referral</B ->, -<B -CLASS="command" ->nxrrset</B ->, -<B -CLASS="command" ->nxdomain</B ->, or -<B -CLASS="command" ->failure</B -> +one answer RR.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">referral</strong></span></p></td> +<td><p>The number of queries which resulted +in referral responses.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">nxrrset</strong></span></p></td> +<td><p>The number of queries which resulted in +NOERROR responses with no data.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">nxdomain</strong></span></p></td> +<td><p>The number +of queries which resulted in NXDOMAIN responses.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">failure</strong></span></p></td> +<td><p>The number of queries which resulted in a +failure response other than those above.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">recursion</strong></span></p></td> +<td><p>The number of queries which caused the server +to perform recursion in order to find the final answer.</p></td> +</tr> +</tbody> +</table></div> +<p> +Each query received by the server will cause exactly one of +<span><strong class="command">success</strong></span>, +<span><strong class="command">referral</strong></span>, +<span><strong class="command">nxrrset</strong></span>, +<span><strong class="command">nxdomain</strong></span>, or +<span><strong class="command">failure</strong></span> to be incremented, and may additionally cause the -<B -CLASS="command" ->recursion</B -> counter to be incremented. -</P -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="server_statement_grammar" ->6.2.17. <B -CLASS="command" ->server</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" ->server <VAR -CLASS="replaceable" ->ip_addr</VAR -> { - [<SPAN -CLASS="optional" -> bogus <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> provide-ixfr <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> request-ixfr <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> edns <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfers <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-format <VAR -CLASS="replaceable" ->( one-answer | many-answers )</VAR -> ; ]</SPAN ->] - [<SPAN -CLASS="optional" -> keys <VAR -CLASS="replaceable" ->{ string ; [<SPAN -CLASS="optional" -> string ; [<SPAN -CLASS="optional" ->...</SPAN ->]</SPAN ->] }</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] +<span><strong class="command">recursion</strong></span> counter to be incremented. +</p> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="server_statement_grammar"></a><span><strong class="command">server</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting">server <em class="replaceable"><code>ip_addr</code></em> { + [<span class="optional"> bogus <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> provide-ixfr <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> request-ixfr <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> edns <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> transfers <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> transfer-format <em class="replaceable"><code>( one-answer | many-answers )</code></em> ; ]</span>] + [<span class="optional"> keys <em class="replaceable"><code>{ string ; [<span class="optional"> string ; [<span class="optional">...</span>]</span>] }</code></em> ; </span>] + [<span class="optional"> transfer-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> transfer-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="server_statement_definition_and_usage" ->6.2.18. <B -CLASS="command" ->server</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->server</B -> statement defines characteristics -to be associated with a remote name server.</P -><P -> The <B -CLASS="command" ->server</B -> statement can occur at the top level of the -configuration file or inside a <B -CLASS="command" ->view</B -> statement. -If a <B -CLASS="command" ->view</B -> statement contains -one or more <B -CLASS="command" ->server</B -> statements, only those +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="server_statement_definition_and_usage"></a><span><strong class="command">server</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">server</strong></span> statement defines characteristics +to be associated with a remote name server.</p> +<p> +The <span><strong class="command">server</strong></span> statement can occur at the top level of the +configuration file or inside a <span><strong class="command">view</strong></span> statement. +If a <span><strong class="command">view</strong></span> statement contains +one or more <span><strong class="command">server</strong></span> statements, only those apply to the view and any top-level ones are ignored. -If a view contains no <B -CLASS="command" ->server</B -> statements, -any top-level <B -CLASS="command" ->server</B -> statements are used as +If a view contains no <span><strong class="command">server</strong></span> statements, +any top-level <span><strong class="command">server</strong></span> statements are used as defaults. -</P -><P ->If you discover that a remote server is giving out bad data, +</p> +<p>If you discover that a remote server is giving out bad data, marking it as bogus will prevent further queries to it. The default -value of <B -CLASS="command" ->bogus</B -> is <B -CLASS="command" ->no</B ->.</P -><P ->The <B -CLASS="command" ->provide-ixfr</B -> clause determines whether +value of <span><strong class="command">bogus</strong></span> is <span><strong class="command">no</strong></span>.</p> +<p>The <span><strong class="command">provide-ixfr</strong></span> clause determines whether the local server, acting as master, will respond with an incremental zone transfer when the given remote server, a slave, requests it. -If set to <B -CLASS="command" ->yes</B ->, incremental transfer will be provided -whenever possible. If set to <B -CLASS="command" ->no</B ->, all transfers +If set to <span><strong class="command">yes</strong></span>, incremental transfer will be provided +whenever possible. If set to <span><strong class="command">no</strong></span>, all transfers to the remote server will be non-incremental. If not set, the value -of the <B -CLASS="command" ->provide-ixfr</B -> option in the view or -global options block is used as a default.</P -><P ->The <B -CLASS="command" ->request-ixfr</B -> clause determines whether +of the <span><strong class="command">provide-ixfr</strong></span> option in the view or +global options block is used as a default.</p> +<p>The <span><strong class="command">request-ixfr</strong></span> clause determines whether the local server, acting as a slave, will request incremental zone transfers from the given remote server, a master. If not set, the -value of the <B -CLASS="command" ->request-ixfr</B -> option in the view or -global options block is used as a default.</P -><P ->IXFR requests to servers that do not support IXFR will automatically +value of the <span><strong class="command">request-ixfr</strong></span> option in the view or +global options block is used as a default.</p> +<p>IXFR requests to servers that do not support IXFR will automatically fall back to AXFR. Therefore, there is no need to manually list which servers support IXFR and which ones do not; the global default -of <B -CLASS="command" ->yes</B -> should always work. -The purpose of the <B -CLASS="command" ->provide-ixfr</B -> and -<B -CLASS="command" ->request-ixfr</B -> clauses is +of <span><strong class="command">yes</strong></span> should always work. +The purpose of the <span><strong class="command">provide-ixfr</strong></span> and +<span><strong class="command">request-ixfr</strong></span> clauses is to make it possible to disable the use of IXFR even when both master and slave claim to support it, for example if one of the servers -is buggy and crashes or corrupts data when IXFR is used.</P -><P ->The <B -CLASS="command" ->edns</B -> clause determines whether the local server +is buggy and crashes or corrupts data when IXFR is used.</p> +<p>The <span><strong class="command">edns</strong></span> clause determines whether the local server will attempt to use EDNS when communicating with the remote server. The -default is <B -CLASS="command" ->yes</B ->.</P -><P ->The server supports two zone transfer methods. The first, <B -CLASS="command" ->one-answer</B ->, -uses one DNS message per resource record transferred. <B -CLASS="command" ->many-answers</B -> packs -as many resource records as possible into a message. <B -CLASS="command" ->many-answers</B -> is -more efficient, but is only known to be understood by <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> -8.x, and patched versions of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 4.9.5. You can specify which method -to use for a server with the <B -CLASS="command" ->transfer-format</B -> option. -If <B -CLASS="command" ->transfer-format</B -> is not specified, the <B -CLASS="command" ->transfer-format</B -> specified -by the <B -CLASS="command" ->options</B -> statement will be used.</P -><P -><B -CLASS="command" ->transfers</B -> is used to limit the number of +default is <span><strong class="command">yes</strong></span>.</p> +<p>The server supports two zone transfer methods. The first, <span><strong class="command">one-answer</strong></span>, +uses one DNS message per resource record transferred. <span><strong class="command">many-answers</strong></span> packs +as many resource records as possible into a message. <span><strong class="command">many-answers</strong></span> is +more efficient, but is only known to be understood by <span class="acronym">BIND</span> 9, <span class="acronym">BIND</span> +8.x, and patched versions of <span class="acronym">BIND</span> 4.9.5. You can specify which method +to use for a server with the <span><strong class="command">transfer-format</strong></span> option. +If <span><strong class="command">transfer-format</strong></span> is not specified, the <span><strong class="command">transfer-format</strong></span> specified +by the <span><strong class="command">options</strong></span> statement will be used.</p> +<p><span><strong class="command">transfers</strong></span> is used to limit the number of concurrent inbound zone transfers from the specified server. If -no <B -CLASS="command" ->transfers</B -> clause is specified, the limit is -set according to the <B -CLASS="command" ->transfers-per-ns</B -> option.</P -><P ->The <B -CLASS="command" ->keys</B -> clause identifies a -<B -CLASS="command" ->key_id</B -> defined by the <B -CLASS="command" ->key</B -> statement, -to be used for transaction security (TSIG, <A -HREF="Bv9ARM.ch04.html#tsig" ->Section 4.5</A ->) +no <span><strong class="command">transfers</strong></span> clause is specified, the limit is +set according to the <span><strong class="command">transfers-per-ns</strong></span> option.</p> +<p>The <span><strong class="command">keys</strong></span> clause identifies a +<span><strong class="command">key_id</strong></span> defined by the <span><strong class="command">key</strong></span> statement, +to be used for transaction security (TSIG, <a href="Bv9ARM.ch04.html#tsig" title="TSIG">the section called “TSIG”</a>) when talking to the remote server. When a request is sent to the remote server, a request signature will be generated using the key specified here and appended to the message. A request originating from the remote server is not required -to be signed by this key.</P -><P ->Although the grammar of the <B -CLASS="command" ->keys</B -> clause +to be signed by this key.</p> +<p>Although the grammar of the <span><strong class="command">keys</strong></span> clause allows for multiple keys, only a single key per server is currently -supported.</P -><P ->The <B -CLASS="command" ->transfer-source</B -> and -<B -CLASS="command" ->transfer-source-v6</B -> clauses specify the IPv4 and IPv6 source +supported.</p> +<p>The <span><strong class="command">transfer-source</strong></span> and +<span><strong class="command">transfer-source-v6</strong></span> clauses specify the IPv4 and IPv6 source address to be used for zone transfer with the remote server, respectively. -For an IPv4 remote server, only <B -CLASS="command" ->transfer-source</B -> can +For an IPv4 remote server, only <span><strong class="command">transfer-source</strong></span> can be specified. Similarly, for an IPv6 remote server, only -<B -CLASS="command" ->transfer-source-v6</B -> can be specified. +<span><strong class="command">transfer-source-v6</strong></span> can be specified. Form more details, see the description of -<B -CLASS="command" ->transfer-source</B -> and -<B -CLASS="command" ->transfer-source-v6</B -> in -<A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN3433" ->6.2.19. <B -CLASS="command" ->trusted-keys</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" ->trusted-keys { - <VAR -CLASS="replaceable" ->string</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->string</VAR -> ; - [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->string</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->string</VAR -> ; [<SPAN -CLASS="optional" ->...</SPAN ->]</SPAN ->] +<span><strong class="command">transfer-source</strong></span> and +<span><strong class="command">transfer-source-v6</strong></span> in +<a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2562233"></a><span><strong class="command">trusted-keys</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting">trusted-keys { + <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>string</code></em> ; + [<span class="optional"> <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>string</code></em> ; [<span class="optional">...</span>]</span>] }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN3449" ->6.2.20. <B -CLASS="command" ->trusted-keys</B -> Statement Definition -and Usage</A -></H2 -><P ->The <B -CLASS="command" ->trusted-keys</B -> statement defines DNSSEC -security roots. DNSSEC is described in <A -HREF="Bv9ARM.ch04.html#DNSSEC" ->Section 4.8</A ->. A security root is defined when the public key for a non-authoritative +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2562281"></a><span><strong class="command">trusted-keys</strong></span> Statement Definition +and Usage</h3></div></div></div> +<p>The <span><strong class="command">trusted-keys</strong></span> statement defines DNSSEC +security roots. DNSSEC is described in <a href="Bv9ARM.ch04.html#DNSSEC" title="DNSSEC">the section called “DNSSEC”</a>. A security root is defined when the public key for a non-authoritative zone is known, but cannot be securely obtained through DNS, either because it is the DNS root zone or because its parent zone is unsigned. Once a key has been configured as a trusted key, it is treated as if it had been validated and proven secure. The resolver attempts -DNSSEC validation on all DNS data in subdomains of a security root.</P -><P ->The <B -CLASS="command" ->trusted-keys</B -> statement can contain +DNSSEC validation on all DNS data in subdomains of a security root.</p> +<p>The <span><strong class="command">trusted-keys</strong></span> statement can contain multiple key entries, each consisting of the key's domain name, flags, protocol, algorithm, and the base-64 representation of the -key data.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="view_statement_grammar" ->6.2.21. <B -CLASS="command" ->view</B -> Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" ->view <VAR -CLASS="replaceable" ->view_name</VAR -> - [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -></SPAN ->] { - match-clients { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; - match-destinations { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; - match-recursive-only <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; - [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->view_option</VAR ->; ...</SPAN ->] - [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->zone_statement</VAR ->; ...</SPAN ->] +key data.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="view_statement_grammar"></a><span><strong class="command">view</strong></span> Statement Grammar</h3></div></div></div> +<pre class="programlisting">view <em class="replaceable"><code>view_name</code></em> + [<span class="optional"><em class="replaceable"><code>class</code></em></span>] { + match-clients { <em class="replaceable"><code>address_match_list</code></em> } ; + match-destinations { <em class="replaceable"><code>address_match_list</code></em> } ; + match-recursive-only <em class="replaceable"><code>yes_or_no</code></em> ; + [<span class="optional"> <em class="replaceable"><code>view_option</code></em>; ...</span>] + [<span class="optional"> <em class="replaceable"><code>zone_statement</code></em>; ...</span>] }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN3471" ->6.2.22. <B -CLASS="command" ->view</B -> Statement Definition and Usage</A -></H2 -><P ->The <B -CLASS="command" ->view</B -> statement is a powerful new feature -of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 that lets a name server answer a DNS query differently +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2562349"></a><span><strong class="command">view</strong></span> Statement Definition and Usage</h3></div></div></div> +<p>The <span><strong class="command">view</strong></span> statement is a powerful new feature +of <span class="acronym">BIND</span> 9 that lets a name server answer a DNS query differently depending on who is asking. It is particularly useful for implementing -split DNS setups without having to run multiple servers.</P -><P ->Each <B -CLASS="command" ->view</B -> statement defines a view of the +split DNS setups without having to run multiple servers.</p> +<p>Each <span><strong class="command">view</strong></span> statement defines a view of the DNS namespace that will be seen by a subset of clients. A client matches a view if its source IP address matches the -<VAR -CLASS="varname" ->address_match_list</VAR -> of the view's -<B -CLASS="command" ->match-clients</B -> clause and its destination IP address matches -the <VAR -CLASS="varname" ->address_match_list</VAR -> of the view's -<B -CLASS="command" ->match-destinations</B -> clause. If not specified, both -<B -CLASS="command" ->match-clients</B -> and <B -CLASS="command" ->match-destinations</B -> +<code class="varname">address_match_list</code> of the view's +<span><strong class="command">match-clients</strong></span> clause and its destination IP address matches +the <code class="varname">address_match_list</code> of the view's +<span><strong class="command">match-destinations</strong></span> clause. If not specified, both +<span><strong class="command">match-clients</strong></span> and <span><strong class="command">match-destinations</strong></span> default to matching all addresses. In addition to checking IP addresses -<B -CLASS="command" ->match-clients</B -> and <B -CLASS="command" ->match-destinations</B -> -can also take <B -CLASS="command" ->keys</B -> which provide an mechanism for the +<span><strong class="command">match-clients</strong></span> and <span><strong class="command">match-destinations</strong></span> +can also take <span><strong class="command">keys</strong></span> which provide an mechanism for the client to select the view. A view can also be specified -as <B -CLASS="command" ->match-recursive-only</B ->, which means that only recursive +as <span><strong class="command">match-recursive-only</strong></span>, which means that only recursive requests from matching clients will match that view. -The order of the <B -CLASS="command" ->view</B -> statements is significant — +The order of the <span><strong class="command">view</strong></span> statements is significant — a client request will be resolved in the context of the first -<B -CLASS="command" ->view</B -> that it matches.</P -><P ->Zones defined within a <B -CLASS="command" ->view</B -> statement will -be only be accessible to clients that match the <B -CLASS="command" ->view</B ->. +<span><strong class="command">view</strong></span> that it matches.</p> +<p>Zones defined within a <span><strong class="command">view</strong></span> statement will +be only be accessible to clients that match the <span><strong class="command">view</strong></span>. By defining a zone of the same name in multiple views, different zone data can be given to different clients, for example, "internal" -and "external" clients in a split DNS setup.</P -><P ->Many of the options given in the <B -CLASS="command" ->options</B -> statement -can also be used within a <B -CLASS="command" ->view</B -> statement, and then +and "external" clients in a split DNS setup.</p> +<p>Many of the options given in the <span><strong class="command">options</strong></span> statement +can also be used within a <span><strong class="command">view</strong></span> statement, and then apply only when resolving queries with that view. When no view-specific -value is given, the value in the <B -CLASS="command" ->options</B -> statement +value is given, the value in the <span><strong class="command">options</strong></span> statement is used as a default. Also, zone options can have default values specified -in the <B -CLASS="command" ->view</B -> statement; these view-specific defaults -take precedence over those in the <B -CLASS="command" ->options</B -> statement.</P -><P ->Views are class specific. If no class is given, class IN +in the <span><strong class="command">view</strong></span> statement; these view-specific defaults +take precedence over those in the <span><strong class="command">options</strong></span> statement.</p> +<p>Views are class specific. If no class is given, class IN is assumed. Note that all non-IN views must contain a hint zone, -since only the IN class has compiled-in default hints.</P -><P ->If there are no <B -CLASS="command" ->view</B -> statements in the config +since only the IN class has compiled-in default hints.</p> +<p>If there are no <span><strong class="command">view</strong></span> statements in the config file, a default view that matches any client is automatically created -in class IN. Any <B -CLASS="command" ->zone</B -> statements specified on +in class IN. Any <span><strong class="command">zone</strong></span> statements specified on the top level of the configuration file are considered to be part of -this default view, and the <B -CLASS="command" ->options</B -> statement will -apply to the default view. If any explicit <B -CLASS="command" ->view</B -> -statements are present, all <B -CLASS="command" ->zone</B -> statements must -occur inside <B -CLASS="command" ->view</B -> statements.</P -><P ->Here is an example of a typical split DNS setup implemented -using <B -CLASS="command" ->view</B -> statements.</P -><PRE -CLASS="programlisting" ->view "internal" { +this default view, and the <span><strong class="command">options</strong></span> statement will +apply to the default view. If any explicit <span><strong class="command">view</strong></span> +statements are present, all <span><strong class="command">zone</strong></span> statements must +occur inside <span><strong class="command">view</strong></span> statements.</p> +<p>Here is an example of a typical split DNS setup implemented +using <span><strong class="command">view</strong></span> statements.</p> +<pre class="programlisting">view "internal" { // This should match our internal networks. match-clients { 10.0.0.0/8; }; @@ -8133,519 +2744,80 @@ view "external" { file "example-external.db"; }; }; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="zone_statement_grammar" ->6.2.23. <B -CLASS="command" ->zone</B -> -Statement Grammar</A -></H2 -><PRE -CLASS="programlisting" ->zone <VAR -CLASS="replaceable" ->zone_name</VAR -> [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -></SPAN ->] [<SPAN -CLASS="optional" ->{ +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="zone_statement_grammar"></a><span><strong class="command">zone</strong></span> +Statement Grammar</h3></div></div></div> +<pre class="programlisting">zone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] [<span class="optional">{ type ( master | slave | hint | stub | forward | delegation-only ) ; - [<SPAN -CLASS="optional" -> allow-notify { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-query { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-transfer { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-update { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; </SPAN ->] - [<SPAN -CLASS="optional" -> update-policy { <VAR -CLASS="replaceable" ->update_policy_rule</VAR -> [<SPAN -CLASS="optional" ->...</SPAN ->] } ; </SPAN ->] - [<SPAN -CLASS="optional" -> allow-update-forwarding { <VAR -CLASS="replaceable" ->address_match_list</VAR -> } ; </SPAN ->] - [<SPAN -CLASS="optional" -> also-notify { <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; ... </SPAN ->] }; </SPAN ->] - [<SPAN -CLASS="optional" -> check-names (<CODE -CLASS="constant" ->warn</CODE ->|<CODE -CLASS="constant" ->fail</CODE ->|<CODE -CLASS="constant" ->ignore</CODE ->) ; </SPAN ->] - [<SPAN -CLASS="optional" -> dialup <VAR -CLASS="replaceable" ->dialup_option</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> delegation-only <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> file <VAR -CLASS="replaceable" ->string</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> forward (<CODE -CLASS="constant" ->only</CODE ->|<CODE -CLASS="constant" ->first</CODE ->) ; </SPAN ->] - [<SPAN -CLASS="optional" -> forwarders { <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; ... </SPAN ->] }; </SPAN ->] - [<SPAN -CLASS="optional" -> ixfr-base <VAR -CLASS="replaceable" ->string</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> ixfr-tmp-file <VAR -CLASS="replaceable" ->string</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> maintain-ixfr-base <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> masters [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] { ( <VAR -CLASS="replaceable" ->masters_list</VAR -> | <VAR -CLASS="replaceable" ->ip_addr</VAR -> [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] [<SPAN -CLASS="optional" ->key <VAR -CLASS="replaceable" ->key</VAR -></SPAN ->] ) ; [<SPAN -CLASS="optional" ->...</SPAN ->] } ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-ixfr-log-size <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-idle-in <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-idle-out <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-time-in <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-transfer-time-out <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> notify <VAR -CLASS="replaceable" ->yes_or_no</VAR -> | <VAR -CLASS="replaceable" ->explicit</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> pubkey <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->number</VAR -> <VAR -CLASS="replaceable" ->string</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> transfer-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> alt-transfer-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> alt-transfer-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> use-alt-transfer-source <VAR -CLASS="replaceable" ->yes_or_no</VAR ->; </SPAN ->] - [<SPAN -CLASS="optional" -> notify-source (<VAR -CLASS="replaceable" ->ip4_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> notify-source-v6 (<VAR -CLASS="replaceable" ->ip6_addr</VAR -> | <CODE -CLASS="constant" ->*</CODE ->) [<SPAN -CLASS="optional" ->port <VAR -CLASS="replaceable" ->ip_port</VAR -></SPAN ->] ; </SPAN ->] - [<SPAN -CLASS="optional" -> zone-statistics <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> sig-validity-interval <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> database <VAR -CLASS="replaceable" ->string</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> min-refresh-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-refresh-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> min-retry-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> max-retry-time <VAR -CLASS="replaceable" ->number</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> multi-master <VAR -CLASS="replaceable" ->yes_or_no</VAR -> ; </SPAN ->] - [<SPAN -CLASS="optional" -> key-directory <VAR -CLASS="replaceable" ->path_name</VAR ->; </SPAN ->] + [<span class="optional"> allow-notify { <em class="replaceable"><code>address_match_list</code></em> } ; </span>] + [<span class="optional"> allow-query { <em class="replaceable"><code>address_match_list</code></em> } ; </span>] + [<span class="optional"> allow-transfer { <em class="replaceable"><code>address_match_list</code></em> } ; </span>] + [<span class="optional"> allow-update { <em class="replaceable"><code>address_match_list</code></em> } ; </span>] + [<span class="optional"> update-policy { <em class="replaceable"><code>update_policy_rule</code></em> [<span class="optional">...</span>] } ; </span>] + [<span class="optional"> allow-update-forwarding { <em class="replaceable"><code>address_match_list</code></em> } ; </span>] + [<span class="optional"> also-notify { <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; [<span class="optional"> <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; ... </span>] }; </span>] + [<span class="optional"> check-names (<code class="constant">warn</code>|<code class="constant">fail</code>|<code class="constant">ignore</code>) ; </span>] + [<span class="optional"> dialup <em class="replaceable"><code>dialup_option</code></em> ; </span>] + [<span class="optional"> delegation-only <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> file <em class="replaceable"><code>string</code></em> ; </span>] + [<span class="optional"> forward (<code class="constant">only</code>|<code class="constant">first</code>) ; </span>] + [<span class="optional"> forwarders { [<span class="optional"> <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; ... </span>] }; </span>] + [<span class="optional"> ixfr-base <em class="replaceable"><code>string</code></em> ; </span>] + [<span class="optional"> ixfr-tmp-file <em class="replaceable"><code>string</code></em> ; </span>] + [<span class="optional"> maintain-ixfr-base <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> masters [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] { ( <em class="replaceable"><code>masters_list</code></em> | <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] [<span class="optional">key <em class="replaceable"><code>key</code></em></span>] ) ; [<span class="optional">...</span>] } ; </span>] + [<span class="optional"> max-ixfr-log-size <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-transfer-idle-in <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-transfer-idle-out <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-transfer-time-in <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-transfer-time-out <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> notify <em class="replaceable"><code>yes_or_no</code></em> | <em class="replaceable"><code>explicit</code></em> ; </span>] + [<span class="optional"> pubkey <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>number</code></em> <em class="replaceable"><code>string</code></em> ; </span>] + [<span class="optional"> transfer-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> transfer-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> alt-transfer-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> alt-transfer-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> use-alt-transfer-source <em class="replaceable"><code>yes_or_no</code></em>; </span>] + [<span class="optional"> notify-source (<em class="replaceable"><code>ip4_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> notify-source-v6 (<em class="replaceable"><code>ip6_addr</code></em> | <code class="constant">*</code>) [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ; </span>] + [<span class="optional"> zone-statistics <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> sig-validity-interval <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> database <em class="replaceable"><code>string</code></em> ; </span>] + [<span class="optional"> min-refresh-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-refresh-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> min-retry-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> max-retry-time <em class="replaceable"><code>number</code></em> ; </span>] + [<span class="optional"> multi-master <em class="replaceable"><code>yes_or_no</code></em> ; </span>] + [<span class="optional"> key-directory <em class="replaceable"><code>path_name</code></em>; </span>] -}</SPAN ->]; -</PRE -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN3645" ->6.2.24. <B -CLASS="command" ->zone</B -> Statement Definition and Usage</A -></H2 -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN3648" ->6.2.24.1. Zone Types</A -></H3 -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN3650" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="varname" ->master</VAR -></P -></TD -><TD -><P ->The server has a master copy of the data +}</span>]; +</pre> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2563022"></a><span><strong class="command">zone</strong></span> Statement Definition and Usage</h3></div></div></div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2563029"></a>Zone Types</h4></div></div></div> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="varname">master</code></p></td> +<td><p>The server has a master copy of the data for the zone and will be able to provide authoritative answers for -it.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->slave</VAR -></P -></TD -><TD -><P ->A slave zone is a replica of a master -zone. The <B -CLASS="command" ->masters</B -> list specifies one or more IP addresses +it.</p></td> +</tr> +<tr> +<td><p><code class="varname">slave</code></p></td> +<td><p>A slave zone is a replica of a master +zone. The <span><strong class="command">masters</strong></span> list specifies one or more IP addresses of master servers that the slave contacts to update its copy of the zone. Masters list elements can also be names of other masters lists. By default, transfers are made from port 53 on the servers; this can @@ -8659,1640 +2831,605 @@ recommended, since it often speeds server start-up and eliminates a needless waste of bandwidth. Note that for large numbers (in the tens or hundreds of thousands) of zones per server, it is best to use a two level naming scheme for zone file names. For example, -a slave server for the zone <VAR -CLASS="literal" ->example.com</VAR -> might place +a slave server for the zone <code class="literal">example.com</code> might place the zone contents into a file called -<TT -CLASS="filename" ->ex/example.com</TT -> where <TT -CLASS="filename" ->ex/</TT -> is +<code class="filename">ex/example.com</code> where <code class="filename">ex/</code> is just the first two letters of the zone name. (Most operating systems behave very slowly if you put 100 000 files into -a single directory.)</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->stub</VAR -></P -></TD -><TD -><P ->A stub zone is similar to a slave zone, +a single directory.)</p></td> +</tr> +<tr> +<td><p><code class="varname">stub</code></p></td> +<td> +<p>A stub zone is similar to a slave zone, except that it replicates only the NS records of a master zone instead of the entire zone. Stub zones are not a standard part of the DNS; -they are a feature specific to the <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> implementation. -</P -> +they are a feature specific to the <span class="acronym">BIND</span> implementation. +</p> -<P ->Stub zones can be used to eliminate the need for glue NS record +<p>Stub zones can be used to eliminate the need for glue NS record in a parent zone at the expense of maintaining a stub zone entry and -a set of name server addresses in <TT -CLASS="filename" ->named.conf</TT ->. +a set of name server addresses in <code class="filename">named.conf</code>. This usage is not recommended for new configurations, and BIND 9 supports it only in a limited way. -In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 4/8, zone transfers of a parent zone +In <span class="acronym">BIND</span> 4/8, zone transfers of a parent zone included the NS records from stub children of that zone. This meant that, in some cases, users could get away with configuring child stubs -only in the master server for the parent zone. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> +only in the master server for the parent zone. <span class="acronym">BIND</span> 9 never mixes together zone data from different zones in this -way. Therefore, if a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 master serving a parent +way. Therefore, if a <span class="acronym">BIND</span> 9 master serving a parent zone has child stub zones configured, all the slave servers for the parent zone also need to have the same child stub zones -configured.</P -> +configured.</p> -<P ->Stub zones can also be used as a way of forcing the resolution +<p>Stub zones can also be used as a way of forcing the resolution of a given domain to use a particular set of authoritative servers. For example, the caching name servers on a private network using RFC1981 addressing may be configured with stub zones for -<VAR -CLASS="literal" ->10.in-addr.arpa</VAR -> +<code class="literal">10.in-addr.arpa</code> to use a set of internal name servers as the authoritative -servers for that domain.</P -> -</TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->forward</VAR -></P -></TD -><TD -><P ->A "forward zone" is a way to configure -forwarding on a per-domain basis. A <B -CLASS="command" ->zone</B -> statement -of type <B -CLASS="command" ->forward</B -> can contain a <B -CLASS="command" ->forward</B -> and/or <B -CLASS="command" ->forwarders</B -> statement, +servers for that domain.</p> +</td> +</tr> +<tr> +<td><p><code class="varname">forward</code></p></td> +<td> +<p>A "forward zone" is a way to configure +forwarding on a per-domain basis. A <span><strong class="command">zone</strong></span> statement +of type <span><strong class="command">forward</strong></span> can contain a <span><strong class="command">forward</strong></span> and/or <span><strong class="command">forwarders</strong></span> statement, which will apply to queries within the domain given by the zone -name. If no <B -CLASS="command" ->forwarders</B -> statement is present or -an empty list for <B -CLASS="command" ->forwarders</B -> is given, then no +name. If no <span><strong class="command">forwarders</strong></span> statement is present or +an empty list for <span><strong class="command">forwarders</strong></span> is given, then no forwarding will be done for the domain, canceling the effects of -any forwarders in the <B -CLASS="command" ->options</B -> statement. Thus +any forwarders in the <span><strong class="command">options</strong></span> statement. Thus if you want to use this type of zone to change the behavior of the -global <B -CLASS="command" ->forward</B -> option (that is, "forward first +global <span><strong class="command">forward</strong></span> option (that is, "forward first to", then "forward only", or vice versa, but want to use the same -servers as set globally) you need to re-specify the global forwarders.</P -> -</TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->hint</VAR -></P -></TD -><TD -><P ->The initial set of root name servers is +servers as set globally) you need to re-specify the global forwarders.</p> +</td> +</tr> +<tr> +<td><p><code class="varname">hint</code></p></td> +<td><p>The initial set of root name servers is specified using a "hint zone". When the server starts up, it uses the root hints to find a root name server and get the most recent list of root name servers. If no hint zone is specified for class IN, the server uses a compiled-in default set of root servers hints. -Classes other than IN have no built-in defaults hints.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->delegation-only</VAR -></P -></TD -><TD -><P ->This is used to enforce the delegation only +Classes other than IN have no built-in defaults hints.</p></td> +</tr> +<tr> +<td><p><code class="varname">delegation-only</code></p></td> +<td> +<p>This is used to enforce the delegation only status of infrastructure zones (e.g. COM, NET, ORG). Any answer that is received without a explicit or implicit delegation in the authority section will be treated as NXDOMAIN. This does not apply to the zone -apex. This SHOULD NOT be applied to leaf zones.</P -> -<P -><VAR -CLASS="varname" ->delegation-only</VAR -> has no effect on answers received -from forwarders.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN3713" ->6.2.24.2. Class</A -></H3 -><P ->The zone's name may optionally be followed by a class. If -a class is not specified, class <VAR -CLASS="literal" ->IN</VAR -> (for <VAR -CLASS="varname" ->Internet</VAR ->), -is assumed. This is correct for the vast majority of cases.</P -><P ->The <VAR -CLASS="literal" ->hesiod</VAR -> class is +apex. This SHOULD NOT be applied to leaf zones.</p> +<p><code class="varname">delegation-only</code> has no effect on answers received +from forwarders.</p> +</td> +</tr> +</tbody> +</table></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2563267"></a>Class</h4></div></div></div> +<p>The zone's name may optionally be followed by a class. If +a class is not specified, class <code class="literal">IN</code> (for <code class="varname">Internet</code>), +is assumed. This is correct for the vast majority of cases.</p> +<p>The <code class="literal">hesiod</code> class is named for an information service from MIT's Project Athena. It is used to share information about various systems databases, such as users, groups, printers and so on. The keyword -<VAR -CLASS="literal" ->HS</VAR -> is -a synonym for hesiod.</P -><P ->Another MIT development is CHAOSnet, a LAN protocol created -in the mid-1970s. Zone data for it can be specified with the <VAR -CLASS="literal" ->CHAOS</VAR -> class.</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN3723" ->6.2.24.3. Zone Options</A -></H3 -><P -></P -><DIV -CLASS="variablelist" -><DL -><DT -><B -CLASS="command" ->allow-notify</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->allow-notify</B -> in <A -HREF="Bv9ARM.ch06.html#access_control" ->Section 6.2.16.4</A -></P -></DD -><DT -><B -CLASS="command" ->allow-query</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->allow-query</B -> in <A -HREF="Bv9ARM.ch06.html#access_control" ->Section 6.2.16.4</A -></P -></DD -><DT -><B -CLASS="command" ->allow-transfer</B -></DT -><DD -><P ->See the description of <B -CLASS="command" ->allow-transfer</B -> -in <A -HREF="Bv9ARM.ch06.html#access_control" ->Section 6.2.16.4</A ->.</P -></DD -><DT -><B -CLASS="command" ->allow-update</B -></DT -><DD -><P ->Specifies which hosts are allowed to +<code class="literal">HS</code> is +a synonym for hesiod.</p> +<p>Another MIT development is CHAOSnet, a LAN protocol created +in the mid-1970s. Zone data for it can be specified with the <code class="literal">CHAOS</code> class.</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2563434"></a>Zone Options</h4></div></div></div> +<div class="variablelist"><dl> +<dt><span class="term"><span><strong class="command">allow-notify</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">allow-notify</strong></span> in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called “Access Control”</a></p></dd> +<dt><span class="term"><span><strong class="command">allow-query</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">allow-query</strong></span> in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called “Access Control”</a></p></dd> +<dt><span class="term"><span><strong class="command">allow-transfer</strong></span></span></dt> +<dd><p>See the description of <span><strong class="command">allow-transfer</strong></span> +in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called “Access Control”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">allow-update</strong></span></span></dt> +<dd><p>Specifies which hosts are allowed to submit Dynamic DNS updates for master zones. The default is to deny updates from all hosts. Note that allowing updates based on the requestor's IP address is insecure; see -<A -HREF="Bv9ARM.ch07.html#dynamic_update_security" ->Section 7.3</A -> for details. -</P -></DD -><DT -><B -CLASS="command" ->update-policy</B -></DT -><DD -><P ->Specifies a "Simple Secure Update" policy. See -<A -HREF="Bv9ARM.ch06.html#dynamic_update_policies" ->Section 6.2.24.4</A ->.</P -></DD -><DT -><B -CLASS="command" ->allow-update-forwarding</B -></DT -><DD -><P ->See the description of <B -CLASS="command" ->allow-update-forwarding</B -> -in <A -HREF="Bv9ARM.ch06.html#access_control" ->Section 6.2.16.4</A ->.</P -></DD -><DT -><B -CLASS="command" ->also-notify</B -></DT -><DD -><P ->Only meaningful if <B -CLASS="command" ->notify</B -> is +<a href="Bv9ARM.ch07.html#dynamic_update_security" title="Dynamic Update Security">the section called “Dynamic Update Security”</a> for details. +</p></dd> +<dt><span class="term"><span><strong class="command">update-policy</strong></span></span></dt> +<dd><p>Specifies a "Simple Secure Update" policy. See +<a href="Bv9ARM.ch06.html#dynamic_update_policies" title="Dynamic Update Policies">the section called “Dynamic Update Policies”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">allow-update-forwarding</strong></span></span></dt> +<dd><p>See the description of <span><strong class="command">allow-update-forwarding</strong></span> +in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called “Access Control”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">also-notify</strong></span></span></dt> +<dd><p>Only meaningful if <span><strong class="command">notify</strong></span> is active for this zone. The set of machines that will receive a -<VAR -CLASS="literal" ->DNS NOTIFY</VAR -> message +<code class="literal">DNS NOTIFY</code> message for this zone is made up of all the listed name servers (other than the primary master) for the zone plus any IP addresses specified -with <B -CLASS="command" ->also-notify</B ->. A port may be specified -with each <B -CLASS="command" ->also-notify</B -> address to send the notify +with <span><strong class="command">also-notify</strong></span>. A port may be specified +with each <span><strong class="command">also-notify</strong></span> address to send the notify messages to a port other than the default of 53. -<B -CLASS="command" ->also-notify</B -> is not meaningful for stub zones. -The default is the empty list.</P -></DD -><DT -><B -CLASS="command" ->check-names</B -></DT -><DD -><P -> This option is used to restrict the character set and syntax of +<span><strong class="command">also-notify</strong></span> is not meaningful for stub zones. +The default is the empty list.</p></dd> +<dt><span class="term"><span><strong class="command">check-names</strong></span></span></dt> +<dd><p> +This option is used to restrict the character set and syntax of certain domain names in master files and/or DNS responses received from the -network. The default varies according to zone type. For <B -CLASS="command" ->master</B -> zones the default is <B -CLASS="command" ->fail</B ->. For <B -CLASS="command" ->slave</B -> -zones the default is <B -CLASS="command" ->warn</B ->. -</P -></DD -><DT -><B -CLASS="command" ->database</B -></DT -><DD -><P ->Specify the type of database to be used for storing the -zone data. The string following the <B -CLASS="command" ->database</B -> keyword +network. The default varies according to zone type. For <span><strong class="command">master</strong></span> zones the default is <span><strong class="command">fail</strong></span>. For <span><strong class="command">slave</strong></span> +zones the default is <span><strong class="command">warn</strong></span>. +</p></dd> +<dt><span class="term"><span><strong class="command">database</strong></span></span></dt> +<dd> +<p>Specify the type of database to be used for storing the +zone data. The string following the <span><strong class="command">database</strong></span> keyword is interpreted as a list of whitespace-delimited words. The first word identifies the database type, and any subsequent words are passed as arguments to the database to be interpreted in a way specific -to the database type.</P -><P ->The default is <KBD -CLASS="userinput" ->"rbt"</KBD ->, BIND 9's native in-memory -red-black-tree database. This database does not take arguments.</P -><P ->Other values are possible if additional database drivers +to the database type.</p> +<p>The default is <strong class="userinput"><code>"rbt"</code></strong>, BIND 9's native in-memory +red-black-tree database. This database does not take arguments.</p> +<p>Other values are possible if additional database drivers have been linked into the server. Some sample drivers are included -with the distribution but none are linked in by default.</P -></DD -><DT -><B -CLASS="command" ->dialup</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->dialup</B -> in <A -HREF="Bv9ARM.ch06.html#boolean_options" ->Section 6.2.16.1</A ->.</P -></DD -><DT -><B -CLASS="command" ->delegation-only</B -></DT -><DD -><P ->The flag only applies to hint and stub zones. If set -to <KBD -CLASS="userinput" ->yes</KBD -> then the zone will also be treated as if it +with the distribution but none are linked in by default.</p> +</dd> +<dt><span class="term"><span><strong class="command">dialup</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">dialup</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called “Boolean Options”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">delegation-only</strong></span></span></dt> +<dd><p>The flag only applies to hint and stub zones. If set +to <strong class="userinput"><code>yes</code></strong> then the zone will also be treated as if it is also a delegation-only type zone. -</P -></DD -><DT -><B -CLASS="command" ->forward</B -></DT -><DD -><P ->Only meaningful if the zone has a forwarders -list. The <B -CLASS="command" ->only</B -> value causes the lookup to fail -after trying the forwarders and getting no answer, while <B -CLASS="command" ->first</B -> would -allow a normal lookup to be tried.</P -></DD -><DT -><B -CLASS="command" ->forwarders</B -></DT -><DD -><P ->Used to override the list of global forwarders. -If it is not specified in a zone of type <B -CLASS="command" ->forward</B ->, -no forwarding is done for the zone; the global options are not used.</P -></DD -><DT -><B -CLASS="command" ->ixfr-base</B -></DT -><DD -><P ->Was used in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8 to specify the name +</p></dd> +<dt><span class="term"><span><strong class="command">forward</strong></span></span></dt> +<dd><p>Only meaningful if the zone has a forwarders +list. The <span><strong class="command">only</strong></span> value causes the lookup to fail +after trying the forwarders and getting no answer, while <span><strong class="command">first</strong></span> would +allow a normal lookup to be tried.</p></dd> +<dt><span class="term"><span><strong class="command">forwarders</strong></span></span></dt> +<dd><p>Used to override the list of global forwarders. +If it is not specified in a zone of type <span><strong class="command">forward</strong></span>, +no forwarding is done for the zone; the global options are not used.</p></dd> +<dt><span class="term"><span><strong class="command">ixfr-base</strong></span></span></dt> +<dd><p>Was used in <span class="acronym">BIND</span> 8 to specify the name of the transaction log (journal) file for dynamic update and IXFR. -<ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 ignores the option and constructs the name of the journal -file by appending "<TT -CLASS="filename" ->.jnl</TT ->" to the name of the -zone file.</P -></DD -><DT -><B -CLASS="command" ->ixfr-tmp-file</B -></DT -><DD -><P ->Was an undocumented option in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8. -Ignored in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9.</P -></DD -><DT -><B -CLASS="command" ->max-transfer-time-in</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->max-transfer-time-in</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->.</P -></DD -><DT -><B -CLASS="command" ->max-transfer-idle-in</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->max-transfer-idle-in</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->.</P -></DD -><DT -><B -CLASS="command" ->max-transfer-time-out</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->max-transfer-time-out</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->.</P -></DD -><DT -><B -CLASS="command" ->max-transfer-idle-out</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->max-transfer-idle-out</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->.</P -></DD -><DT -><B -CLASS="command" ->notify</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->notify</B -> in <A -HREF="Bv9ARM.ch06.html#boolean_options" ->Section 6.2.16.1</A ->.</P -></DD -><DT -><B -CLASS="command" ->pubkey</B -></DT -><DD -><P ->In <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 8, this option was intended for specifying +<span class="acronym">BIND</span> 9 ignores the option and constructs the name of the journal +file by appending "<code class="filename">.jnl</code>" to the name of the +zone file.</p></dd> +<dt><span class="term"><span><strong class="command">ixfr-tmp-file</strong></span></span></dt> +<dd><p>Was an undocumented option in <span class="acronym">BIND</span> 8. +Ignored in <span class="acronym">BIND</span> 9.</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-time-in</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">max-transfer-time-in</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-idle-in</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">max-transfer-idle-in</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-time-out</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">max-transfer-time-out</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">max-transfer-idle-out</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">max-transfer-idle-out</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">notify</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">notify</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called “Boolean Options”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">pubkey</strong></span></span></dt> +<dd><p>In <span class="acronym">BIND</span> 8, this option was intended for specifying a public zone key for verification of signatures in DNSSEC signed -zones when they are loaded from disk. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 does not verify signatures -on load and ignores the option.</P -></DD -><DT -><B -CLASS="command" ->zone-statistics</B -></DT -><DD -><P ->If <KBD -CLASS="userinput" ->yes</KBD ->, the server will keep statistical +zones when they are loaded from disk. <span class="acronym">BIND</span> 9 does not verify signatures +on load and ignores the option.</p></dd> +<dt><span class="term"><span><strong class="command">zone-statistics</strong></span></span></dt> +<dd><p>If <strong class="userinput"><code>yes</code></strong>, the server will keep statistical information for this zone, which can be dumped to the -<B -CLASS="command" ->statistics-file</B -> defined in the server options.</P -></DD -><DT -><B -CLASS="command" ->sig-validity-interval</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->sig-validity-interval</B -> in <A -HREF="Bv9ARM.ch06.html#tuning" ->Section 6.2.16.15</A ->.</P -></DD -><DT -><B -CLASS="command" ->transfer-source</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->transfer-source</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A -> -</P -></DD -><DT -><B -CLASS="command" ->transfer-source-v6</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->transfer-source-v6</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A -> -</P -></DD -><DT -><B -CLASS="command" ->alt-transfer-source</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->alt-transfer-source</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A -> -</P -></DD -><DT -><B -CLASS="command" ->alt-transfer-source-v6</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->alt-transfer-source-v6</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A -> -</P -></DD -><DT -><B -CLASS="command" ->use-alt-transfer-source</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->use-alt-transfer-source</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A -> -</P -></DD -><DT -><B -CLASS="command" ->notify-source</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->notify-source</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A -> -</P -></DD -><DT -><B -CLASS="command" ->notify-source-v6</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->notify-source-v6</B -> in <A -HREF="Bv9ARM.ch06.html#zone_transfers" ->Section 6.2.16.7</A ->. -</P -></DD -><DT -><B -CLASS="command" ->min-refresh-time</B ->, <B -CLASS="command" ->max-refresh-time</B ->, <B -CLASS="command" ->min-retry-time</B ->, <B -CLASS="command" ->max-retry-time</B -></DT -><DD -><P -> See the description in <A -HREF="Bv9ARM.ch06.html#tuning" ->Section 6.2.16.15</A ->. -</P -></DD -><DT -><B -CLASS="command" ->ixfr-from-differences</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->ixfr-from-differences</B -> in <A -HREF="Bv9ARM.ch06.html#boolean_options" ->Section 6.2.16.1</A ->.</P -></DD -><DT -><B -CLASS="command" ->key-directory</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->key-directory</B -> in <A -HREF="Bv9ARM.ch06.html#options" ->Section 6.2.16</A -></P -></DD -><DT -><B -CLASS="command" ->multi-master</B -></DT -><DD -><P ->See the description of -<B -CLASS="command" ->multi-master</B -> in <A -HREF="Bv9ARM.ch06.html#boolean_options" ->Section 6.2.16.1</A ->.</P -></DD -></DL -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="dynamic_update_policies" ->6.2.24.4. Dynamic Update Policies</A -></H3 -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 supports two alternative methods of granting clients +<span><strong class="command">statistics-file</strong></span> defined in the server options.</p></dd> +<dt><span class="term"><span><strong class="command">sig-validity-interval</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">sig-validity-interval</strong></span> in <a href="Bv9ARM.ch06.html#tuning" title="Tuning">the section called “Tuning”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">transfer-source</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">transfer-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">transfer-source-v6</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">transfer-source-v6</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">alt-transfer-source</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">alt-transfer-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">alt-transfer-source-v6</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">alt-transfer-source-v6</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">use-alt-transfer-source</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">use-alt-transfer-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">notify-source</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">notify-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a> +</p></dd> +<dt><span class="term"><span><strong class="command">notify-source-v6</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">notify-source-v6</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>. +</p></dd> +<dt> +<span class="term"><span><strong class="command">min-refresh-time</strong></span>, </span><span class="term"><span><strong class="command">max-refresh-time</strong></span>, </span><span class="term"><span><strong class="command">min-retry-time</strong></span>, </span><span class="term"><span><strong class="command">max-retry-time</strong></span></span> +</dt> +<dd><p> +See the description in <a href="Bv9ARM.ch06.html#tuning" title="Tuning">the section called “Tuning”</a>. +</p></dd> +<dt><span class="term"><span><strong class="command">ixfr-from-differences</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">ixfr-from-differences</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called “Boolean Options”</a>.</p></dd> +<dt><span class="term"><span><strong class="command">key-directory</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">key-directory</strong></span> in <a href="Bv9ARM.ch06.html#options" title="options Statement Definition and Usage">the section called “<span><strong class="command">options</strong></span> Statement Definition and Usage”</a></p></dd> +<dt><span class="term"><span><strong class="command">multi-master</strong></span></span></dt> +<dd><p>See the description of +<span><strong class="command">multi-master</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called “Boolean Options”</a>.</p></dd> +</dl></div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="dynamic_update_policies"></a>Dynamic Update Policies</h4></div></div></div> +<p><span class="acronym">BIND</span> 9 supports two alternative methods of granting clients the right to perform dynamic updates to a zone, -configured by the <B -CLASS="command" ->allow-update</B -> and -<B -CLASS="command" ->update-policy</B -> option, respectively.</P -><P ->The <B -CLASS="command" ->allow-update</B -> clause works the same -way as in previous versions of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->. It grants given clients the -permission to update any record of any name in the zone.</P -><P ->The <B -CLASS="command" ->update-policy</B -> clause is new in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> +configured by the <span><strong class="command">allow-update</strong></span> and +<span><strong class="command">update-policy</strong></span> option, respectively.</p> +<p>The <span><strong class="command">allow-update</strong></span> clause works the same +way as in previous versions of <span class="acronym">BIND</span>. It grants given clients the +permission to update any record of any name in the zone.</p> +<p>The <span><strong class="command">update-policy</strong></span> clause is new in <span class="acronym">BIND</span> 9 and allows more fine-grained control over what updates are allowed. A set of rules is specified, where each rule either grants or denies permissions for one or more names to be updated by one or more identities. If the dynamic update request message is signed (that is, it includes either a TSIG or SIG(0) record), the identity of the signer can -be determined.</P -><P ->Rules are specified in the <B -CLASS="command" ->update-policy</B -> zone -option, and are only meaningful for master zones. When the <B -CLASS="command" ->update-policy</B -> statement -is present, it is a configuration error for the <B -CLASS="command" ->allow-update</B -> statement -to be present. The <B -CLASS="command" ->update-policy</B -> statement only -examines the signer of a message; the source address is not relevant.</P -><P ->This is how a rule definition looks:</P -><PRE -CLASS="programlisting" -> ( <B -CLASS="command" ->grant</B -> | <B -CLASS="command" ->deny</B -> ) <VAR -CLASS="replaceable" ->identity</VAR -> <VAR -CLASS="replaceable" ->nametype</VAR -> <VAR -CLASS="replaceable" ->name</VAR -> [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->types</VAR -> </SPAN ->] -</PRE -><P ->Each rule grants or denies privileges. Once a message has +be determined.</p> +<p>Rules are specified in the <span><strong class="command">update-policy</strong></span> zone +option, and are only meaningful for master zones. When the <span><strong class="command">update-policy</strong></span> statement +is present, it is a configuration error for the <span><strong class="command">allow-update</strong></span> statement +to be present. The <span><strong class="command">update-policy</strong></span> statement only +examines the signer of a message; the source address is not relevant.</p> +<p>This is how a rule definition looks:</p> +<pre class="programlisting"> +( <span><strong class="command">grant</strong></span> | <span><strong class="command">deny</strong></span> ) <em class="replaceable"><code>identity</code></em> <em class="replaceable"><code>nametype</code></em> <em class="replaceable"><code>name</code></em> [<span class="optional"> <em class="replaceable"><code>types</code></em> </span>] +</pre> +<p>Each rule grants or denies privileges. Once a message has successfully matched a rule, the operation is immediately granted or denied and no further rules are examined. A rule is matched when the signer matches the identity field, the name matches the name field in accordance with the nametype field, and the type matches -the types specified in the type field.</P -><P ->The identity field specifies a name or a wildcard name. Normally, this +the types specified in the type field.</p> +<p>The identity field specifies a name or a wildcard name. Normally, this is the name of the TSIG or SIG(0) key used to sign the update request. When a TKEY exchange has been used to create a shared secret, the identity of the shared secret is the same as the identity of the key used to authenticate the -TKEY exchange. When the <VAR -CLASS="replaceable" ->identity</VAR -> field specifies a +TKEY exchange. When the <em class="replaceable"><code>identity</code></em> field specifies a wildcard name, it is subject to DNS wildcard expansion, so the rule will apply -to multiple identities. The <VAR -CLASS="replaceable" ->identity</VAR -> field must -contain a fully qualified domain name.</P -><P ->The <VAR -CLASS="replaceable" ->nametype</VAR -> field has 4 values: -<VAR -CLASS="varname" ->name</VAR ->, <VAR -CLASS="varname" ->subdomain</VAR ->, -<VAR -CLASS="varname" ->wildcard</VAR ->, and <VAR -CLASS="varname" ->self</VAR ->. -</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4009" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="varname" ->name</VAR -></P -></TD -><TD -><P ->Exact-match semantics. This rule matches when the +to multiple identities. The <em class="replaceable"><code>identity</code></em> field must +contain a fully qualified domain name.</p> +<p>The <em class="replaceable"><code>nametype</code></em> field has 4 values: +<code class="varname">name</code>, <code class="varname">subdomain</code>, +<code class="varname">wildcard</code>, and <code class="varname">self</code>. +</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="varname">name</code></p></td> +<td><p>Exact-match semantics. This rule matches when the name being updated is identical to the contents of the -<VAR -CLASS="replaceable" ->name</VAR -> field.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->subdomain</VAR -></P -></TD -><TD -><P ->This rule matches when the name being updated +<em class="replaceable"><code>name</code></em> field.</p></td> +</tr> +<tr> +<td><p><code class="varname">subdomain</code></p></td> +<td><p>This rule matches when the name being updated is a subdomain of, or identical to, the contents of the -<VAR -CLASS="replaceable" ->name</VAR -> field.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->wildcard</VAR -></P -></TD -><TD -><P ->The <VAR -CLASS="replaceable" ->name</VAR -> field is +<em class="replaceable"><code>name</code></em> field.</p></td> +</tr> +<tr> +<td><p><code class="varname">wildcard</code></p></td> +<td><p>The <em class="replaceable"><code>name</code></em> field is subject to DNS wildcard expansion, and this rule matches when the name -being updated name is a valid expansion of the wildcard.</P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="varname" ->self</VAR -></P -></TD -><TD -><P ->This rule matches when the name being updated -matches the contents of the <VAR -CLASS="replaceable" ->identity</VAR -> field. -The <VAR -CLASS="replaceable" ->name</VAR -> field is ignored, but should be -the same as the <VAR -CLASS="replaceable" ->identity</VAR -> field. The -<VAR -CLASS="varname" ->self</VAR -> nametype is most useful when allowing using +being updated name is a valid expansion of the wildcard.</p></td> +</tr> +<tr> +<td><p><code class="varname">self</code></p></td> +<td><p>This rule matches when the name being updated +matches the contents of the <em class="replaceable"><code>identity</code></em> field. +The <em class="replaceable"><code>name</code></em> field is ignored, but should be +the same as the <em class="replaceable"><code>identity</code></em> field. The +<code class="varname">self</code> nametype is most useful when allowing using one key per name to update, where the key has the same name as the name -to be updated. The <VAR -CLASS="replaceable" ->identity</VAR -> would be -specified as <CODE -CLASS="constant" ->*</CODE -> in this case.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->In all cases, the <VAR -CLASS="replaceable" ->name</VAR -> field must -specify a fully qualified domain name.</P -><P ->If no types are explicitly specified, this rule matches all types except +to be updated. The <em class="replaceable"><code>identity</code></em> would be +specified as <code class="constant">*</code> in this case.</p></td> +</tr> +</tbody> +</table></div> +<p>In all cases, the <em class="replaceable"><code>name</code></em> field must +specify a fully qualified domain name.</p> +<p>If no types are explicitly specified, this rule matches all types except SIG, NS, SOA, and NXT. Types may be specified by name, including "ANY" (ANY matches all types except NXT, which can never be updated). Note that when an attempt is made to delete all records associated with a name, the rules are checked for each existing record type. -</P -></DIV -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN4050" ->6.3. Zone File</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="types_of_resource_records_and_when_to_use_them" ->6.3.1. Types of Resource Records and When to Use Them</A -></H2 -><P ->This section, largely borrowed from RFC 1034, describes the +</p> +</div> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2564557"></a>Zone File</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="types_of_resource_records_and_when_to_use_them"></a>Types of Resource Records and When to Use Them</h3></div></div></div> +<p>This section, largely borrowed from RFC 1034, describes the concept of a Resource Record (RR) and explains when each is used. Since the publication of RFC 1034, several new RRs have been identified -and implemented in the DNS. These are also included.</P -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN4055" ->6.3.1.1. Resource Records</A -></H3 -><P ->A domain name identifies a node. Each node has a set of +and implemented in the DNS. These are also included.</p> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2564576"></a>Resource Records</h4></div></div></div> +<p>A domain name identifies a node. Each node has a set of resource information, which may be empty. The set of resource information associated with a particular name is composed of separate RRs. The order of RRs in a set is not significant and need not be preserved by name servers, resolvers, or other parts of the DNS. However, sorting of multiple RRs is permitted for optimization purposes, for example, to specify - that a particular nearby server be tried first. See <A -HREF="Bv9ARM.ch06.html#the_sortlist_statement" ->Section 6.2.16.13</A -> and <A -HREF="Bv9ARM.ch06.html#rrset_ordering" ->Section 6.2.16.14</A ->.</P -><P ->The components of a Resource Record are:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4061" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->owner name</P -></TD -><TD -><P ->the domain name where the RR is found.</P -></TD -></TR -><TR -><TD -><P ->type</P -></TD -><TD -><P ->an encoded 16 bit value that specifies -the type of the resource record.</P -></TD -></TR -><TR -><TD -><P ->TTL</P -></TD -><TD -><P ->the time to live of the RR. This field + that a particular nearby server be tried first. See <a href="Bv9ARM.ch06.html#the_sortlist_statement" title="The sortlist Statement">the section called “The <span><strong class="command">sortlist</strong></span> Statement”</a> and <a href="Bv9ARM.ch06.html#rrset_ordering" title="RRset Ordering">the section called “RRset Ordering”</a>.</p> +<p>The components of a Resource Record are:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>owner name</p></td> +<td><p>the domain name where the RR is found.</p></td> +</tr> +<tr> +<td><p>type</p></td> +<td><p>an encoded 16 bit value that specifies +the type of the resource record.</p></td> +</tr> +<tr> +<td><p>TTL</p></td> +<td><p>the time to live of the RR. This field is a 32 bit integer in units of seconds, and is primarily used by resolvers when they cache RRs. The TTL describes how long a RR can -be cached before it should be discarded.</P -></TD -></TR -><TR -><TD -><P ->class</P -></TD -><TD -><P ->an encoded 16 bit value that identifies -a protocol family or instance of a protocol.</P -></TD -></TR -><TR -><TD -><P ->RDATA</P -></TD -><TD -><P ->the resource data. The format of the -data is type (and sometimes class) specific.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->The following are <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->types</I -></SPAN -> of valid RRs:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4093" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->A</P -></TD -><TD -><P ->a host address. In the IN class, this is a -32-bit IP address. Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->AAAA</P -></TD -><TD -><P ->IPv6 address. Described in RFC 1886.</P -></TD -></TR -><TR -><TD -><P ->A6</P -></TD -><TD -><P ->IPv6 address. This can be a partial +be cached before it should be discarded.</p></td> +</tr> +<tr> +<td><p>class</p></td> +<td><p>an encoded 16 bit value that identifies +a protocol family or instance of a protocol.</p></td> +</tr> +<tr> +<td><p>RDATA</p></td> +<td><p>the resource data. The format of the +data is type (and sometimes class) specific.</p></td> +</tr> +</tbody> +</table></div> +<p>The following are <span class="emphasis"><em>types</em></span> of valid RRs:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>A</p></td> +<td><p>a host address. In the IN class, this is a +32-bit IP address. Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>AAAA</p></td> +<td><p>IPv6 address. Described in RFC 1886.</p></td> +</tr> +<tr> +<td><p>A6</p></td> +<td><p>IPv6 address. This can be a partial address (a suffix) and an indirection to the name where the rest of the -address (the prefix) can be found. Experimental. Described in RFC 2874.</P -></TD -></TR -><TR -><TD -><P ->AFSDB</P -></TD -><TD -><P ->location of AFS database servers. -Experimental. Described in RFC 1183.</P -></TD -></TR -><TR -><TD -><P ->APL</P -></TD -><TD -><P ->address prefix list. Experimental. -Described in RFC 3123.</P -></TD -></TR -><TR -><TD -><P ->CERT</P -></TD -><TD -><P ->holds a digital certificate. -Described in RFC 2538.</P -></TD -></TR -><TR -><TD -><P ->CNAME</P -></TD -><TD -><P ->identifies the canonical name of an alias. -Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->DNAME</P -></TD -><TD -><P ->Replaces the domain name specified with +address (the prefix) can be found. Experimental. Described in RFC 2874.</p></td> +</tr> +<tr> +<td><p>AFSDB</p></td> +<td><p>location of AFS database servers. +Experimental. Described in RFC 1183.</p></td> +</tr> +<tr> +<td><p>APL</p></td> +<td><p>address prefix list. Experimental. +Described in RFC 3123.</p></td> +</tr> +<tr> +<td><p>CERT</p></td> +<td><p>holds a digital certificate. +Described in RFC 2538.</p></td> +</tr> +<tr> +<td><p>CNAME</p></td> +<td><p>identifies the canonical name of an alias. +Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>DNAME</p></td> +<td><p>Replaces the domain name specified with another name to be looked up, effectively aliasing an entire subtree of the domain name space rather than a single record as in the case of the CNAME RR. -Described in RFC 2672.</P -></TD -></TR -><TR -><TD -><P ->GPOS</P -></TD -><TD -><P ->Specifies the global position. Superseded by LOC.</P -></TD -></TR -><TR -><TD -><P ->HINFO</P -></TD -><TD -><P ->identifies the CPU and OS used by a host. -Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->ISDN</P -></TD -><TD -><P ->representation of ISDN addresses. -Experimental. Described in RFC 1183.</P -></TD -></TR -><TR -><TD -><P ->KEY</P -></TD -><TD -><P ->stores a public key associated with a -DNS name. Described in RFC 2535.</P -></TD -></TR -><TR -><TD -><P ->KX</P -></TD -><TD -><P ->identifies a key exchanger for this -DNS name. Described in RFC 2230.</P -></TD -></TR -><TR -><TD -><P ->LOC</P -></TD -><TD -><P ->for storing GPS info. Described in RFC 1876. -Experimental.</P -></TD -></TR -><TR -><TD -><P ->MX</P -></TD -><TD -><P ->identifies a mail exchange for the domain. +Described in RFC 2672.</p></td> +</tr> +<tr> +<td><p>GPOS</p></td> +<td><p>Specifies the global position. Superseded by LOC.</p></td> +</tr> +<tr> +<td><p>HINFO</p></td> +<td><p>identifies the CPU and OS used by a host. +Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>ISDN</p></td> +<td><p>representation of ISDN addresses. +Experimental. Described in RFC 1183.</p></td> +</tr> +<tr> +<td><p>KEY</p></td> +<td><p>stores a public key associated with a +DNS name. Described in RFC 2535.</p></td> +</tr> +<tr> +<td><p>KX</p></td> +<td><p>identifies a key exchanger for this +DNS name. Described in RFC 2230.</p></td> +</tr> +<tr> +<td><p>LOC</p></td> +<td><p>for storing GPS info. Described in RFC 1876. +Experimental.</p></td> +</tr> +<tr> +<td><p>MX</p></td> +<td><p>identifies a mail exchange for the domain. a 16 bit preference value (lower is better) followed by the host name of the mail exchange. -Described in RFC 974, RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->NAPTR</P -></TD -><TD -><P ->name authority pointer. Described in RFC 2915.</P -></TD -></TR -><TR -><TD -><P ->NSAP</P -></TD -><TD -><P ->a network service access point. -Described in RFC 1706.</P -></TD -></TR -><TR -><TD -><P ->NS</P -></TD -><TD -><P ->the authoritative name server for the -domain. Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->NXT</P -></TD -><TD -><P ->used in DNSSEC to securely indicate that +Described in RFC 974, RFC 1035.</p></td> +</tr> +<tr> +<td><p>NAPTR</p></td> +<td><p>name authority pointer. Described in RFC 2915.</p></td> +</tr> +<tr> +<td><p>NSAP</p></td> +<td><p>a network service access point. +Described in RFC 1706.</p></td> +</tr> +<tr> +<td><p>NS</p></td> +<td><p>the authoritative name server for the +domain. Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>NXT</p></td> +<td><p>used in DNSSEC to securely indicate that RRs with an owner name in a certain name interval do not exist in a zone and indicate what RR types are present for an existing name. -Described in RFC 2535.</P -></TD -></TR -><TR -><TD -><P ->PTR</P -></TD -><TD -><P ->a pointer to another part of the domain -name space. Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->PX</P -></TD -><TD -><P ->provides mappings between RFC 822 and X.400 -addresses. Described in RFC 2163.</P -></TD -></TR -><TR -><TD -><P ->RP</P -></TD -><TD -><P ->information on persons responsible -for the domain. Experimental. Described in RFC 1183.</P -></TD -></TR -><TR -><TD -><P ->RT</P -></TD -><TD -><P ->route-through binding for hosts that +Described in RFC 2535.</p></td> +</tr> +<tr> +<td><p>PTR</p></td> +<td><p>a pointer to another part of the domain +name space. Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>PX</p></td> +<td><p>provides mappings between RFC 822 and X.400 +addresses. Described in RFC 2163.</p></td> +</tr> +<tr> +<td><p>RP</p></td> +<td><p>information on persons responsible +for the domain. Experimental. Described in RFC 1183.</p></td> +</tr> +<tr> +<td><p>RT</p></td> +<td><p>route-through binding for hosts that do not have their own direct wide area network addresses. -Experimental. Described in RFC 1183.</P -></TD -></TR -><TR -><TD -><P ->SIG</P -></TD -><TD -><P ->("signature") contains data authenticated -in the secure DNS. Described in RFC 2535.</P -></TD -></TR -><TR -><TD -><P ->SOA</P -></TD -><TD -><P ->identifies the start of a zone of authority. -Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->SRV</P -></TD -><TD -><P ->information about well known network -services (replaces WKS). Described in RFC 2782.</P -></TD -></TR -><TR -><TD -><P ->TXT</P -></TD -><TD -><P ->text records. Described in RFC 1035.</P -></TD -></TR -><TR -><TD -><P ->WKS</P -></TD -><TD -><P ->information about which well known +Experimental. Described in RFC 1183.</p></td> +</tr> +<tr> +<td><p>SIG</p></td> +<td><p>("signature") contains data authenticated +in the secure DNS. Described in RFC 2535.</p></td> +</tr> +<tr> +<td><p>SOA</p></td> +<td><p>identifies the start of a zone of authority. +Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>SRV</p></td> +<td><p>information about well known network +services (replaces WKS). Described in RFC 2782.</p></td> +</tr> +<tr> +<td><p>TXT</p></td> +<td><p>text records. Described in RFC 1035.</p></td> +</tr> +<tr> +<td><p>WKS</p></td> +<td><p>information about which well known network services, such as SMTP, that a domain supports. Historical. -</P -></TD -></TR -><TR -><TD -><P ->X25</P -></TD -><TD -><P ->representation of X.25 network addresses. -Experimental. Described in RFC 1183.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->The following <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->classes</I -></SPAN -> of resource records -are currently valid in the DNS:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4245" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->IN</P -></TD -><TD -><P ->The Internet.</P -></TD -></TR -><TR -><TD -><P ->CH</P -></TD -><TD -><P -> CHAOSnet, a LAN protocol created at MIT in the mid-1970s. +</p></td> +</tr> +<tr> +<td><p>X25</p></td> +<td><p>representation of X.25 network addresses. +Experimental. Described in RFC 1183.</p></td> +</tr> +</tbody> +</table></div> +<p>The following <span class="emphasis"><em>classes</em></span> of resource records +are currently valid in the DNS:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>IN</p></td> +<td><p>The Internet.</p></td> +</tr> +<tr> +<td><p>CH</p></td> +<td><p> +CHAOSnet, a LAN protocol created at MIT in the mid-1970s. Rarely used for its historical purpose, but reused for BIND's built-in server information zones, e.g., -<VAR -CLASS="literal" ->version.bind</VAR ->. -</P -></TD -></TR -><TR -><TD -><P ->HS</P -></TD -><TD -><P -> Hesiod, an information service +<code class="literal">version.bind</code>. +</p></td> +</tr> +<tr> +<td><p>HS</p></td> +<td><p> +Hesiod, an information service developed by MIT's Project Athena. It is used to share information about various systems databases, such as users, groups, printers and so on. -</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->The owner name is often implicit, rather than forming an integral +</p></td> +</tr> +</tbody> +</table></div> +<p>The owner name is often implicit, rather than forming an integral part of the RR. For example, many name servers internally form tree or hash structures for the name space, and chain RRs off nodes. The remaining RR parts are the fixed header (type, class, TTL) which is consistent for all RRs, and a variable part (RDATA) that -fits the needs of the resource being described.</P -><P ->The meaning of the TTL field is a time limit on how long an +fits the needs of the resource being described.</p> +<p>The meaning of the TTL field is a time limit on how long an RR can be kept in a cache. This limit does not apply to authoritative data in zones; it is also timed out, but by the refreshing policies for the zone. The TTL is assigned by the administrator for the @@ -10302,288 +3439,112 @@ of Internet performance suggest that these times should be on the order of days for the typical host. If a change can be anticipated, the TTL can be reduced prior to the change to minimize inconsistency during the change, and then increased back to its former value following -the change.</P -><P ->The data in the RDATA section of RRs is carried as a combination +the change.</p> +<p>The data in the RDATA section of RRs is carried as a combination of binary strings and domain names. The domain names are frequently -used as "pointers" to other data in the DNS.</P -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN4269" ->6.3.1.2. Textual expression of RRs</A -></H3 -><P ->RRs are represented in binary form in the packets of the DNS +used as "pointers" to other data in the DNS.</p> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2565564"></a>Textual expression of RRs</h4></div></div></div> +<p>RRs are represented in binary form in the packets of the DNS protocol, and are usually represented in highly encoded form when stored in a name server or resolver. In the examples provided in RFC 1034, a style similar to that used in master files was employed in order to show the contents of RRs. In this format, most RRs are shown on a single line, although continuation lines are possible -using parentheses.</P -><P ->The start of the line gives the owner of the RR. If a line +using parentheses.</p> +<p>The start of the line gives the owner of the RR. If a line begins with a blank, then the owner is assumed to be the same as -that of the previous RR. Blank lines are often included for readability.</P -><P ->Following the owner, we list the TTL, type, and class of the +that of the previous RR. Blank lines are often included for readability.</p> +<p>Following the owner, we list the TTL, type, and class of the RR. Class and type use the mnemonics defined above, and TTL is an integer before the type field. In order to avoid ambiguity in parsing, type and class mnemonics are disjoint, TTLs are integers, and the type mnemonic is always last. The IN class and TTL values -are often omitted from examples in the interests of clarity.</P -><P ->The resource data or RDATA section of the RR are given using -knowledge of the typical representation for the data.</P -><P ->For example, we might show the RRs carried in a message as:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4276" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="literal" ->ISI.EDU.</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->MX</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10 VENERA.ISI.EDU.</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->MX</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10 VAXA.ISI.EDU</VAR -></P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->VENERA.ISI.EDU</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->128.9.0.32</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.1.0.52</VAR -></P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->VAXA.ISI.EDU</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.2.0.27</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->128.9.0.33</VAR -></P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->The MX RRs have an RDATA section which consists of a 16 bit +are often omitted from examples in the interests of clarity.</p> +<p>The resource data or RDATA section of the RR are given using +knowledge of the typical representation for the data.</p> +<p>For example, we might show the RRs carried in a message as:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="literal">ISI.EDU.</code></p></td> +<td><p><code class="literal">MX</code></p></td> +<td><p><code class="literal">10 VENERA.ISI.EDU.</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">MX</code></p></td> +<td><p><code class="literal">10 VAXA.ISI.EDU</code></p></td> +</tr> +<tr> +<td><p><code class="literal">VENERA.ISI.EDU</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">128.9.0.32</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.1.0.52</code></p></td> +</tr> +<tr> +<td><p><code class="literal">VAXA.ISI.EDU</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.2.0.27</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">128.9.0.33</code></p></td> +</tr> +</tbody> +</table></div> +<p>The MX RRs have an RDATA section which consists of a 16 bit number followed by a domain name. The address RRs use a standard -IP address format to contain a 32 bit internet address.</P -><P ->This example shows six RRs, with two RRs at each of three -domain names.</P -><P ->Similarly we might see:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4342" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="literal" ->XX.LCS.MIT.EDU. IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.0.0.44</VAR -></P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->CH</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->MIT.EDU. 2420</VAR -></P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->This example shows two addresses for <VAR -CLASS="literal" ->XX.LCS.MIT.EDU</VAR ->, -each of a different class.</P -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4370" ->6.3.2. Discussion of MX Records</A -></H2 -><P ->As described above, domain servers store information as a +IP address format to contain a 32 bit internet address.</p> +<p>This example shows six RRs, with two RRs at each of three +domain names.</p> +<p>Similarly we might see:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="literal">XX.LCS.MIT.EDU. IN</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.0.0.44</code></p></td> +</tr> +<tr> +<td><p><code class="literal">CH</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">MIT.EDU. 2420</code></p></td> +</tr> +</tbody> +</table></div> +<p>This example shows two addresses for <code class="literal">XX.LCS.MIT.EDU</code>, +each of a different class.</p> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2565990"></a>Discussion of MX Records</h3></div></div></div> +<p>As described above, domain servers store information as a series of resource records, each of which contains a particular piece of information about a given domain name (which is usually, but not always, a host). The simplest way to think of a RR is as a typed pair of data, a domain name matched with a relevant datum, and stored with some additional type information to help systems -determine when the RR is relevant.</P -><P ->MX records are used to control delivery of email. The data +determine when the RR is relevant.</p> +<p>MX records are used to control delivery of email. The data specified in the record is a priority and a domain name. The priority controls the order in which email delivery is attempted, with the lowest number first. If two priorities are the same, a server is @@ -10591,320 +3552,110 @@ chosen randomly. If no servers at a given priority are responding, the mail transport agent will fall back to the next largest priority. Priority numbers do not have any absolute meaning — they are relevant only respective to other MX records for that domain name. The domain -name given is the machine to which the mail will be delivered. It <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->must</I -></SPAN -> have -an associated A record — CNAME is not sufficient.</P -><P ->For a given domain, if there is both a CNAME record and an +name given is the machine to which the mail will be delivered. It <span class="emphasis"><em>must</em></span> have +an associated A record — CNAME is not sufficient.</p> +<p>For a given domain, if there is both a CNAME record and an MX record, the MX record is in error, and will be ignored. Instead, the mail will be delivered to the server specified in the MX record -pointed to by the CNAME.</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4376" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="literal" ->example.com.</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->MX</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->mail.example.com.</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->MX</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->mail2.example.com.</VAR -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->MX</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->20</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->mail.backup.org.</VAR -></P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->mail.example.com.</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.0.0.1</VAR -></P -></TD -><TD -><P -></P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->mail2.example.com.</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->A</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->10.0.0.2</VAR -></P -></TD -><TD -><P -></P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->For example:</P -><P ->Mail delivery will be attempted to <VAR -CLASS="literal" ->mail.example.com</VAR -> and -<VAR -CLASS="literal" ->mail2.example.com</VAR -> (in -any order), and if neither of those succeed, delivery to <VAR -CLASS="literal" ->mail.backup.org</VAR -> will -be attempted.</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="Setting_TTLs" ->6.3.3. Setting TTLs</A -></H2 -><P ->The time to live of the RR field is a 32 bit integer represented +pointed to by the CNAME.</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="literal">example.com.</code></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">MX</code></p></td> +<td><p><code class="literal">10</code></p></td> +<td><p><code class="literal">mail.example.com.</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">MX</code></p></td> +<td><p><code class="literal">10</code></p></td> +<td><p><code class="literal">mail2.example.com.</code></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">MX</code></p></td> +<td><p><code class="literal">20</code></p></td> +<td><p><code class="literal">mail.backup.org.</code></p></td> +</tr> +<tr> +<td><p><code class="literal">mail.example.com.</code></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.0.0.1</code></p></td> +<td><p></p></td> +</tr> +<tr> +<td><p><code class="literal">mail2.example.com.</code></p></td> +<td><p><code class="literal">IN</code></p></td> +<td><p><code class="literal">A</code></p></td> +<td><p><code class="literal">10.0.0.2</code></p></td> +<td><p></p></td> +</tr> +</tbody> +</table></div> +<p>For example:</p> +<p>Mail delivery will be attempted to <code class="literal">mail.example.com</code> and +<code class="literal">mail2.example.com</code> (in +any order), and if neither of those succeed, delivery to <code class="literal">mail.backup.org</code> will +be attempted.</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="Setting_TTLs"></a>Setting TTLs</h3></div></div></div> +<p>The time to live of the RR field is a 32 bit integer represented in units of seconds, and is primarily used by resolvers when they cache RRs. The TTL describes how long a RR can be cached before it should be discarded. The following three types of TTL are currently -used in a zone file.</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4468" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->SOA</P -></TD -><TD -><P ->The last field in the SOA is the negative +used in a zone file.</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>SOA</p></td> +<td> +<p>The last field in the SOA is the negative caching TTL. This controls how long other servers will cache no-such-domain -(NXDOMAIN) responses from you.</P -><P ->The maximum time for -negative caching is 3 hours (3h).</P -></TD -></TR -><TR -><TD -><P ->$TTL</P -></TD -><TD -><P ->The $TTL directive at the top of the +(NXDOMAIN) responses from you.</p> +<p>The maximum time for +negative caching is 3 hours (3h).</p> +</td> +</tr> +<tr> +<td><p>$TTL</p></td> +<td><p>The $TTL directive at the top of the zone file (before the SOA) gives a default TTL for every RR without -a specific TTL set.</P -></TD -></TR -><TR -><TD -><P ->RR TTLs</P -></TD -><TD -><P ->Each RR can have a TTL as the second +a specific TTL set.</p></td> +</tr> +<tr> +<td><p>RR TTLs</p></td> +<td><p>Each RR can have a TTL as the second field in the RR, which will control how long other servers can cache -the it.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->All of these TTLs default to units of seconds, though units -can be explicitly specified, for example, <VAR -CLASS="literal" ->1h30m</VAR ->. </P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4491" ->6.3.4. Inverse Mapping in IPv4</A -></H2 -><P ->Reverse name resolution (that is, translation from IP address -to name) is achieved by means of the <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->in-addr.arpa</I -></SPAN -> domain +the it.</p></td> +</tr> +</tbody> +</table></div> +<p>All of these TTLs default to units of seconds, though units +can be explicitly specified, for example, <code class="literal">1h30m</code>. </p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2566487"></a>Inverse Mapping in IPv4</h3></div></div></div> +<p>Reverse name resolution (that is, translation from IP address +to name) is achieved by means of the <span class="emphasis"><em>in-addr.arpa</em></span> domain and PTR records. Entries in the in-addr.arpa domain are made in least-to-most significant order, read left to right. This is the opposite order to the way IP addresses are usually written. Thus, @@ -10913,647 +3664,201 @@ in-addr.arpa name of 3.2.1.10.in-addr.arpa. This name should have a PTR resource record whose data field is the name of the machine or, optionally, multiple PTR records if the machine has more than one name. For example, -in the [<SPAN -CLASS="optional" ->example.com</SPAN ->] domain:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4496" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><VAR -CLASS="literal" ->$ORIGIN</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->2.1.10.in-addr.arpa</VAR -></P -></TD -></TR -><TR -><TD -><P -><VAR -CLASS="literal" ->3</VAR -></P -></TD -><TD -><P -><VAR -CLASS="literal" ->IN PTR foo.example.com.</VAR -></P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B ->The <B -CLASS="command" ->$ORIGIN</B -> lines in the examples +in the [<span class="optional">example.com</span>] domain:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><code class="literal">$ORIGIN</code></p></td> +<td><p><code class="literal">2.1.10.in-addr.arpa</code></p></td> +</tr> +<tr> +<td><p><code class="literal">3</code></p></td> +<td><p><code class="literal">IN PTR foo.example.com.</code></p></td> +</tr> +</tbody> +</table></div> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>The <span><strong class="command">$ORIGIN</strong></span> lines in the examples are for providing context to the examples only-they do not necessarily appear in the actual usage. They are only used here to indicate -that the example is relative to the listed origin.</P -></BLOCKQUOTE -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4518" ->6.3.5. Other Zone File Directives</A -></H2 -><P ->The Master File Format was initially defined in RFC 1035 and +that the example is relative to the listed origin.</p> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2566593"></a>Other Zone File Directives</h3></div></div></div> +<p>The Master File Format was initially defined in RFC 1035 and has subsequently been extended. While the Master File Format itself is class independent all records in a Master File must be of the same -class.</P -><P ->Master File Directives include <B -CLASS="command" ->$ORIGIN</B ->, <B -CLASS="command" ->$INCLUDE</B ->, -and <B -CLASS="command" ->$TTL.</B -></P -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN4525" ->6.3.5.1. The <B -CLASS="command" ->$ORIGIN</B -> Directive</A -></H3 -><P ->Syntax: <B -CLASS="command" ->$ORIGIN -</B -><VAR -CLASS="replaceable" ->domain-name</VAR -> [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->comment</VAR -></SPAN ->]</P -><P -><B -CLASS="command" ->$ORIGIN</B -> sets the domain name that will +class.</p> +<p>Master File Directives include <span><strong class="command">$ORIGIN</strong></span>, <span><strong class="command">$INCLUDE</strong></span>, +and <span><strong class="command">$TTL.</strong></span></p> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2566612"></a>The <span><strong class="command">$ORIGIN</strong></span> Directive</h4></div></div></div> +<p>Syntax: <span><strong class="command">$ORIGIN +</strong></span><em class="replaceable"><code>domain-name</code></em> [<span class="optional"> <em class="replaceable"><code>comment</code></em></span>]</p> +<p><span><strong class="command">$ORIGIN</strong></span> sets the domain name that will be appended to any unqualified records. When a zone is first read -in there is an implicit <B -CLASS="command" ->$ORIGIN</B -> <<VAR -CLASS="varname" ->zone-name</VAR ->><B -CLASS="command" ->.</B -> The -current <B -CLASS="command" ->$ORIGIN</B -> is appended to the domain specified -in the <B -CLASS="command" ->$ORIGIN</B -> argument if it is not absolute.</P -><PRE -CLASS="programlisting" -><VAR -CLASS="literal" ->$ORIGIN example.com. -WWW CNAME MAIN-SERVER</VAR -></PRE -><P ->is equivalent to</P -><PRE -CLASS="programlisting" -><VAR -CLASS="literal" ->WWW.EXAMPLE.COM. CNAME MAIN-SERVER.EXAMPLE.COM.</VAR -></PRE -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN4545" ->6.3.5.2. The <B -CLASS="command" ->$INCLUDE</B -> Directive</A -></H3 -><P ->Syntax: <B -CLASS="command" ->$INCLUDE</B -> -<VAR -CLASS="replaceable" ->filename</VAR -> [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->origin</VAR -> </SPAN ->] [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->comment</VAR -> </SPAN ->]</P -><P ->Read and process the file <TT -CLASS="filename" ->filename</TT -> as -if it were included into the file at this point. If <B -CLASS="command" ->origin</B -> is -specified the file is processed with <B -CLASS="command" ->$ORIGIN</B -> set -to that value, otherwise the current <B -CLASS="command" ->$ORIGIN</B -> is -used.</P -><P ->The origin and the current domain name -revert to the values they had prior to the <B -CLASS="command" ->$INCLUDE</B -> once -the file has been read.</P -><DIV -CLASS="note" -><BLOCKQUOTE -CLASS="note" -><P -><B ->Note: </B -> +in there is an implicit <span><strong class="command">$ORIGIN</strong></span> <<code class="varname">zone-name</code>><span><strong class="command">.</strong></span> The +current <span><strong class="command">$ORIGIN</strong></span> is appended to the domain specified +in the <span><strong class="command">$ORIGIN</strong></span> argument if it is not absolute.</p> +<pre class="programlisting">$ORIGIN example.com. +WWW CNAME MAIN-SERVER</pre> +<p>is equivalent to</p> +<pre class="programlisting">WWW.EXAMPLE.COM. CNAME MAIN-SERVER.EXAMPLE.COM.</pre> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2566667"></a>The <span><strong class="command">$INCLUDE</strong></span> Directive</h4></div></div></div> +<p>Syntax: <span><strong class="command">$INCLUDE</strong></span> +<em class="replaceable"><code>filename</code></em> [<span class="optional"> +<em class="replaceable"><code>origin</code></em> </span>] [<span class="optional"> <em class="replaceable"><code>comment</code></em> </span>]</p> +<p>Read and process the file <code class="filename">filename</code> as +if it were included into the file at this point. If <span><strong class="command">origin</strong></span> is +specified the file is processed with <span><strong class="command">$ORIGIN</strong></span> set +to that value, otherwise the current <span><strong class="command">$ORIGIN</strong></span> is +used.</p> +<p>The origin and the current domain name +revert to the values they had prior to the <span><strong class="command">$INCLUDE</strong></span> once +the file has been read.</p> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p> RFC 1035 specifies that the current origin should be restored after -an <B -CLASS="command" ->$INCLUDE</B ->, but it is silent on whether the current +an <span><strong class="command">$INCLUDE</strong></span>, but it is silent on whether the current domain name should also be restored. BIND 9 restores both of them. This could be construed as a deviation from RFC 1035, a feature, or both. -</P -></BLOCKQUOTE -></DIV -></DIV -><DIV -CLASS="sect3" -><H3 -CLASS="sect3" -><A -NAME="AEN4565" ->6.3.5.3. The <B -CLASS="command" ->$TTL</B -> Directive</A -></H3 -><P ->Syntax: <B -CLASS="command" ->$TTL</B -> -<VAR -CLASS="replaceable" ->default-ttl</VAR -> [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->comment</VAR -> </SPAN ->]</P -><P ->Set the default Time To Live (TTL) for subsequent records -with undefined TTLs. Valid TTLs are of the range 0-2147483647 seconds.</P -><P -><B -CLASS="command" ->$TTL</B -> is defined in RFC 2308.</P -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4576" ->6.3.6. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> Master File Extension: the <B -CLASS="command" ->$GENERATE</B -> Directive</A -></H2 -><P ->Syntax: <B -CLASS="command" ->$GENERATE</B -> <VAR -CLASS="replaceable" ->range</VAR -> <VAR -CLASS="replaceable" ->lhs</VAR -> [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->ttl</VAR -></SPAN ->] [<SPAN -CLASS="optional" -><VAR -CLASS="replaceable" ->class</VAR -></SPAN ->] <VAR -CLASS="replaceable" ->type</VAR -> <VAR -CLASS="replaceable" ->rhs</VAR -> [<SPAN -CLASS="optional" -> <VAR -CLASS="replaceable" ->comment</VAR -> </SPAN ->]</P -><P -><B -CLASS="command" ->$GENERATE</B -> is used to create a series of -resource records that only differ from each other by an iterator. <B -CLASS="command" ->$GENERATE</B -> can +</p> +</div> +</div> +<div class="sect3" lang="en"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2566730"></a>The <span><strong class="command">$TTL</strong></span> Directive</h4></div></div></div> +<p>Syntax: <span><strong class="command">$TTL</strong></span> +<em class="replaceable"><code>default-ttl</code></em> [<span class="optional"> +<em class="replaceable"><code>comment</code></em> </span>]</p> +<p>Set the default Time To Live (TTL) for subsequent records +with undefined TTLs. Valid TTLs are of the range 0-2147483647 seconds.</p> +<p><span><strong class="command">$TTL</strong></span> is defined in RFC 2308.</p> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2566761"></a><span class="acronym">BIND</span> Master File Extension: the <span><strong class="command">$GENERATE</strong></span> Directive</h3></div></div></div> +<p>Syntax: <span><strong class="command">$GENERATE</strong></span> <em class="replaceable"><code>range</code></em> <em class="replaceable"><code>lhs</code></em> [<span class="optional"><em class="replaceable"><code>ttl</code></em></span>] [<span class="optional"><em class="replaceable"><code>class</code></em></span>] <em class="replaceable"><code>type</code></em> <em class="replaceable"><code>rhs</code></em> [<span class="optional"> <em class="replaceable"><code>comment</code></em> </span>]</p> +<p><span><strong class="command">$GENERATE</strong></span> is used to create a series of +resource records that only differ from each other by an iterator. <span><strong class="command">$GENERATE</strong></span> can be used to easily generate the sets of records required to support sub /24 reverse delegations described in RFC 2317: Classless IN-ADDR.ARPA -delegation.</P -><PRE -CLASS="programlisting" -><VAR -CLASS="literal" ->$ORIGIN 0.0.192.IN-ADDR.ARPA. +delegation.</p> +<pre class="programlisting">$ORIGIN 0.0.192.IN-ADDR.ARPA. $GENERATE 1-2 0 NS SERVER$.EXAMPLE. -$GENERATE 1-127 $ CNAME $.0</VAR -></PRE -><P ->is equivalent to</P -><PRE -CLASS="programlisting" -><VAR -CLASS="literal" ->0.0.0.192.IN-ADDR.ARPA NS SERVER1.EXAMPLE. +$GENERATE 1-127 $ CNAME $.0</pre> +<p>is equivalent to</p> +<pre class="programlisting">0.0.0.192.IN-ADDR.ARPA NS SERVER1.EXAMPLE. 0.0.0.192.IN-ADDR.ARPA. NS SERVER2.EXAMPLE. 1.0.0.192.IN-ADDR.ARPA. CNAME 1.0.0.0.192.IN-ADDR.ARPA. 2.0.0.192.IN-ADDR.ARPA. CNAME 2.0.0.0.192.IN-ADDR.ARPA. ... 127.0.0.192.IN-ADDR.ARPA. CNAME 127.0.0.0.192.IN-ADDR.ARPA. -</VAR -></PRE -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4600" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P -><B -CLASS="command" ->range</B -></P -></TD -><TD -><P ->This can be one of two forms: start-stop +</pre> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p><span><strong class="command">range</strong></span></p></td> +<td><p>This can be one of two forms: start-stop or start-stop/step. If the first form is used then step is set to - 1. All of start, stop and step must be positive.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->lhs</B -></P -></TD -><TD -><P -><B -CLASS="command" ->lhs</B -> describes the -owner name of the resource records to be created. Any single <B -CLASS="command" ->$</B -> symbols -within the <B -CLASS="command" ->lhs</B -> side are replaced by the iterator + 1. All of start, stop and step must be positive.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">lhs</strong></span></p></td> +<td> +<p><span><strong class="command">lhs</strong></span> describes the +owner name of the resource records to be created. Any single <span><strong class="command">$</strong></span> symbols +within the <span><strong class="command">lhs</strong></span> side are replaced by the iterator value. -To get a $ in the output you need to escape the <B -CLASS="command" ->$</B -> -using a backslash <B -CLASS="command" ->\</B ->, -e.g. <B -CLASS="command" ->\$</B ->. The <B -CLASS="command" ->$</B -> may optionally be followed +To get a $ in the output you need to escape the <span><strong class="command">$</strong></span> +using a backslash <span><strong class="command">\</strong></span>, +e.g. <span><strong class="command">\$</strong></span>. The <span><strong class="command">$</strong></span> may optionally be followed by modifiers which change the offset from the iterator, field width and base. -Modifiers are introduced by a <B -CLASS="command" ->{</B -> immediately following the -<B -CLASS="command" ->$</B -> as <B -CLASS="command" ->${offset[,width[,base]]}</B ->. -e.g. <B -CLASS="command" ->${-20,3,d}</B -> which subtracts 20 from the current value, +Modifiers are introduced by a <span><strong class="command">{</strong></span> immediately following the +<span><strong class="command">$</strong></span> as <span><strong class="command">${offset[,width[,base]]}</strong></span>. +e.g. <span><strong class="command">${-20,3,d}</strong></span> which subtracts 20 from the current value, prints the result as a decimal in a zero padded field of with 3. Available -output forms are decimal (<B -CLASS="command" ->d</B ->), octal (<B -CLASS="command" ->o</B ->) -and hexadecimal (<B -CLASS="command" ->x</B -> or <B -CLASS="command" ->X</B -> for uppercase). -The default modifier is <B -CLASS="command" ->${0,0,d}</B ->. -If the <B -CLASS="command" ->lhs</B -> is not -absolute, the current <B -CLASS="command" ->$ORIGIN</B -> is appended to -the name.</P -> -<P ->For compatibility with earlier versions <B -CLASS="command" ->$$</B -> is still -recognized a indicating a literal $ in the output.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->ttl</B -></P -></TD -><TD -><P -><B -CLASS="command" ->ttl</B -> specifies the +output forms are decimal (<span><strong class="command">d</strong></span>), octal (<span><strong class="command">o</strong></span>) +and hexadecimal (<span><strong class="command">x</strong></span> or <span><strong class="command">X</strong></span> for uppercase). +The default modifier is <span><strong class="command">${0,0,d}</strong></span>. +If the <span><strong class="command">lhs</strong></span> is not +absolute, the current <span><strong class="command">$ORIGIN</strong></span> is appended to +the name.</p> +<p>For compatibility with earlier versions <span><strong class="command">$$</strong></span> is still +recognized a indicating a literal $ in the output.</p> +</td> +</tr> +<tr> +<td><p><span><strong class="command">ttl</strong></span></p></td> +<td> +<p><span><strong class="command">ttl</strong></span> specifies the ttl of the generated records. If not specified this will be - inherited using the normal ttl inheritance rules.</P -> - <P -><B -CLASS="command" ->class</B -> and <B -CLASS="command" ->ttl</B -> can be - entered in either order.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->class</B -></P -></TD -><TD -><P -><B -CLASS="command" ->class</B -> specifies the + inherited using the normal ttl inheritance rules.</p> + <p><span><strong class="command">class</strong></span> and <span><strong class="command">ttl</strong></span> can be + entered in either order.</p> +</td> +</tr> +<tr> +<td><p><span><strong class="command">class</strong></span></p></td> +<td> +<p><span><strong class="command">class</strong></span> specifies the class of the generated records. This must match the zone class if - it is specified.</P -> - <P -><B -CLASS="command" ->class</B -> and <B -CLASS="command" ->ttl</B -> can be - entered in either order.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->type</B -></P -></TD -><TD -><P ->At present the only supported types are -PTR, CNAME, DNAME, A, AAAA and NS.</P -></TD -></TR -><TR -><TD -><P -><B -CLASS="command" ->rhs</B -></P -></TD -><TD -><P ->rhs is a domain name. It is processed -similarly to lhs.</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->The <B -CLASS="command" ->$GENERATE</B -> directive is a <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> extension -and not part of the standard zone file format.</P -><P ->BIND 8 does not support the optional TTL and CLASS fields.</P -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch05.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch07.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->The <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Lightweight Resolver</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Security Considerations</TD -></TR -></TABLE -></DIV -></BODY -></HTML -> + it is specified.</p> + <p><span><strong class="command">class</strong></span> and <span><strong class="command">ttl</strong></span> can be + entered in either order.</p> +</td> +</tr> +<tr> +<td><p><span><strong class="command">type</strong></span></p></td> +<td><p>At present the only supported types are +PTR, CNAME, DNAME, A, AAAA and NS.</p></td> +</tr> +<tr> +<td><p><span><strong class="command">rhs</strong></span></p></td> +<td><p>rhs is a domain name. It is processed +similarly to lhs.</p></td> +</tr> +</tbody> +</table></div> +<p>The <span><strong class="command">$GENERATE</strong></span> directive is a <span class="acronym">BIND</span> extension +and not part of the standard zone file format.</p> +<p>BIND 8 does not support the optional TTL and CLASS fields.</p> +</div> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch05.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch07.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 5. The <span class="acronym">BIND</span> 9 Lightweight Resolver </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Chapter 7. <span class="acronym">BIND</span> 9 Security Considerations</td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch07.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch07.html index 9e5cc9b8f3f..7a3394a4d70 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch07.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch07.html @@ -1,160 +1,78 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->BIND 9 Security Considerations</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="BIND 9 Configuration Reference" -HREF="Bv9ARM.ch06.html"><LINK -REL="NEXT" -TITLE="Troubleshooting" -HREF="Bv9ARM.ch08.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch06.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch08.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch07" -></A ->Chapter 7. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Security Considerations</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->7.1. <A -HREF="Bv9ARM.ch07.html#Access_Control_Lists" ->Access Control Lists</A -></DT -><DT ->7.2. <A -HREF="Bv9ARM.ch07.html#AEN4693" -><B -CLASS="command" ->chroot</B -> and <B -CLASS="command" ->setuid</B -> (for -UNIX servers)</A -></DT -><DT ->7.3. <A -HREF="Bv9ARM.ch07.html#dynamic_update_security" ->Dynamic Update Security</A -></DT -></DL -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="Access_Control_Lists" ->7.1. Access Control Lists</A -></H1 -><P ->Access Control Lists (ACLs), are address match lists that -you can set up and nickname for future use in <B -CLASS="command" ->allow-notify</B ->, -<B -CLASS="command" ->allow-query</B ->, <B -CLASS="command" ->allow-recursion</B ->, -<B -CLASS="command" ->blackhole</B ->, <B -CLASS="command" ->allow-transfer</B ->, -etc.</P -><P ->Using ACLs allows you to have finer control over who can access +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch07.html,v 1.50.2.9.2.24 2005/10/13 02:34:02 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 7. BIND 9 Security Considerations</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch06.html" title="Chapter 6. BIND 9 Configuration Reference"> +<link rel="next" href="Bv9ARM.ch08.html" title="Chapter 8. Troubleshooting"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 7. <span class="acronym">BIND</span> 9 Security Considerations</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch06.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch08.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch07"></a>Chapter 7. <span class="acronym">BIND</span> 9 Security Considerations</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch07.html#Access_Control_Lists">Access Control Lists</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch07.html#id2567222"><span><strong class="command">chroot</strong></span> and <span><strong class="command">setuid</strong></span> (for +UNIX servers)</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch07.html#id2567366">The <span><strong class="command">chroot</strong></span> Environment</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch07.html#id2567424">Using the <span><strong class="command">setuid</strong></span> Function</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch07.html#dynamic_update_security">Dynamic Update Security</a></span></dt> +</dl> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="Access_Control_Lists"></a>Access Control Lists</h2></div></div></div> +<p>Access Control Lists (ACLs), are address match lists that +you can set up and nickname for future use in <span><strong class="command">allow-notify</strong></span>, +<span><strong class="command">allow-query</strong></span>, <span><strong class="command">allow-recursion</strong></span>, +<span><strong class="command">blackhole</strong></span>, <span><strong class="command">allow-transfer</strong></span>, +etc.</p> +<p>Using ACLs allows you to have finer control over who can access your name server, without cluttering up your config files with huge -lists of IP addresses.</P -><P ->It is a <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->good idea</I -></SPAN -> to use ACLs, and to +lists of IP addresses.</p> +<p>It is a <span class="emphasis"><em>good idea</em></span> to use ACLs, and to control access to your server. Limiting access to your server by outside parties can help prevent spoofing and DoS attacks against -your server.</P -><P ->Here is an example of how to properly apply ACLs:</P -><PRE -CLASS="programlisting" -> // Set up an ACL named "bogusnets" that will block RFC1918 space, +your server.</p> +<p>Here is an example of how to properly apply ACLs:</p> +<pre class="programlisting"> +// Set up an ACL named "bogusnets" that will block RFC1918 space, // which is commonly used in spoofing attacks. acl bogusnets { 0.0.0.0/8; 1.0.0.0/8; 2.0.0.0/8; 192.0.2.0/24; 224.0.0.0/3; 10.0.0.0/8; 172.16.0.0/12; 192.168.0.0/16; }; // Set up an ACL called our-nets. Replace this with the real IP numbers. @@ -173,328 +91,110 @@ zone "example.com" { file "m/example.com"; allow-query { any; }; }; -</PRE -><P ->This allows recursive queries of the server from the outside -unless recursion has been previously disabled.</P -><P ->For more information on how to use ACLs to protect your server, -see the <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->AUSCERT</I -></SPAN -> advisory at -<A -HREF="ftp://ftp.auscert.org.au/pub/auscert/advisory/AL-1999.004.dns_dos" -TARGET="_top" ->ftp://ftp.auscert.org.au/pub/auscert/advisory/AL-1999.004.dns_dos</A -></P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN4693" ->7.2. <B -CLASS="command" ->chroot</B -> and <B -CLASS="command" ->setuid</B -> (for -UNIX servers)</A -></H1 -><P ->On UNIX servers, it is possible to run <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> in a <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->chrooted</I -></SPAN -> environment -(<B -CLASS="command" ->chroot()</B ->) by specifying the "<VAR -CLASS="option" ->-t</VAR ->" -option. This can help improve system security by placing <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> in -a "sandbox", which will limit the damage done if a server is compromised.</P -><P ->Another useful feature in the UNIX version of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> is the -ability to run the daemon as an unprivileged user ( <VAR -CLASS="option" ->-u</VAR -> <VAR -CLASS="replaceable" ->user</VAR -> ). -We suggest running as an unprivileged user when using the <B -CLASS="command" ->chroot</B -> feature.</P -><P ->Here is an example command line to load <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> in a <B -CLASS="command" ->chroot()</B -> sandbox, -<B -CLASS="command" ->/var/named</B ->, and to run <B -CLASS="command" ->named</B -> <B -CLASS="command" ->setuid</B -> to -user 202:</P -><P -><KBD -CLASS="userinput" ->/usr/local/bin/named -u 202 -t /var/named</KBD -></P -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4716" ->7.2.1. The <B -CLASS="command" ->chroot</B -> Environment</A -></H2 -><P ->In order for a <B -CLASS="command" ->chroot()</B -> environment to +</pre> +<p>This allows recursive queries of the server from the outside +unless recursion has been previously disabled.</p> +<p>For more information on how to use ACLs to protect your server, +see the <span class="emphasis"><em>AUSCERT</em></span> advisory at +<a href="ftp://ftp.auscert.org.au/pub/auscert/advisory/AL-1999.004.dns_dos" target="_top">ftp://ftp.auscert.org.au/pub/auscert/advisory/AL-1999.004.dns_dos</a></p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2567222"></a><span><strong class="command">chroot</strong></span> and <span><strong class="command">setuid</strong></span> (for +UNIX servers)</h2></div></div></div> +<p>On UNIX servers, it is possible to run <span class="acronym">BIND</span> in a <span class="emphasis"><em>chrooted</em></span> environment +(<span><strong class="command">chroot()</strong></span>) by specifying the "<code class="option">-t</code>" +option. This can help improve system security by placing <span class="acronym">BIND</span> in +a "sandbox", which will limit the damage done if a server is compromised.</p> +<p>Another useful feature in the UNIX version of <span class="acronym">BIND</span> is the +ability to run the daemon as an unprivileged user ( <code class="option">-u</code> <em class="replaceable"><code>user</code></em> ). +We suggest running as an unprivileged user when using the <span><strong class="command">chroot</strong></span> feature.</p> +<p>Here is an example command line to load <span class="acronym">BIND</span> in a <span><strong class="command">chroot()</strong></span> sandbox, +<span><strong class="command">/var/named</strong></span>, and to run <span><strong class="command">named</strong></span> <span><strong class="command">setuid</strong></span> to +user 202:</p> +<p><strong class="userinput"><code>/usr/local/bin/named -u 202 -t /var/named</code></strong></p> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2567366"></a>The <span><strong class="command">chroot</strong></span> Environment</h3></div></div></div> +<p>In order for a <span><strong class="command">chroot()</strong></span> environment to work properly in a particular directory -(for example, <TT -CLASS="filename" ->/var/named</TT ->), +(for example, <code class="filename">/var/named</code>), you will need to set up an environment that includes everything -<ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> needs to run. -From <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->'s point of view, <TT -CLASS="filename" ->/var/named</TT -> is +<span class="acronym">BIND</span> needs to run. +From <span class="acronym">BIND</span>'s point of view, <code class="filename">/var/named</code> is the root of the filesystem. You will need to adjust the values of options like -like <B -CLASS="command" ->directory</B -> and <B -CLASS="command" ->pid-file</B -> to account +like <span><strong class="command">directory</strong></span> and <span><strong class="command">pid-file</strong></span> to account for this. -</P -><P -> Unlike with earlier versions of BIND, you will typically -<SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->not</I -></SPAN -> need to compile <B -CLASS="command" ->named</B -> +</p> +<p> +Unlike with earlier versions of BIND, you will typically +<span class="emphasis"><em>not</em></span> need to compile <span><strong class="command">named</strong></span> statically nor install shared libraries under the new root. However, depending on your operating system, you may need to set up things like -<TT -CLASS="filename" ->/dev/zero</TT ->, -<TT -CLASS="filename" ->/dev/random</TT ->, -<TT -CLASS="filename" ->/dev/log</TT ->, and/or -<TT -CLASS="filename" ->/etc/localtime</TT ->. -</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4734" ->7.2.2. Using the <B -CLASS="command" ->setuid</B -> Function</A -></H2 -><P ->Prior to running the <B -CLASS="command" ->named</B -> daemon, use -the <B -CLASS="command" ->touch</B -> utility (to change file access and -modification times) or the <B -CLASS="command" ->chown</B -> utility (to +<code class="filename">/dev/zero</code>, +<code class="filename">/dev/random</code>, +<code class="filename">/dev/log</code>, and/or +<code class="filename">/etc/localtime</code>. +</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2567424"></a>Using the <span><strong class="command">setuid</strong></span> Function</h3></div></div></div> +<p>Prior to running the <span><strong class="command">named</strong></span> daemon, use +the <span><strong class="command">touch</strong></span> utility (to change file access and +modification times) or the <span><strong class="command">chown</strong></span> utility (to set the user id and/or group id) on files -to which you want <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> -to write. Note that if the <B -CLASS="command" ->named</B -> daemon is running as an +to which you want <span class="acronym">BIND</span> +to write. Note that if the <span><strong class="command">named</strong></span> daemon is running as an unprivileged user, it will not be able to bind to new restricted ports if the -server is reloaded.</P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="dynamic_update_security" ->7.3. Dynamic Update Security</A -></H1 -><P ->Access to the dynamic +server is reloaded.</p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="dynamic_update_security"></a>Dynamic Update Security</h2></div></div></div> +<p>Access to the dynamic update facility should be strictly limited. In earlier versions of -<ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> the only way to do this was based on the IP +<span class="acronym">BIND</span> the only way to do this was based on the IP address of the host requesting the update, by listing an IP address or -network prefix in the <B -CLASS="command" ->allow-update</B -> zone option. +network prefix in the <span><strong class="command">allow-update</strong></span> zone option. This method is insecure since the source address of the update UDP packet is easily forged. Also note that if the IP addresses allowed by the -<B -CLASS="command" ->allow-update</B -> option include the address of a slave +<span><strong class="command">allow-update</strong></span> option include the address of a slave server which performs forwarding of dynamic updates, the master can be trivially attacked by sending the update to the slave, which will forward it to the master with its own source IP address causing the -master to approve it without question.</P -><P ->For these reasons, we strongly recommend that updates be +master to approve it without question.</p> +<p>For these reasons, we strongly recommend that updates be cryptographically authenticated by means of transaction signatures -(TSIG). That is, the <B -CLASS="command" ->allow-update</B -> option should +(TSIG). That is, the <span><strong class="command">allow-update</strong></span> option should list only TSIG key names, not IP addresses or network -prefixes. Alternatively, the new <B -CLASS="command" ->update-policy</B -> -option can be used.</P -><P ->Some sites choose to keep all dynamically updated DNS data +prefixes. Alternatively, the new <span><strong class="command">update-policy</strong></span> +option can be used.</p> +<p>Some sites choose to keep all dynamically updated DNS data in a subdomain and delegate that subdomain to a separate zone. This way, the top-level zone containing critical data such as the IP addresses of public web and mail servers need not allow dynamic update at -all.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch06.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch08.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Configuration Reference</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Troubleshooting</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +all.</p> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch06.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch08.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 6. <span class="acronym">BIND</span> 9 Configuration Reference </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Chapter 8. Troubleshooting</td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch08.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch08.html index 94d3d795246..2c83bc17af0 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch08.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch08.html @@ -1,135 +1,73 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Troubleshooting</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="BIND 9 Security Considerations" -HREF="Bv9ARM.ch07.html"><LINK -REL="NEXT" -TITLE="Appendices" -HREF="Bv9ARM.ch09.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch07.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch09.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch08" -></A ->Chapter 8. Troubleshooting</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->8.1. <A -HREF="Bv9ARM.ch08.html#AEN4755" ->Common Problems</A -></DT -><DT ->8.2. <A -HREF="Bv9ARM.ch08.html#AEN4760" ->Incrementing and Changing the Serial Number</A -></DT -><DT ->8.3. <A -HREF="Bv9ARM.ch08.html#AEN4765" ->Where Can I Get Help?</A -></DT -></DL -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN4755" ->8.1. Common Problems</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4757" ->8.1.1. It's not working; how can I figure out what's wrong?</A -></H2 -><P ->The best solution to solving installation and +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch08.html,v 1.50.2.9.2.24 2005/10/13 02:34:02 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 8. Troubleshooting</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch07.html" title="Chapter 7. BIND 9 Security Considerations"> +<link rel="next" href="Bv9ARM.ch09.html" title="Appendix A. Appendices"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 8. Troubleshooting</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch07.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch09.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch08"></a>Chapter 8. Troubleshooting</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch08.html#id2567630">Common Problems</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch08.html#id2567636">It's not working; how can I figure out what's wrong?</a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch08.html#id2567648">Incrementing and Changing the Serial Number</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch08.html#id2567665">Where Can I Get Help?</a></span></dt> +</dl> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2567630"></a>Common Problems</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2567636"></a>It's not working; how can I figure out what's wrong?</h3></div></div></div> +<p>The best solution to solving installation and configuration issues is to take preventative measures by setting up logging files beforehand. The log files provide a source of hints and information that can be used to figure out - what went wrong and how to fix the problem.</P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN4760" ->8.2. Incrementing and Changing the Serial Number</A -></H1 -><P ->Zone serial numbers are just numbers-they aren't date + what went wrong and how to fix the problem.</p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2567648"></a>Incrementing and Changing the Serial Number</h2></div></div></div> +<p>Zone serial numbers are just numbers-they aren't date related. A lot of people set them to a number that represents a date, usually of the form YYYYMMDDRR. A number of people have been testing these numbers for Y2K compliance and have set the number @@ -138,135 +76,49 @@ NAME="AEN4760" numbers are used to indicate that a zone has been updated. If the serial number on the slave server is lower than the serial number on the master, the slave server will attempt to update its copy of - the zone.</P -><P ->Setting the serial number to a lower number on the master + the zone.</p> +<p>Setting the serial number to a lower number on the master server than the slave server means that the slave will not perform - updates to its copy of the zone.</P -><P ->The solution to this is to add 2147483647 (2^31-1) to the + updates to its copy of the zone.</p> +<p>The solution to this is to add 2147483647 (2^31-1) to the number, reload the zone and make sure all slaves have updated to the new zone serial number, then reset the number to what you want - it to be, and reload the zone again.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN4765" ->8.3. Where Can I Get Help?</A -></H1 -><P ->The Internet Software Consortium (<ACRONYM -CLASS="acronym" ->ISC</ACRONYM ->) offers a wide range - of support and service agreements for <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> and <ACRONYM -CLASS="acronym" ->DHCP</ACRONYM -> servers. Four + it to be, and reload the zone again.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2567665"></a>Where Can I Get Help?</h2></div></div></div> +<p>The Internet Software Consortium (<span class="acronym">ISC</span>) offers a wide range + of support and service agreements for <span class="acronym">BIND</span> and <span class="acronym">DHCP</span> servers. Four levels of premium support are available and each level includes - support for all <ACRONYM -CLASS="acronym" ->ISC</ACRONYM -> programs, significant discounts on products + support for all <span class="acronym">ISC</span> programs, significant discounts on products and training, and a recognized priority on bug fixes and - non-funded feature requests. In addition, <ACRONYM -CLASS="acronym" ->ISC</ACRONYM -> offers a standard + non-funded feature requests. In addition, <span class="acronym">ISC</span> offers a standard support agreement package which includes services ranging from bug fix announcements to remote support. It also includes training in - <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> and <ACRONYM -CLASS="acronym" ->DHCP</ACRONYM ->.</P -><P ->To discuss arrangements for support, contact - <A -HREF="mailto:info@isc.org" -TARGET="_top" ->info@isc.org</A -> or visit the - <ACRONYM -CLASS="acronym" ->ISC</ACRONYM -> web page at <A -HREF="http://www.isc.org/services/support/" -TARGET="_top" ->http://www.isc.org/services/support/</A -> - to read more.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch07.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch09.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Security Considerations</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Appendices</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file + <span class="acronym">BIND</span> and <span class="acronym">DHCP</span>.</p> +<p>To discuss arrangements for support, contact + <a href="mailto:info@isc.org" target="_top">info@isc.org</a> or visit the + <span class="acronym">ISC</span> web page at <a href="http://www.isc.org/services/support/" target="_top">http://www.isc.org/services/support/</a> + to read more.</p> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch07.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch09.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 7. <span class="acronym">BIND</span> 9 Security Considerations </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Appendix A. Appendices</td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.ch09.html b/usr.sbin/bind/doc/arm/Bv9ARM.ch09.html index ea6202b2eb8..a1435f27b16 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.ch09.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.ch09.html @@ -1,121 +1,67 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->Appendices</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="Troubleshooting" -HREF="Bv9ARM.ch08.html"></HEAD -><BODY -CLASS="appendix" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch08.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -> </TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="appendix" -><H1 -><A -NAME="ch09" -></A ->Appendix A. Appendices</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->A.1. <A -HREF="Bv9ARM.ch09.html#AEN4781" ->Acknowledgments</A -></DT -><DT ->A.2. <A -HREF="Bv9ARM.ch09.html#historical_dns_information" ->General <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Reference Information</A -></DT -><DT ->A.3. <A -HREF="Bv9ARM.ch09.html#bibliography" ->Bibliography (and Suggested Reading)</A -></DT -></DL -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN4781" ->A.1. Acknowledgments</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN4783" ->A.1.1. A Brief History of the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> and <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -></A -></H2 -><P ->Although the "official" beginning of the Domain Name +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.ch09.html,v 1.50.2.9.2.25 2005/10/13 02:34:03 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Appendix A. Appendices</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch08.html" title="Chapter 8. Troubleshooting"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Appendix A. Appendices</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch08.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> </td> +</tr> +</table> +<hr> +</div> +<div class="appendix" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch09"></a>Appendix A. Appendices</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch09.html#id2567795">Acknowledgments</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch09.html#id2567800">A Brief History of the <span class="acronym">DNS</span> and <span class="acronym">BIND</span></a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch09.html#historical_dns_information">General <span class="acronym">DNS</span> Reference Information</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch09.html#ipv6addresses">IPv6 addresses (AAAA)</a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch09.html#bibliography">Bibliography (and Suggested Reading)</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch09.html#rfcs">Request for Comments (RFCs)</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch09.html#internet_drafts">Internet Drafts</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch09.html#id2570087">Other Documents About <span class="acronym">BIND</span></a></span></dt> +</dl></dd> +</dl> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2567795"></a>Acknowledgments</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2567800"></a>A Brief History of the <span class="acronym">DNS</span> and <span class="acronym">BIND</span></h3></div></div></div> +<p>Although the "official" beginning of the Domain Name System occurred in 1984 with the publication of RFC 920, the core of the new system was described in 1983 in RFCs 882 and 883. From 1984 to 1987, the ARPAnet (the precursor to today's @@ -126,1462 +72,317 @@ CLASS="acronym" incorporate improvements based on the working model. RFC 1034, "Domain Names-Concepts and Facilities", and RFC 1035, "Domain Names-Implementation and Specification" were published and - became the standards upon which all <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> implementations are + became the standards upon which all <span class="acronym">DNS</span> implementations are built. -</P -><P ->The first working domain name server, called "Jeeves", was +</p> +<p>The first working domain name server, called "Jeeves", was written in 1983-84 by Paul Mockapetris for operation on DEC Tops-20 machines located at the University of Southern California's Information Sciences Institute (USC-ISI) and SRI International's Network Information -Center (SRI-NIC). A <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> server for Unix machines, the Berkeley Internet -Name Domain (<ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->) package, was written soon after by a group of +Center (SRI-NIC). A <span class="acronym">DNS</span> server for Unix machines, the Berkeley Internet +Name Domain (<span class="acronym">BIND</span>) package, was written soon after by a group of graduate students at the University of California at Berkeley under a grant from the US Defense Advanced Research Projects Administration -(DARPA). Versions of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> through 4.8.3 were maintained by the Computer +(DARPA). Versions of <span class="acronym">BIND</span> through 4.8.3 were maintained by the Computer Systems Research Group (CSRG) at UC Berkeley. Douglas Terry, Mark -Painter, David Riggle and Songnian Zhou made up the initial <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> +Painter, David Riggle and Songnian Zhou made up the initial <span class="acronym">BIND</span> project team. After that, additional work on the software package was done by Ralph Campbell. Kevin Dunlap, a Digital Equipment Corporation -employee on loan to the CSRG, worked on <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> for 2 years, from 1985 -to 1987. Many other people also contributed to <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> development +employee on loan to the CSRG, worked on <span class="acronym">BIND</span> for 2 years, from 1985 +to 1987. Many other people also contributed to <span class="acronym">BIND</span> development during that time: Doug Kingston, Craig Partridge, Smoot Carl-Mitchell, -Mike Muuss, Jim Bloom and Mike Schwartz. <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> maintenance was subsequently -handled by Mike Karels and O. Kure.</P -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> versions 4.9 and 4.9.1 were released by Digital Equipment +Mike Muuss, Jim Bloom and Mike Schwartz. <span class="acronym">BIND</span> maintenance was subsequently +handled by Mike Karels and O. Kure.</p> +<p><span class="acronym">BIND</span> versions 4.9 and 4.9.1 were released by Digital Equipment Corporation (now Compaq Computer Corporation). Paul Vixie, then -a DEC employee, became <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->'s primary caretaker. Paul was assisted +a DEC employee, became <span class="acronym">BIND</span>'s primary caretaker. Paul was assisted by Phil Almquist, Robert Elz, Alan Barrett, Paul Albitz, Bryan Beecher, Andrew Partan, Andy Cherenson, Tom Limoncelli, Berthold Paffrath, Fuat Baran, Anant Kumar, Art Harkin, Win Treese, Don Lewis, Christophe -Wolfhugel, and others.</P -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> Version 4.9.2 was sponsored by Vixie Enterprises. Paul -Vixie became <ACRONYM -CLASS="acronym" ->BIND</ACRONYM ->'s principal architect/programmer.</P -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> versions from 4.9.3 onward have been developed and maintained +Wolfhugel, and others.</p> +<p><span class="acronym">BIND</span> Version 4.9.2 was sponsored by Vixie Enterprises. Paul +Vixie became <span class="acronym">BIND</span>'s principal architect/programmer.</p> +<p><span class="acronym">BIND</span> versions from 4.9.3 onward have been developed and maintained by the Internet Software Consortium with support being provided by ISC's sponsors. As co-architects/programmers, Bob Halley and -Paul Vixie released the first production-ready version of <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> version -8 in May 1997.</P -><P -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> development work is made possible today by the sponsorship +Paul Vixie released the first production-ready version of <span class="acronym">BIND</span> version +8 in May 1997.</p> +<p><span class="acronym">BIND</span> development work is made possible today by the sponsorship of several corporations, and by the tireless work efforts of numerous -individuals.</P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="historical_dns_information" ->A.2. General <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Reference Information</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="ipv6addresses" ->A.2.1. IPv6 addresses (AAAA)</A -></H2 -><P ->IPv6 addresses are 128-bit identifiers for interfaces and -sets of interfaces which were introduced in the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> to facilitate -scalable Internet routing. There are three types of addresses: <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Unicast</I -></SPAN ->, -an identifier for a single interface; <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Anycast</I -></SPAN ->, -an identifier for a set of interfaces; and <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Multicast</I -></SPAN ->, +individuals.</p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="historical_dns_information"></a>General <span class="acronym">DNS</span> Reference Information</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="ipv6addresses"></a>IPv6 addresses (AAAA)</h3></div></div></div> +<p>IPv6 addresses are 128-bit identifiers for interfaces and +sets of interfaces which were introduced in the <span class="acronym">DNS</span> to facilitate +scalable Internet routing. There are three types of addresses: <span class="emphasis"><em>Unicast</em></span>, +an identifier for a single interface; <span class="emphasis"><em>Anycast</em></span>, +an identifier for a set of interfaces; and <span class="emphasis"><em>Multicast</em></span>, an identifier for a set of interfaces. Here we describe the global -Unicast address scheme. For more information, see RFC 2374.</P -><P ->The aggregatable global Unicast address format is as follows:</P -><DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4819" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->3</P -></TD -><TD -><P ->13</P -></TD -><TD -><P ->8</P -></TD -><TD -><P ->24</P -></TD -><TD -><P ->16</P -></TD -><TD -><P ->64 bits</P -></TD -></TR -><TR -><TD -><P ->FP</P -></TD -><TD -><P ->TLA ID</P -></TD -><TD -><P ->RES</P -></TD -><TD -><P ->NLA ID</P -></TD -><TD -><P ->SLA ID</P -></TD -><TD -><P ->Interface ID</P -></TD -></TR -><TR -><TD -COLSPAN="4" -><P -><------ Public Topology -------></P -></TD -><TD -><P -></P -></TD -><TD -><P -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -><-Site Topology-></P -></TD -><TD -><P -></P -></TD -></TR -><TR -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -></P -></TD -><TD -><P -><------ Interface Identifier ------></P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -><P ->Where -<DIV -CLASS="informaltable" -><P -></P -><A -NAME="AEN4888" -></A -><TABLE -CELLPADDING="3" -BORDER="1" -CLASS="CALSTABLE" -><TBODY -><TR -><TD -><P ->FP</P -></TD -><TD -><P ->=</P -></TD -><TD -><P ->Format Prefix (001)</P -></TD -></TR -><TR -><TD -><P ->TLA ID</P -></TD -><TD -><P ->=</P -></TD -><TD -><P ->Top-Level Aggregation Identifier</P -></TD -></TR -><TR -><TD -><P ->RES</P -></TD -><TD -><P ->=</P -></TD -><TD -><P ->Reserved for future use</P -></TD -></TR -><TR -><TD -><P ->NLA ID</P -></TD -><TD -><P ->=</P -></TD -><TD -><P ->Next-Level Aggregation Identifier</P -></TD -></TR -><TR -><TD -><P ->SLA ID</P -></TD -><TD -><P ->=</P -></TD -><TD -><P ->Site-Level Aggregation Identifier</P -></TD -></TR -><TR -><TD -><P ->INTERFACE ID</P -></TD -><TD -><P ->=</P -></TD -><TD -><P ->Interface Identifier</P -></TD -></TR -></TBODY -></TABLE -><P -></P -></DIV -></P -><P ->The <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Public Topology</I -></SPAN -> is provided by the -upstream provider or ISP, and (roughly) corresponds to the IPv4 <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->network</I -></SPAN -> section -of the address range. The <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Site Topology</I -></SPAN -> is +Unicast address scheme. For more information, see RFC 2374.</p> +<p>The aggregatable global Unicast address format is as follows:</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>3</p></td> +<td><p>13</p></td> +<td><p>8</p></td> +<td><p>24</p></td> +<td><p>16</p></td> +<td><p>64 bits</p></td> +</tr> +<tr> +<td><p>FP</p></td> +<td><p>TLA ID</p></td> +<td><p>RES</p></td> +<td><p>NLA ID</p></td> +<td><p>SLA ID</p></td> +<td><p>Interface ID</p></td> +</tr> +<tr> +<td colspan="4"><p><------ Public Topology +------></p></td> +<td><p></p></td> +<td><p></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p></p></td> +<td><p></p></td> +<td><p></p></td> +<td><p><-Site Topology-></p></td> +<td><p></p></td> +</tr> +<tr> +<td><p></p></td> +<td><p></p></td> +<td><p></p></td> +<td><p></p></td> +<td><p></p></td> +<td><p><------ Interface Identifier ------></p></td> +</tr> +</tbody> +</table></div> +<p>Where +</p> +<div class="informaltable"><table border="1"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<tbody> +<tr> +<td><p>FP</p></td> +<td><p>=</p></td> +<td><p>Format Prefix (001)</p></td> +</tr> +<tr> +<td><p>TLA ID</p></td> +<td><p>=</p></td> +<td><p>Top-Level Aggregation Identifier</p></td> +</tr> +<tr> +<td><p>RES</p></td> +<td><p>=</p></td> +<td><p>Reserved for future use</p></td> +</tr> +<tr> +<td><p>NLA ID</p></td> +<td><p>=</p></td> +<td><p>Next-Level Aggregation Identifier</p></td> +</tr> +<tr> +<td><p>SLA ID</p></td> +<td><p>=</p></td> +<td><p>Site-Level Aggregation Identifier</p></td> +</tr> +<tr> +<td><p>INTERFACE ID</p></td> +<td><p>=</p></td> +<td><p>Interface Identifier</p></td> +</tr> +</tbody> +</table></div> +<p>The <span class="emphasis"><em>Public Topology</em></span> is provided by the +upstream provider or ISP, and (roughly) corresponds to the IPv4 <span class="emphasis"><em>network</em></span> section +of the address range. The <span class="emphasis"><em>Site Topology</em></span> is where you can subnet this space, much the same as subnetting an -IPv4 /16 network into /24 subnets. The <SPAN -CLASS="emphasis" -><I -CLASS="emphasis" ->Interface Identifier</I -></SPAN -> is +IPv4 /16 network into /24 subnets. The <span class="emphasis"><em>Interface Identifier</em></span> is the address of an individual interface on a given network. (With -IPv6, addresses belong to interfaces rather than machines.)</P -><P ->The subnetting capability of IPv6 is much more flexible than +IPv6, addresses belong to interfaces rather than machines.)</p> +<p>The subnetting capability of IPv6 is much more flexible than that of IPv4: subnetting can now be carried out on bit boundaries, -in much the same way as Classless InterDomain Routing (CIDR).</P -><P ->The Interface Identifier must be unique on that network. On +in much the same way as Classless InterDomain Routing (CIDR).</p> +<p>The Interface Identifier must be unique on that network. On ethernet networks, one way to ensure this is to set the address to the first three bytes of the hardware address, "FFFE", then the last three bytes of the hardware address. The lowest significant bit of the first byte should then be complemented. Addresses are written as 32-bit blocks separated with a colon, and leading zeros -of a block may be omitted, for example:</P -><P -><B -CLASS="command" ->2001:db8:201:9:a00:20ff:fe81:2b32</B -></P -><P ->IPv6 address specifications are likely to contain long strings +of a block may be omitted, for example:</p> +<p><span><strong class="command">2001:db8:201:9:a00:20ff:fe81:2b32</strong></span></p> +<p>IPv6 address specifications are likely to contain long strings of zeros, so the architects have included a shorthand for specifying them. The double colon (`::') indicates the longest possible string -of zeros that can fit, and can be used only once in an address.</P -></DIV -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="bibliography" ->A.3. Bibliography (and Suggested Reading)</A -></H1 -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="rfcs" ->A.3.1. Request for Comments (RFCs)</A -></H2 -><P ->Specification documents for the Internet protocol suite, including -the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM ->, are published as part of the Request for Comments (RFCs) +of zeros that can fit, and can be used only once in an address.</p> +</div> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="bibliography"></a>Bibliography (and Suggested Reading)</h2></div></div></div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="rfcs"></a>Request for Comments (RFCs)</h3></div></div></div> +<p>Specification documents for the Internet protocol suite, including +the <span class="acronym">DNS</span>, are published as part of the Request for Comments (RFCs) series of technical notes. The standards themselves are defined by the Internet Engineering Task Force (IETF) and the Internet Engineering Steering Group (IESG). RFCs can be obtained online via FTP at -<A -HREF="ftp://www.isi.edu/in-notes/" -TARGET="_top" ->ftp://www.isi.edu/in-notes/RFC<VAR -CLASS="replaceable" ->xxx</VAR ->.txt</A -> (where <VAR -CLASS="replaceable" ->xxx</VAR -> is +<a href="ftp://www.isi.edu/in-notes/" target="_top">ftp://www.isi.edu/in-notes/RFC<em class="replaceable"><code>xxx</code></em>.txt</a> (where <em class="replaceable"><code>xxx</code></em> is the number of the RFC). RFCs are also available via the Web at -<A -HREF="http://www.ietf.org/rfc/" -TARGET="_top" ->http://www.ietf.org/rfc/</A ->. -</P -><H3 -><A -NAME="AEN4956" ->Bibliography</A -></H3 -><H2 -CLASS="bibliodiv" -><A -NAME="AEN4957" ->Standards</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN4959" -></A -><P ->[RFC974] <SPAN -CLASS="AUTHOR" ->C. Partridge</SPAN ->, <I ->Mail Routing and the Domain System</I ->, January 1986.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN4966" -></A -><P ->[RFC1034] <SPAN -CLASS="AUTHOR" ->P.V. Mockapetris</SPAN ->, <I ->Domain Names — Concepts and Facilities</I ->, November 1987.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN4973" -></A -><P ->[RFC1035] <SPAN -CLASS="AUTHOR" ->P. V. Mockapetris</SPAN ->, <I ->Domain Names — Implementation and -Specification</I ->, November 1987.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="proposed_standards" ->Proposed Standards</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN4982" -></A -><P ->[RFC2181] <SPAN -CLASS="AUTHOR" ->R., R. Bush Elz</SPAN ->, <I ->Clarifications to the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Specification</I ->, July 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN4990" -></A -><P ->[RFC2308] <SPAN -CLASS="AUTHOR" ->M. Andrews</SPAN ->, <I ->Negative Caching of <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Queries</I ->, March 1998.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN4998" -></A -><P ->[RFC1995] <SPAN -CLASS="AUTHOR" ->M. Ohta</SPAN ->, <I ->Incremental Zone Transfer in <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -></I ->, August 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5006" -></A -><P ->[RFC1996] <SPAN -CLASS="AUTHOR" ->P. Vixie</SPAN ->, <I ->A Mechanism for Prompt Notification of Zone Changes</I ->, August 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5013" -></A -><P ->[RFC2136] <SPAN -CLASS="AUTHOR" ->P. Vixie, </SPAN -><SPAN -CLASS="AUTHOR" ->S. Thomson, </SPAN -><SPAN -CLASS="AUTHOR" ->Y. Rekhter, </SPAN -><SPAN -CLASS="AUTHOR" ->and J. Bound</SPAN ->, <I ->Dynamic Updates in the Domain Name System</I ->, April 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5030" -></A -><P ->[RFC2845] <SPAN -CLASS="AUTHOR" ->P. Vixie, </SPAN -><SPAN -CLASS="AUTHOR" ->O. Gudmundsson, </SPAN -><SPAN -CLASS="AUTHOR" ->D. Eastlake, 3rd, </SPAN -><SPAN -CLASS="AUTHOR" ->and B. Wellington</SPAN ->, <I ->Secret Key Transaction Authentication for <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> (TSIG)</I ->, May 2000.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5049" ->Proposed Standards Still Under Development</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5054" -></A -><P ->[RFC1886] <SPAN -CLASS="AUTHOR" ->S. Thomson </SPAN -><SPAN -CLASS="AUTHOR" ->and C. Huitema</SPAN ->, <I -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Extensions to support IP version 6</I ->, December 1995.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5066" -></A -><P ->[RFC2065] <SPAN -CLASS="AUTHOR" ->D. Eastlake, 3rd </SPAN -><SPAN -CLASS="AUTHOR" ->and C. Kaufman</SPAN ->, <I ->Domain Name System Security Extensions</I ->, January 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5078" -></A -><P ->[RFC2137] <SPAN -CLASS="AUTHOR" ->D. Eastlake, 3rd</SPAN ->, <I ->Secure Domain Name System Dynamic Update</I ->, April 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5086" ->Other Important RFCs About <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Implementation</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5089" -></A -><P ->[RFC1535] <SPAN -CLASS="AUTHOR" ->E. Gavron</SPAN ->, <I ->A Security Problem and Proposed Correction With Widely Deployed <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Software.</I ->, October 1993.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5097" -></A -><P ->[RFC1536] <SPAN -CLASS="AUTHOR" ->A. Kumar, </SPAN -><SPAN -CLASS="AUTHOR" ->J. Postel, </SPAN -><SPAN -CLASS="AUTHOR" ->C. Neuman, </SPAN -><SPAN -CLASS="AUTHOR" ->P. Danzig, </SPAN -><SPAN -CLASS="AUTHOR" ->and S. Miller</SPAN ->, <I ->Common <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Implementation Errors and Suggested Fixes</I ->, October 1993.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5118" -></A -><P ->[RFC1982] <SPAN -CLASS="AUTHOR" ->R. Elz </SPAN -><SPAN -CLASS="AUTHOR" ->and R. Bush</SPAN ->, <I ->Serial Number Arithmetic</I ->, August 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5129" ->Resource Record Types</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5131" -></A -><P ->[RFC1183] <SPAN -CLASS="AUTHOR" ->C.F. Everhart, </SPAN -><SPAN -CLASS="AUTHOR" ->L. A. Mamakos, </SPAN -><SPAN -CLASS="AUTHOR" ->R. Ullmann, </SPAN -><SPAN -CLASS="AUTHOR" ->and P. Mockapetris</SPAN ->, <I ->New <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> RR Definitions</I ->, October 1990.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5149" -></A -><P ->[RFC1706] <SPAN -CLASS="AUTHOR" ->B. Manning </SPAN -><SPAN -CLASS="AUTHOR" ->and R. Colella</SPAN ->, <I -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> NSAP Resource Records</I ->, October 1994.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5161" -></A -><P ->[RFC2168] <SPAN -CLASS="AUTHOR" ->R. Daniel </SPAN -><SPAN -CLASS="AUTHOR" ->and M. Mealling</SPAN ->, <I ->Resolution of Uniform Resource Identifiers using -the Domain Name System</I ->, June 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5172" -></A -><P ->[RFC1876] <SPAN -CLASS="AUTHOR" ->C. Davis, </SPAN -><SPAN -CLASS="AUTHOR" ->P. Vixie, </SPAN -><SPAN -CLASS="AUTHOR" ->T., </SPAN -><SPAN -CLASS="AUTHOR" ->and I. Dickinson</SPAN ->, <I ->A Means for Expressing Location Information in the Domain -Name System</I ->, January 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5189" -></A -><P ->[RFC2052] <SPAN -CLASS="AUTHOR" ->A. Gulbrandsen </SPAN -><SPAN -CLASS="AUTHOR" ->and P. Vixie</SPAN ->, <I ->A <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> RR for Specifying the Location of -Services.</I ->, October 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5201" -></A -><P ->[RFC2163] <SPAN -CLASS="AUTHOR" ->A. Allocchio</SPAN ->, <I ->Using the Internet <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> to Distribute MIXER -Conformant Global Address Mapping</I ->, January 1998.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5209" -></A -><P ->[RFC2230] <SPAN -CLASS="AUTHOR" ->R. Atkinson</SPAN ->, <I ->Key Exchange Delegation Record for the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -></I ->, October 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5217" -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> and the Internet</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5220" -></A -><P ->[RFC1101] <SPAN -CLASS="AUTHOR" ->P. V. Mockapetris</SPAN ->, <I -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Encoding of Network Names and Other Types</I ->, April 1989.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5228" -></A -><P ->[RFC1123] <SPAN -CLASS="AUTHOR" ->Braden</SPAN ->, <I ->Requirements for Internet Hosts - Application and Support</I ->, October 1989.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5235" -></A -><P ->[RFC1591] <SPAN -CLASS="AUTHOR" ->J. Postel</SPAN ->, <I ->Domain Name System Structure and Delegation</I ->, March 1994.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5242" -></A -><P ->[RFC2317] <SPAN -CLASS="AUTHOR" ->H. Eidnes, </SPAN -><SPAN -CLASS="AUTHOR" ->G. de Groot, </SPAN -><SPAN -CLASS="AUTHOR" ->and P. Vixie</SPAN ->, <I ->Classless IN-ADDR.ARPA Delegation</I ->, March 1998.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5256" -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Operations</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5259" -></A -><P ->[RFC1537] <SPAN -CLASS="AUTHOR" ->P. Beertema</SPAN ->, <I ->Common <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Data File Configuration Errors</I ->, October 1993.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5267" -></A -><P ->[RFC1912] <SPAN -CLASS="AUTHOR" ->D. Barr</SPAN ->, <I ->Common <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Operational and Configuration Errors</I ->, February 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5275" -></A -><P ->[RFC2010] <SPAN -CLASS="AUTHOR" ->B. Manning </SPAN -><SPAN -CLASS="AUTHOR" ->and P. Vixie</SPAN ->, <I ->Operational Criteria for Root Name Servers.</I ->, October 1996.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5286" -></A -><P ->[RFC2219] <SPAN -CLASS="AUTHOR" ->M. Hamilton </SPAN -><SPAN -CLASS="AUTHOR" ->and R. Wright</SPAN ->, <I ->Use of <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Aliases for Network Services.</I ->, October 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5298" ->Other <ACRONYM -CLASS="acronym" ->DNS</ACRONYM ->-related RFCs</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5304" -></A -><P ->[RFC1464] <SPAN -CLASS="AUTHOR" ->R. Rosenbaum</SPAN ->, <I ->Using the Domain Name System To Store Arbitrary String Attributes</I ->, May 1993.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5311" -></A -><P ->[RFC1713] <SPAN -CLASS="AUTHOR" ->A. Romao</SPAN ->, <I ->Tools for <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Debugging</I ->, November 1994.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5319" -></A -><P ->[RFC1794] <SPAN -CLASS="AUTHOR" ->T. Brisco</SPAN ->, <I -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Support for Load Balancing</I ->, April 1995.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5327" -></A -><P ->[RFC2240] <SPAN -CLASS="AUTHOR" ->O. Vaughan</SPAN ->, <I ->A Legal Basis for Domain Name Allocation</I ->, November 1997.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5334" -></A -><P ->[RFC2345] <SPAN -CLASS="AUTHOR" ->J. Klensin, </SPAN -><SPAN -CLASS="AUTHOR" ->T. Wolf, </SPAN -><SPAN -CLASS="AUTHOR" ->and G. Oglesby</SPAN ->, <I ->Domain Names and Company Name Retrieval</I ->, May 1998.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><DIV -CLASS="biblioentry" -><A -NAME="AEN5348" -></A -><P ->[RFC2352] <SPAN -CLASS="AUTHOR" ->O. Vaughan</SPAN ->, <I ->A Convention For Using Legal Names as Domain Names</I ->, May 1998.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -><H2 -CLASS="bibliodiv" -><A -NAME="AEN5355" ->Obsolete and Unimplemented Experimental RRs</A -></H2 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5357" -></A -><P ->[RFC1712] <SPAN -CLASS="AUTHOR" ->C. Farrell, </SPAN -><SPAN -CLASS="AUTHOR" ->M. Schulze, </SPAN -><SPAN -CLASS="AUTHOR" ->S. Pleitner, </SPAN -><SPAN -CLASS="AUTHOR" ->and D. Baldoni</SPAN ->, <I -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Encoding of Geographical -Location</I ->, November 1994.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="internet_drafts" ->A.3.2. Internet Drafts</A -></H2 -><P ->Internet Drafts (IDs) are rough-draft working documents of +<a href="http://www.ietf.org/rfc/" target="_top">http://www.ietf.org/rfc/</a>. +</p> +<div class="bibliography"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2568712"></a>Bibliography</h4></div></div></div> +<div class="bibliodiv"> +<h3 class="title">Standards</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC974</span>] <span class="author"><span class="firstname">C.</span> <span class="surname">Partridge</span>. </span><span class="title"><i>Mail Routing and the Domain System</i>. </span><span class="pubdate">January 1986. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1034</span>] <span class="author"><span class="firstname">P.V.</span> <span class="surname">Mockapetris</span>. </span><span class="title"><i>Domain Names — Concepts and Facilities</i>. </span><span class="pubdate">November 1987. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1035</span>] <span class="author"><span class="firstname">P. V.</span> <span class="surname">Mockapetris</span>. </span><span class="title"><i>Domain Names — Implementation and +Specification</i>. </span><span class="pubdate">November 1987. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title"> +<a name="proposed_standards"></a>Proposed Standards</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC2181</span>] <span class="author"><span class="firstname">R., R. Bush</span> <span class="surname">Elz</span>. </span><span class="title"><i>Clarifications to the <span class="acronym">DNS</span> Specification</i>. </span><span class="pubdate">July 1997. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2308</span>] <span class="author"><span class="firstname">M.</span> <span class="surname">Andrews</span>. </span><span class="title"><i>Negative Caching of <span class="acronym">DNS</span> Queries</i>. </span><span class="pubdate">March 1998. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1995</span>] <span class="author"><span class="firstname">M.</span> <span class="surname">Ohta</span>. </span><span class="title"><i>Incremental Zone Transfer in <span class="acronym">DNS</span></i>. </span><span class="pubdate">August 1996. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1996</span>] <span class="author"><span class="firstname">P.</span> <span class="surname">Vixie</span>. </span><span class="title"><i>A Mechanism for Prompt Notification of Zone Changes</i>. </span><span class="pubdate">August 1996. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2136</span>] <span class="authorgroup"><span class="firstname">P.</span> <span class="surname">Vixie</span>, <span class="firstname">S.</span> <span class="surname">Thomson</span>, <span class="firstname">Y.</span> <span class="surname">Rekhter</span>, and <span class="firstname">J.</span> <span class="surname">Bound</span>. </span><span class="title"><i>Dynamic Updates in the Domain Name System</i>. </span><span class="pubdate">April 1997. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2845</span>] <span class="authorgroup"><span class="firstname">P.</span> <span class="surname">Vixie</span>, <span class="firstname">O.</span> <span class="surname">Gudmundsson</span>, <span class="firstname">D.</span> <span class="surname">Eastlake</span>, <span class="lineage">3rd</span>, and <span class="firstname">B.</span> <span class="surname">Wellington</span>. </span><span class="title"><i>Secret Key Transaction Authentication for <span class="acronym">DNS</span> (TSIG)</i>. </span><span class="pubdate">May 2000. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title">Proposed Standards Still Under Development</h3> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p><span class="emphasis"><em>Note:</em></span> the following list of +RFCs are undergoing major revision by the IETF.</p> +</div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1886</span>] <span class="authorgroup"><span class="firstname">S.</span> <span class="surname">Thomson</span> and <span class="firstname">C.</span> <span class="surname">Huitema</span>. </span><span class="title"><i><span class="acronym">DNS</span> Extensions to support IP version 6</i>. </span><span class="pubdate">December 1995. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2065</span>] <span class="authorgroup"><span class="firstname">D.</span> <span class="surname">Eastlake</span>, <span class="lineage">3rd</span> and <span class="firstname">C.</span> <span class="surname">Kaufman</span>. </span><span class="title"><i>Domain Name System Security Extensions</i>. </span><span class="pubdate">January 1997. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2137</span>] <span class="author"><span class="firstname">D.</span> <span class="surname">Eastlake</span>, <span class="lineage">3rd</span>. </span><span class="title"><i>Secure Domain Name System Dynamic Update</i>. </span><span class="pubdate">April 1997. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title">Other Important RFCs About <span class="acronym">DNS</span> Implementation</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC1535</span>] <span class="author"><span class="firstname">E.</span> <span class="surname">Gavron</span>. </span><span class="title"><i>A Security Problem and Proposed Correction With Widely Deployed <span class="acronym">DNS</span> Software.</i>. </span><span class="pubdate">October 1993. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1536</span>] <span class="authorgroup"><span class="firstname">A.</span> <span class="surname">Kumar</span>, <span class="firstname">J.</span> <span class="surname">Postel</span>, <span class="firstname">C.</span> <span class="surname">Neuman</span>, <span class="firstname">P.</span> <span class="surname">Danzig</span>, and <span class="firstname">S.</span> <span class="surname">Miller</span>. </span><span class="title"><i>Common <span class="acronym">DNS</span> Implementation Errors and Suggested Fixes</i>. </span><span class="pubdate">October 1993. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1982</span>] <span class="authorgroup"><span class="firstname">R.</span> <span class="surname">Elz</span> and <span class="firstname">R.</span> <span class="surname">Bush</span>. </span><span class="title"><i>Serial Number Arithmetic</i>. </span><span class="pubdate">August 1996. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title">Resource Record Types</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC1183</span>] <span class="authorgroup"><span class="firstname">C.F.</span> <span class="surname">Everhart</span>, <span class="firstname">L. A.</span> <span class="surname">Mamakos</span>, <span class="firstname">R.</span> <span class="surname">Ullmann</span>, and <span class="firstname">P.</span> <span class="surname">Mockapetris</span>. </span><span class="title"><i>New <span class="acronym">DNS</span> RR Definitions</i>. </span><span class="pubdate">October 1990. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1706</span>] <span class="authorgroup"><span class="firstname">B.</span> <span class="surname">Manning</span> and <span class="firstname">R.</span> <span class="surname">Colella</span>. </span><span class="title"><i><span class="acronym">DNS</span> NSAP Resource Records</i>. </span><span class="pubdate">October 1994. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2168</span>] <span class="authorgroup"><span class="firstname">R.</span> <span class="surname">Daniel</span> and <span class="firstname">M.</span> <span class="surname">Mealling</span>. </span><span class="title"><i>Resolution of Uniform Resource Identifiers using +the Domain Name System</i>. </span><span class="pubdate">June 1997. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1876</span>] <span class="authorgroup"><span class="firstname">C.</span> <span class="surname">Davis</span>, <span class="firstname">P.</span> <span class="surname">Vixie</span>, <span class="firstname">T.</span>, and <span class="firstname">I.</span> <span class="surname">Dickinson</span>. </span><span class="title"><i>A Means for Expressing Location Information in the Domain +Name System</i>. </span><span class="pubdate">January 1996. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2052</span>] <span class="authorgroup"><span class="firstname">A.</span> <span class="surname">Gulbrandsen</span> and <span class="firstname">P.</span> <span class="surname">Vixie</span>. </span><span class="title"><i>A <span class="acronym">DNS</span> RR for Specifying the Location of +Services.</i>. </span><span class="pubdate">October 1996. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2163</span>] <span class="author"><span class="firstname">A.</span> <span class="surname">Allocchio</span>. </span><span class="title"><i>Using the Internet <span class="acronym">DNS</span> to Distribute MIXER +Conformant Global Address Mapping</i>. </span><span class="pubdate">January 1998. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2230</span>] <span class="author"><span class="firstname">R.</span> <span class="surname">Atkinson</span>. </span><span class="title"><i>Key Exchange Delegation Record for the <span class="acronym">DNS</span></i>. </span><span class="pubdate">October 1997. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title"> +<span class="acronym">DNS</span> and the Internet</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC1101</span>] <span class="author"><span class="firstname">P. V.</span> <span class="surname">Mockapetris</span>. </span><span class="title"><i><span class="acronym">DNS</span> Encoding of Network Names and Other Types</i>. </span><span class="pubdate">April 1989. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1123</span>] <span class="author"><span class="surname">Braden</span>. </span><span class="title"><i>Requirements for Internet Hosts - Application and Support</i>. </span><span class="pubdate">October 1989. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1591</span>] <span class="author"><span class="firstname">J.</span> <span class="surname">Postel</span>. </span><span class="title"><i>Domain Name System Structure and Delegation</i>. </span><span class="pubdate">March 1994. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2317</span>] <span class="authorgroup"><span class="firstname">H.</span> <span class="surname">Eidnes</span>, <span class="firstname">G.</span> <span class="surname">de Groot</span>, and <span class="firstname">P.</span> <span class="surname">Vixie</span>. </span><span class="title"><i>Classless IN-ADDR.ARPA Delegation</i>. </span><span class="pubdate">March 1998. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title"> +<span class="acronym">DNS</span> Operations</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC1537</span>] <span class="author"><span class="firstname">P.</span> <span class="surname">Beertema</span>. </span><span class="title"><i>Common <span class="acronym">DNS</span> Data File Configuration Errors</i>. </span><span class="pubdate">October 1993. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1912</span>] <span class="author"><span class="firstname">D.</span> <span class="surname">Barr</span>. </span><span class="title"><i>Common <span class="acronym">DNS</span> Operational and Configuration Errors</i>. </span><span class="pubdate">February 1996. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2010</span>] <span class="authorgroup"><span class="firstname">B.</span> <span class="surname">Manning</span> and <span class="firstname">P.</span> <span class="surname">Vixie</span>. </span><span class="title"><i>Operational Criteria for Root Name Servers.</i>. </span><span class="pubdate">October 1996. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2219</span>] <span class="authorgroup"><span class="firstname">M.</span> <span class="surname">Hamilton</span> and <span class="firstname">R.</span> <span class="surname">Wright</span>. </span><span class="title"><i>Use of <span class="acronym">DNS</span> Aliases for Network Services.</i>. </span><span class="pubdate">October 1997. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title">Other <span class="acronym">DNS</span>-related RFCs</h3> +<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"> +<h3 class="title">Note</h3> +<p>Note: the following list of RFCs, although +<span class="acronym">DNS</span>-related, are not concerned with implementing software.</p> +</div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1464</span>] <span class="author"><span class="firstname">R.</span> <span class="surname">Rosenbaum</span>. </span><span class="title"><i>Using the Domain Name System To Store Arbitrary String Attributes</i>. </span><span class="pubdate">May 1993. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1713</span>] <span class="author"><span class="firstname">A.</span> <span class="surname">Romao</span>. </span><span class="title"><i>Tools for <span class="acronym">DNS</span> Debugging</i>. </span><span class="pubdate">November 1994. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC1794</span>] <span class="author"><span class="firstname">T.</span> <span class="surname">Brisco</span>. </span><span class="title"><i><span class="acronym">DNS</span> Support for Load Balancing</i>. </span><span class="pubdate">April 1995. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2240</span>] <span class="author"><span class="firstname">O.</span> <span class="surname">Vaughan</span>. </span><span class="title"><i>A Legal Basis for Domain Name Allocation</i>. </span><span class="pubdate">November 1997. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2345</span>] <span class="authorgroup"><span class="firstname">J.</span> <span class="surname">Klensin</span>, <span class="firstname">T.</span> <span class="surname">Wolf</span>, and <span class="firstname">G.</span> <span class="surname">Oglesby</span>. </span><span class="title"><i>Domain Names and Company Name Retrieval</i>. </span><span class="pubdate">May 1998. </span></p></div> +<div class="biblioentry"><p>[<span class="abbrev">RFC2352</span>] <span class="author"><span class="firstname">O.</span> <span class="surname">Vaughan</span>. </span><span class="title"><i>A Convention For Using Legal Names as Domain Names</i>. </span><span class="pubdate">May 1998. </span></p></div> +</div> +<div class="bibliodiv"> +<h3 class="title">Obsolete and Unimplemented Experimental RRs</h3> +<div class="biblioentry"><p>[<span class="abbrev">RFC1712</span>] <span class="authorgroup"><span class="firstname">C.</span> <span class="surname">Farrell</span>, <span class="firstname">M.</span> <span class="surname">Schulze</span>, <span class="firstname">S.</span> <span class="surname">Pleitner</span>, and <span class="firstname">D.</span> <span class="surname">Baldoni</span>. </span><span class="title"><i><span class="acronym">DNS</span> Encoding of Geographical +Location</i>. </span><span class="pubdate">November 1994. </span></p></div> +</div> +</div> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="internet_drafts"></a>Internet Drafts</h3></div></div></div> +<p>Internet Drafts (IDs) are rough-draft working documents of the Internet Engineering Task Force. They are, in essence, RFCs in the preliminary stages of development. Implementors are cautioned not to regard IDs as archival, and they should not be quoted or cited in any formal documents unless accompanied by the disclaimer that they are "works in progress." IDs have a lifespan of six months after which they are deleted unless updated by their authors. -</P -></DIV -><DIV -CLASS="sect2" -><H2 -CLASS="sect2" -><A -NAME="AEN5378" ->A.3.3. Other Documents About <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -></A -></H2 -><P -></P -><H3 -><A -NAME="AEN5382" ->Bibliography</A -></H3 -><DIV -CLASS="biblioentry" -><A -NAME="AEN5383" -></A -><P -><SPAN -CLASS="AUTHOR" ->Paul Albitz </SPAN -><SPAN -CLASS="AUTHOR" ->and Cricket Liu</SPAN ->, <I -><ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> and <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -></I ->, 1998.</P -><DIV -CLASS="BIBLIOENTRYBLOCK" -STYLE="margin-left: 0.5in" -></DIV -></DIV -></DIV -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch08.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -> </TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Troubleshooting</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -> </TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +</p> +</div> +<div class="sect2" lang="en"> +<div class="titlepage"><div><div><h3 class="title"> +<a name="id2570087"></a>Other Documents About <span class="acronym">BIND</span></h3></div></div></div> +<p></p> +<div class="bibliography"> +<div class="titlepage"><div><div><h4 class="title"> +<a name="id2570097"></a>Bibliography</h4></div></div></div> +<div class="biblioentry"><p><span class="authorgroup"><span class="firstname">Paul</span> <span class="surname">Albitz</span> and <span class="firstname">Cricket</span> <span class="surname">Liu</span>. </span><span class="title"><i><span class="acronym">DNS</span> and <span class="acronym">BIND</span></i>. </span><span class="copyright">Copyright © 1998 Sebastopol, CA: O'Reilly and Associates. </span></p></div> +</div> +</div> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch08.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> </td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 8. Troubleshooting </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> </td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/Bv9ARM.html b/usr.sbin/bind/doc/arm/Bv9ARM.html index 21d46214cc8..79c562ad8af 100644 --- a/usr.sbin/bind/doc/arm/Bv9ARM.html +++ b/usr.sbin/bind/doc/arm/Bv9ARM.html @@ -1,851 +1,222 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->BIND 9 Administrator Reference Manual</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="NEXT" -TITLE="Introduction " -HREF="Bv9ARM.ch01.html"></HEAD -><BODY -CLASS="book" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="BOOK" -><A -NAME="AEN1" -></A -><DIV -CLASS="TITLEPAGE" -><H1 -CLASS="title" -><A -NAME="AEN1" ->BIND 9 Administrator Reference Manual</A -></H1 -><P -CLASS="copyright" ->Copyright © 2004 Internet Systems Consortium, Inc. ("ISC")</P -><P -CLASS="copyright" ->Copyright © 2000-2003 Internet Software Consortium</P -><HR></DIV -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->1. <A -HREF="Bv9ARM.ch01.html" ->Introduction</A -></DT -><DD -><DL -><DT ->1.1. <A -HREF="Bv9ARM.ch01.html#AEN15" ->Scope of Document</A -></DT -><DT ->1.2. <A -HREF="Bv9ARM.ch01.html#AEN22" ->Organization of This Document</A -></DT -><DT ->1.3. <A -HREF="Bv9ARM.ch01.html#AEN42" ->Conventions Used in This Document</A -></DT -><DT ->1.4. <A -HREF="Bv9ARM.ch01.html#AEN107" ->The Domain Name System (<ACRONYM -CLASS="acronym" ->DNS</ACRONYM ->)</A -></DT -><DD -><DL -><DT ->1.4.1. <A -HREF="Bv9ARM.ch01.html#AEN114" ->DNS Fundamentals</A -></DT -><DT ->1.4.2. <A -HREF="Bv9ARM.ch01.html#AEN124" ->Domains and Domain Names</A -></DT -><DT ->1.4.3. <A -HREF="Bv9ARM.ch01.html#AEN148" ->Zones</A -></DT -><DT ->1.4.4. <A -HREF="Bv9ARM.ch01.html#AEN171" ->Authoritative Name Servers</A -></DT -><DT ->1.4.5. <A -HREF="Bv9ARM.ch01.html#AEN200" ->Caching Name Servers</A -></DT -><DT ->1.4.6. <A -HREF="Bv9ARM.ch01.html#AEN218" ->Name Servers in Multiple Roles</A -></DT -></DL -></DD -></DL -></DD -><DT ->2. <A -HREF="Bv9ARM.ch02.html" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> Resource Requirements</A -></DT -><DD -><DL -><DT ->2.1. <A -HREF="Bv9ARM.ch02.html#AEN228" ->Hardware requirements</A -></DT -><DT ->2.2. <A -HREF="Bv9ARM.ch02.html#AEN236" ->CPU Requirements</A -></DT -><DT ->2.3. <A -HREF="Bv9ARM.ch02.html#AEN240" ->Memory Requirements</A -></DT -><DT ->2.4. <A -HREF="Bv9ARM.ch02.html#AEN245" ->Name Server Intensive Environment Issues</A -></DT -><DT ->2.5. <A -HREF="Bv9ARM.ch02.html#AEN248" ->Supported Operating Systems</A -></DT -></DL -></DD -><DT ->3. <A -HREF="Bv9ARM.ch03.html" ->Name Server Configuration</A -></DT -><DD -><DL -><DT ->3.1. <A -HREF="Bv9ARM.ch03.html#sample_configuration" ->Sample Configurations</A -></DT -><DD -><DL -><DT ->3.1.1. <A -HREF="Bv9ARM.ch03.html#AEN257" ->A Caching-only Name Server</A -></DT -><DT ->3.1.2. <A -HREF="Bv9ARM.ch03.html#AEN262" ->An Authoritative-only Name Server</A -></DT -></DL -></DD -><DT ->3.2. <A -HREF="Bv9ARM.ch03.html#AEN268" ->Load Balancing</A -></DT -><DT ->3.3. <A -HREF="Bv9ARM.ch03.html#AEN345" ->Name Server Operations</A -></DT -><DD -><DL -><DT ->3.3.1. <A -HREF="Bv9ARM.ch03.html#AEN347" ->Tools for Use With the Name Server Daemon</A -></DT -><DT ->3.3.2. <A -HREF="Bv9ARM.ch03.html#AEN689" ->Signals</A -></DT -></DL -></DD -></DL -></DD -><DT ->4. <A -HREF="Bv9ARM.ch04.html" ->Advanced DNS Features</A -></DT -><DD -><DL -><DT ->4.1. <A -HREF="Bv9ARM.ch04.html#notify" ->Notify</A -></DT -><DT ->4.2. <A -HREF="Bv9ARM.ch04.html#dynamic_update" ->Dynamic Update</A -></DT -><DD -><DL -><DT ->4.2.1. <A -HREF="Bv9ARM.ch04.html#journal" ->The journal file</A -></DT -></DL -></DD -><DT ->4.3. <A -HREF="Bv9ARM.ch04.html#incremental_zone_transfers" ->Incremental Zone Transfers (IXFR)</A -></DT -><DT ->4.4. <A -HREF="Bv9ARM.ch04.html#AEN767" ->Split DNS</A -></DT -><DT ->4.5. <A -HREF="Bv9ARM.ch04.html#tsig" ->TSIG</A -></DT -><DD -><DL -><DT ->4.5.1. <A -HREF="Bv9ARM.ch04.html#AEN858" ->Generate Shared Keys for Each Pair of Hosts</A -></DT -><DT ->4.5.2. <A -HREF="Bv9ARM.ch04.html#AEN879" ->Copying the Shared Secret to Both Machines</A -></DT -><DT ->4.5.3. <A -HREF="Bv9ARM.ch04.html#AEN882" ->Informing the Servers of the Key's Existence</A -></DT -><DT ->4.5.4. <A -HREF="Bv9ARM.ch04.html#AEN894" ->Instructing the Server to Use the Key</A -></DT -><DT ->4.5.5. <A -HREF="Bv9ARM.ch04.html#AEN910" ->TSIG Key Based Access Control</A -></DT -><DT ->4.5.6. <A -HREF="Bv9ARM.ch04.html#AEN923" ->Errors</A -></DT -></DL -></DD -><DT ->4.6. <A -HREF="Bv9ARM.ch04.html#AEN927" ->TKEY</A -></DT -><DT ->4.7. <A -HREF="Bv9ARM.ch04.html#AEN942" ->SIG(0)</A -></DT -><DT ->4.8. <A -HREF="Bv9ARM.ch04.html#DNSSEC" ->DNSSEC</A -></DT -><DD -><DL -><DT ->4.8.1. <A -HREF="Bv9ARM.ch04.html#AEN962" ->Generating Keys</A -></DT -><DT ->4.8.2. <A -HREF="Bv9ARM.ch04.html#AEN982" ->Signing the Zone</A -></DT -><DT ->4.8.3. <A -HREF="Bv9ARM.ch04.html#AEN1004" ->Configuring Servers</A -></DT -></DL -></DD -><DT ->4.9. <A -HREF="Bv9ARM.ch04.html#AEN1011" ->IPv6 Support in <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9</A -></DT -><DD -><DL -><DT ->4.9.1. <A -HREF="Bv9ARM.ch04.html#AEN1029" ->Address Lookups Using AAAA Records</A -></DT -><DT ->4.9.2. <A -HREF="Bv9ARM.ch04.html#AEN1035" ->Address to Name Lookups Using Nibble Format</A -></DT -></DL -></DD -></DL -></DD -><DT ->5. <A -HREF="Bv9ARM.ch05.html" ->The <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Lightweight Resolver</A -></DT -><DD -><DL -><DT ->5.1. <A -HREF="Bv9ARM.ch05.html#AEN1044" ->The Lightweight Resolver Library</A -></DT -><DT ->5.2. <A -HREF="Bv9ARM.ch05.html#lwresd" ->Running a Resolver Daemon</A -></DT -></DL -></DD -><DT ->6. <A -HREF="Bv9ARM.ch06.html" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Configuration Reference</A -></DT -><DD -><DL -><DT ->6.1. <A -HREF="Bv9ARM.ch06.html#configuration_file_elements" ->Configuration File Elements</A -></DT -><DD -><DL -><DT ->6.1.1. <A -HREF="Bv9ARM.ch06.html#address_match_lists" ->Address Match Lists</A -></DT -><DT ->6.1.2. <A -HREF="Bv9ARM.ch06.html#AEN1290" ->Comment Syntax</A -></DT -></DL -></DD -><DT ->6.2. <A -HREF="Bv9ARM.ch06.html#Configuration_File_Grammar" ->Configuration File Grammar</A -></DT -><DD -><DL -><DT ->6.2.1. <A -HREF="Bv9ARM.ch06.html#AEN1411" -><B -CLASS="command" ->acl</B -> Statement Grammar</A -></DT -><DT ->6.2.2. <A -HREF="Bv9ARM.ch06.html#acl" -><B -CLASS="command" ->acl</B -> Statement Definition and -Usage</A -></DT -><DT ->6.2.3. <A -HREF="Bv9ARM.ch06.html#AEN1455" -><B -CLASS="command" ->controls</B -> Statement Grammar</A -></DT -><DT ->6.2.4. <A -HREF="Bv9ARM.ch06.html#controls_statement_definition_and_usage" -><B -CLASS="command" ->controls</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.5. <A -HREF="Bv9ARM.ch06.html#AEN1534" -><B -CLASS="command" ->include</B -> Statement Grammar</A -></DT -><DT ->6.2.6. <A -HREF="Bv9ARM.ch06.html#AEN1539" -><B -CLASS="command" ->include</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.7. <A -HREF="Bv9ARM.ch06.html#AEN1546" -><B -CLASS="command" ->key</B -> Statement Grammar</A -></DT -><DT ->6.2.8. <A -HREF="Bv9ARM.ch06.html#AEN1553" -><B -CLASS="command" ->key</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.9. <A -HREF="Bv9ARM.ch06.html#AEN1573" -><B -CLASS="command" ->logging</B -> Statement Grammar</A -></DT -><DT ->6.2.10. <A -HREF="Bv9ARM.ch06.html#AEN1613" -><B -CLASS="command" ->logging</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.11. <A -HREF="Bv9ARM.ch06.html#AEN1883" -><B -CLASS="command" ->lwres</B -> Statement Grammar</A -></DT -><DT ->6.2.12. <A -HREF="Bv9ARM.ch06.html#AEN1907" -><B -CLASS="command" ->lwres</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.13. <A -HREF="Bv9ARM.ch06.html#AEN1926" -><B -CLASS="command" ->masters</B -> Statement Grammar</A -></DT -><DT ->6.2.14. <A -HREF="Bv9ARM.ch06.html#AEN1941" -><B -CLASS="command" ->masters</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.15. <A -HREF="Bv9ARM.ch06.html#AEN1946" -><B -CLASS="command" ->options</B -> Statement Grammar</A -></DT -><DT ->6.2.16. <A -HREF="Bv9ARM.ch06.html#options" -><B -CLASS="command" ->options</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.17. <A -HREF="Bv9ARM.ch06.html#server_statement_grammar" -><B -CLASS="command" ->server</B -> Statement Grammar</A -></DT -><DT ->6.2.18. <A -HREF="Bv9ARM.ch06.html#server_statement_definition_and_usage" -><B -CLASS="command" ->server</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.19. <A -HREF="Bv9ARM.ch06.html#AEN3433" -><B -CLASS="command" ->trusted-keys</B -> Statement Grammar</A -></DT -><DT ->6.2.20. <A -HREF="Bv9ARM.ch06.html#AEN3449" -><B -CLASS="command" ->trusted-keys</B -> Statement Definition -and Usage</A -></DT -><DT ->6.2.21. <A -HREF="Bv9ARM.ch06.html#view_statement_grammar" -><B -CLASS="command" ->view</B -> Statement Grammar</A -></DT -><DT ->6.2.22. <A -HREF="Bv9ARM.ch06.html#AEN3471" -><B -CLASS="command" ->view</B -> Statement Definition and Usage</A -></DT -><DT ->6.2.23. <A -HREF="Bv9ARM.ch06.html#zone_statement_grammar" -><B -CLASS="command" ->zone</B -> -Statement Grammar</A -></DT -><DT ->6.2.24. <A -HREF="Bv9ARM.ch06.html#AEN3645" -><B -CLASS="command" ->zone</B -> Statement Definition and Usage</A -></DT -></DL -></DD -><DT ->6.3. <A -HREF="Bv9ARM.ch06.html#AEN4050" ->Zone File</A -></DT -><DD -><DL -><DT ->6.3.1. <A -HREF="Bv9ARM.ch06.html#types_of_resource_records_and_when_to_use_them" ->Types of Resource Records and When to Use Them</A -></DT -><DT ->6.3.2. <A -HREF="Bv9ARM.ch06.html#AEN4370" ->Discussion of MX Records</A -></DT -><DT ->6.3.3. <A -HREF="Bv9ARM.ch06.html#Setting_TTLs" ->Setting TTLs</A -></DT -><DT ->6.3.4. <A -HREF="Bv9ARM.ch06.html#AEN4491" ->Inverse Mapping in IPv4</A -></DT -><DT ->6.3.5. <A -HREF="Bv9ARM.ch06.html#AEN4518" ->Other Zone File Directives</A -></DT -><DT ->6.3.6. <A -HREF="Bv9ARM.ch06.html#AEN4576" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> Master File Extension: the <B -CLASS="command" ->$GENERATE</B -> Directive</A -></DT -></DL -></DD -></DL -></DD -><DT ->7. <A -HREF="Bv9ARM.ch07.html" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Security Considerations</A -></DT -><DD -><DL -><DT ->7.1. <A -HREF="Bv9ARM.ch07.html#Access_Control_Lists" ->Access Control Lists</A -></DT -><DT ->7.2. <A -HREF="Bv9ARM.ch07.html#AEN4693" -><B -CLASS="command" ->chroot</B -> and <B -CLASS="command" ->setuid</B -> (for -UNIX servers)</A -></DT -><DD -><DL -><DT ->7.2.1. <A -HREF="Bv9ARM.ch07.html#AEN4716" ->The <B -CLASS="command" ->chroot</B -> Environment</A -></DT -><DT ->7.2.2. <A -HREF="Bv9ARM.ch07.html#AEN4734" ->Using the <B -CLASS="command" ->setuid</B -> Function</A -></DT -></DL -></DD -><DT ->7.3. <A -HREF="Bv9ARM.ch07.html#dynamic_update_security" ->Dynamic Update Security</A -></DT -></DL -></DD -><DT ->8. <A -HREF="Bv9ARM.ch08.html" ->Troubleshooting</A -></DT -><DD -><DL -><DT ->8.1. <A -HREF="Bv9ARM.ch08.html#AEN4755" ->Common Problems</A -></DT -><DD -><DL -><DT ->8.1.1. <A -HREF="Bv9ARM.ch08.html#AEN4757" ->It's not working; how can I figure out what's wrong?</A -></DT -></DL -></DD -><DT ->8.2. <A -HREF="Bv9ARM.ch08.html#AEN4760" ->Incrementing and Changing the Serial Number</A -></DT -><DT ->8.3. <A -HREF="Bv9ARM.ch08.html#AEN4765" ->Where Can I Get Help?</A -></DT -></DL -></DD -><DT ->A. <A -HREF="Bv9ARM.ch09.html" ->Appendices</A -></DT -><DD -><DL -><DT ->A.1. <A -HREF="Bv9ARM.ch09.html#AEN4781" ->Acknowledgments</A -></DT -><DD -><DL -><DT ->A.1.1. <A -HREF="Bv9ARM.ch09.html#AEN4783" ->A Brief History of the <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> and <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -></A -></DT -></DL -></DD -><DT ->A.2. <A -HREF="Bv9ARM.ch09.html#historical_dns_information" ->General <ACRONYM -CLASS="acronym" ->DNS</ACRONYM -> Reference Information</A -></DT -><DD -><DL -><DT ->A.2.1. <A -HREF="Bv9ARM.ch09.html#ipv6addresses" ->IPv6 addresses (AAAA)</A -></DT -></DL -></DD -><DT ->A.3. <A -HREF="Bv9ARM.ch09.html#bibliography" ->Bibliography (and Suggested Reading)</A -></DT -><DD -><DL -><DT ->A.3.1. <A -HREF="Bv9ARM.ch09.html#rfcs" ->Request for Comments (RFCs)</A -></DT -><DT ->A.3.2. <A -HREF="Bv9ARM.ch09.html#internet_drafts" ->Internet Drafts</A -></DT -><DT ->A.3.3. <A -HREF="Bv9ARM.ch09.html#AEN5378" ->Other Documents About <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -></A -></DT -></DL -></DD -></DL -></DD -></DL -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -> </TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch01.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -> </TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" ->Introduction</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $ISC: Bv9ARM.html,v 1.60.2.9.2.26 2005/10/13 02:33:59 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>BIND 9 Administrator Reference Manual</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="next" href="Bv9ARM.ch01.html" title="Chapter 1. Introduction "> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">BIND 9 Administrator Reference Manual</th></tr> +<tr> +<td width="20%" align="left"> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch01.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="book" lang="en"> +<div class="titlepage"> +<div> +<div><h1 class="title"> +<a name="id2463864"></a>BIND 9 Administrator Reference Manual</h1></div> +<div><p class="copyright">Copyright © 2004, 2005 Internet Systems Consortium, Inc. ("ISC")</p></div> +<div><p class="copyright">Copyright © 2000-2003 Internet Software Consortium.</p></div> +</div> +<hr> +</div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="chapter"><a href="Bv9ARM.ch01.html">1. Introduction </a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch01.html#id2545879">Scope of Document</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch01.html#id2545905">Organization of This Document</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch01.html#id2545976">Conventions Used in This Document</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch01.html#id2546234">The Domain Name System (<span class="acronym">DNS</span>)</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch01.html#id2546254">DNS Fundamentals</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch01.html#id2544105">Domains and Domain Names</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch01.html#id2546579">Zones</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch01.html#id2546653">Authoritative Name Servers</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch01.html#id2546950">Caching Name Servers</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch01.html#id2547076">Name Servers in Multiple Roles</a></span></dt> +</dl></dd> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch02.html">2. <span class="acronym">BIND</span> Resource Requirements</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch02.html#id2547108">Hardware requirements</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch02.html#id2547132">CPU Requirements</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch02.html#id2547143">Memory Requirements</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch02.html#id2547158">Name Server Intensive Environment Issues</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch02.html#id2547303">Supported Operating Systems</a></span></dt> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch03.html">3. Name Server Configuration</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch03.html#sample_configuration">Sample Configurations</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2547334">A Caching-only Name Server</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2547350">An Authoritative-only Name Server</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch03.html#id2547372">Load Balancing</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch03.html#id2547656">Name Server Operations</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2547661">Tools for Use With the Name Server Daemon</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch03.html#id2548915">Signals</a></span></dt> +</dl></dd> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch04.html">4. Advanced DNS Features</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#notify">Notify</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#dynamic_update">Dynamic Update</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch04.html#journal">The journal file</a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#incremental_zone_transfers">Incremental Zone Transfers (IXFR)</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2549203">Split DNS</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#tsig">TSIG</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549627">Generate Shared Keys for Each Pair of Hosts</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549830">Copying the Shared Secret to Both Machines</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549838">Informing the Servers of the Key's Existence</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549878">Instructing the Server to Use the Key</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2549998">TSIG Key Based Access Control</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550042">Errors</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2550056">TKEY</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2550173">SIG(0)</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#DNSSEC">DNSSEC</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550308">Generating Keys</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550375">Signing the Zone</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550450">Configuring Servers</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch04.html#id2550473">IPv6 Support in <span class="acronym">BIND</span> 9</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550600">Address Lookups Using AAAA Records</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch04.html#id2550620">Address to Name Lookups Using Nibble Format</a></span></dt> +</dl></dd> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch05.html">5. The <span class="acronym">BIND</span> 9 Lightweight Resolver</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch05.html#id2550652">The Lightweight Resolver Library</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch05.html#lwresd">Running a Resolver Daemon</a></span></dt> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch06.html">6. <span class="acronym">BIND</span> 9 Configuration Reference</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch06.html#configuration_file_elements">Configuration File Elements</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#address_match_lists">Address Match Lists</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2551817">Comment Syntax</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch06.html#Configuration_File_Grammar">Configuration File Grammar</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552302"><span><strong class="command">acl</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#acl"><span><strong class="command">acl</strong></span> Statement Definition and +Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552471"><span><strong class="command">controls</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage"><span><strong class="command">controls</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552808"><span><strong class="command">include</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552823"><span><strong class="command">include</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552845"><span><strong class="command">key</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2552867"><span><strong class="command">key</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2553006"><span><strong class="command">logging</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2553269"><span><strong class="command">logging</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554474"><span><strong class="command">lwres</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554547"><span><strong class="command">lwres</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554610"><span><strong class="command">masters</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554653"><span><strong class="command">masters</strong></span> Statement Definition and Usage </a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2554668"><span><strong class="command">options</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#options"><span><strong class="command">options</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#server_statement_grammar"><span><strong class="command">server</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#server_statement_definition_and_usage"><span><strong class="command">server</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2562233"><span><strong class="command">trusted-keys</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2562281"><span><strong class="command">trusted-keys</strong></span> Statement Definition +and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#view_statement_grammar"><span><strong class="command">view</strong></span> Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2562349"><span><strong class="command">view</strong></span> Statement Definition and Usage</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#zone_statement_grammar"><span><strong class="command">zone</strong></span> +Statement Grammar</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2563022"><span><strong class="command">zone</strong></span> Statement Definition and Usage</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch06.html#id2564557">Zone File</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#types_of_resource_records_and_when_to_use_them">Types of Resource Records and When to Use Them</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2565990">Discussion of MX Records</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#Setting_TTLs">Setting TTLs</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2566487">Inverse Mapping in IPv4</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2566593">Other Zone File Directives</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2566761"><span class="acronym">BIND</span> Master File Extension: the <span><strong class="command">$GENERATE</strong></span> Directive</a></span></dt> +</dl></dd> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch07.html">7. <span class="acronym">BIND</span> 9 Security Considerations</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch07.html#Access_Control_Lists">Access Control Lists</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch07.html#id2567222"><span><strong class="command">chroot</strong></span> and <span><strong class="command">setuid</strong></span> (for +UNIX servers)</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch07.html#id2567366">The <span><strong class="command">chroot</strong></span> Environment</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch07.html#id2567424">Using the <span><strong class="command">setuid</strong></span> Function</a></span></dt> +</dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch07.html#dynamic_update_security">Dynamic Update Security</a></span></dt> +</dl></dd> +<dt><span class="chapter"><a href="Bv9ARM.ch08.html">8. Troubleshooting</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch08.html#id2567630">Common Problems</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch08.html#id2567636">It's not working; how can I figure out what's wrong?</a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch08.html#id2567648">Incrementing and Changing the Serial Number</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch08.html#id2567665">Where Can I Get Help?</a></span></dt> +</dl></dd> +<dt><span class="appendix"><a href="Bv9ARM.ch09.html">A. Appendices</a></span></dt> +<dd><dl> +<dt><span class="sect1"><a href="Bv9ARM.ch09.html#id2567795">Acknowledgments</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch09.html#id2567800">A Brief History of the <span class="acronym">DNS</span> and <span class="acronym">BIND</span></a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch09.html#historical_dns_information">General <span class="acronym">DNS</span> Reference Information</a></span></dt> +<dd><dl><dt><span class="sect2"><a href="Bv9ARM.ch09.html#ipv6addresses">IPv6 addresses (AAAA)</a></span></dt></dl></dd> +<dt><span class="sect1"><a href="Bv9ARM.ch09.html#bibliography">Bibliography (and Suggested Reading)</a></span></dt> +<dd><dl> +<dt><span class="sect2"><a href="Bv9ARM.ch09.html#rfcs">Request for Comments (RFCs)</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch09.html#internet_drafts">Internet Drafts</a></span></dt> +<dt><span class="sect2"><a href="Bv9ARM.ch09.html#id2570087">Other Documents About <span class="acronym">BIND</span></a></span></dt> +</dl></dd> +</dl></dd> +</dl> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch01.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top"> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right" valign="top"> Chapter 1. Introduction </td> +</tr> +</table> +</div> +</body> +</html> diff --git a/usr.sbin/bind/doc/arm/isc.color.gif b/usr.sbin/bind/doc/arm/isc.color.gif Binary files differdeleted file mode 100644 index 09c327cca65..00000000000 --- a/usr.sbin/bind/doc/arm/isc.color.gif +++ /dev/null diff --git a/usr.sbin/bind/doc/arm/nominum-docbook-html.dsl.in b/usr.sbin/bind/doc/arm/nominum-docbook-html.dsl.in deleted file mode 100644 index 33fc938777a..00000000000 --- a/usr.sbin/bind/doc/arm/nominum-docbook-html.dsl.in +++ /dev/null @@ -1,148 +0,0 @@ -<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ -<!ENTITY dbstyle SYSTEM "@HTMLSTYLE@" CDATA DSSSL> -]> - -<style-sheet> -<style-specification use="docbook"> -<style-specification-body> - -<!-- ;; your stuff goes here... --> - -(define %html-prefix% - ;; Add the specified prefix to HTML output filenames - "Bv9ARM.") - -(define %use-id-as-filename% - ;; Use ID attributes as name for component HTML files? - #t) - -(define %root-filename% - ;; Name for the root HTML document - "Bv9ARM") - -(define %section-autolabel% - ;; REFENTRY section-autolabel - ;; PURP Are sections enumerated? - ;; DESC - ;; If true, unlabeled sections will be enumerated. - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - #t) - -(define %html-ext% - ;; REFENTRY html-ext - ;; PURP Default extension for HTML output files - ;; DESC - ;; The default extension for HTML output files. - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - ".html") - -(define nochunks - ;; REFENTRY nochunks - ;; PURP Suppress chunking of output pages - ;; DESC - ;; If true, the entire source document is formatted as a single HTML - ;; document and output on stdout. - ;; (This option can conveniently be set with '-V nochunks' on the - ;; Jade command line). - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - #f) - -(define rootchunk - ;; REFENTRY rootchunk - ;; PURP Make a chunk for the root element when nochunks is used - ;; DESC - ;; If true, a chunk will be created for the root element, even though - ;; nochunks is specified. This option has no effect if nochunks is not - ;; true. - ;; (This option can conveniently be set with '-V rootchunk' on the - ;; Jade command line). - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - #t) - -(define html-index - ;; REFENTRY html-index - ;; PURP HTML indexing? - ;; DESC - ;; Turns on HTML indexing. If true, then index data will be written - ;; to the file defined by 'html-index-filename'. This data can be - ;; collated and turned into a DocBook index with bin/collateindex.pl. - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - #t) - -(define html-manifest - ;; REFENTRY html-manifest - ;; PURP Write a manifest? - ;; DESC - ;; If not '#f' then the list of HTML files created by the stylesheet - ;; will be written to the file named by 'html-manifest-filename'. - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - #t) - -(define (chunk-element-list) - (list (normalize "preface") - (normalize "chapter") - (normalize "appendix") - (normalize "article") - (normalize "glossary") - (normalize "bibliography") - (normalize "index") - (normalize "colophon") - (normalize "setindex") - (normalize "reference") - (normalize "refentry") - (normalize "part") - (normalize "book") ;; just in case nothing else matches... - (normalize "set") ;; sets are definitely chunks... - )) - -; -; Add some cell padding to tables so that they don't look so cramped -; in Netscape. -; -; The following definition was cut-and-pasted from dbtable.dsl and the -; single line containing the word CELLPADDING was added. -; -(element tgroup - (let* ((wrapper (parent (current-node))) - (frameattr (attribute-string (normalize "frame") wrapper)) - (pgwide (attribute-string (normalize "pgwide") wrapper)) - (footnotes (select-elements (descendants (current-node)) - (normalize "footnote"))) - (border (if (equal? frameattr (normalize "none")) - '(("BORDER" "0")) - '(("BORDER" "1")))) - (width (if (equal? pgwide "1") - (list (list "WIDTH" ($table-width$))) - '())) - (head (select-elements (children (current-node)) (normalize "thead"))) - (body (select-elements (children (current-node)) (normalize "tbody"))) - (feet (select-elements (children (current-node)) (normalize "tfoot")))) - (make element gi: "TABLE" - attributes: (append - '(("CELLPADDING" "3")) - border - width - (if %cals-table-class% - (list (list "CLASS" %cals-table-class%)) - '())) - (process-node-list head) - (process-node-list body) - (process-node-list feet) - (make-table-endnotes)))) - -</style-specification-body> -</style-specification> -<external-specification id="docbook" document="dbstyle"> -</style-sheet> diff --git a/usr.sbin/bind/doc/arm/nominum-docbook-print.dsl.in b/usr.sbin/bind/doc/arm/nominum-docbook-print.dsl.in deleted file mode 100644 index 511d6c48bc8..00000000000 --- a/usr.sbin/bind/doc/arm/nominum-docbook-print.dsl.in +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ -<!ENTITY dbstyle SYSTEM "@PRINTSTYLE@" CDATA DSSSL> -]> - - -<style-sheet> -<style-specification use="docbook"> -<style-specification-body> - -<!-- ;; your stuff goes here... --> - -(define %generate-book-titlepage% #t) - -(define %section-autolabel% - ;; REFENTRY section-autolabel - ;; PURP Are sections enumerated? - ;; DESC - ;; If true, unlabeled sections will be enumerated. - ;; /DESC - ;; AUTHOR N/A - ;; /REFENTRY - #t) - -;; Margins around cell contents -;; (define %cals-cell-before-row-margin% 20pt) -;; (define %cals-cell-after-row-margin% 20pt) - -;; seems to be a bug in JadeTeX -- we get a wierd indent on table -;; cells for the first line only. This is a workaround. -;; Adam Di Carlo, adam@onshore.com -(define %cals-cell-before-column-margin% 5pt) -(define %cals-cell-after-column-margin% 5pt) - -;; Inheritable start and end indent for cell contents -(define %cals-cell-content-start-indent% 5pt) -(define %cals-cell-content-end-indent% 5pt) - - -</style-specification-body> -</style-specification> -<external-specification id="docbook" document="dbstyle"> -</style-sheet> diff --git a/usr.sbin/bind/doc/arm/validate.sh.in b/usr.sbin/bind/doc/arm/validate.sh.in deleted file mode 100644 index 47a7f05ca91..00000000000 --- a/usr.sbin/bind/doc/arm/validate.sh.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2000, 2001 Internet Software Consortium. -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM -# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL -# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, -# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING -# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, -# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION -# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -# $ISC: validate.sh.in,v 1.2 2001/01/09 21:46:37 bwelling Exp $ - -nsgmls -sv @SGMLDIR@/docbook/dsssl/modular/dtds/decls/xml.dcl \ - Bv9ARM-book.xml |