Bv9ARM.ch06.html revision 68b30890ebd441a6a1ae3fdf71744d07d02cd030
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<!--
bec154197d3d640b0d5b416cd5218ea58dca5d3aTinderbox User - Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews - Copyright (C) 2000-2003 Internet Software Consortium.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater - Permission to use, copy, modify, and distribute this software for any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - purpose with or without fee is hereby granted, provided that the above
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - copyright notice and this permission notice appear in all copies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein -
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein - PERFORMANCE OF THIS SOFTWARE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein-->
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User<!-- $Id: Bv9ARM.ch06.html,v 1.151 2007/03/29 15:19:18 marka Exp $ -->
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<html>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<head>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<title>Chapter�6.�BIND 9 Configuration Reference</title>
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="prev" href="Bv9ARM.ch05.html" title="Chapter�5.�The BIND 9 Lightweight Resolver">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<link rel="next" href="Bv9ARM.ch07.html" title="Chapter�7.�BIND 9 Security Considerations">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</head>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="navheader">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<table width="100%" summary="Navigation header">
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<tr><th colspan="3" align="center">Chapter�6.�<acronym class="acronym">BIND</acronym> 9 Configuration Reference</th></tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="left">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a accesskey="p" href="Bv9ARM.ch05.html">Prev</a>�</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<th width="60%" align="center">�</th>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td width="20%" align="right">�<a accesskey="n" href="Bv9ARM.ch07.html">Next</a>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<hr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="chapter" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h2 class="title">
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<a name="Bv9ARM.ch06"></a>Chapter�6.�<acronym class="acronym">BIND</acronym> 9 Configuration Reference</h2></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="toc">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><b>Table of Contents</b></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect1"><a href="Bv9ARM.ch06.html#configuration_file_elements">Configuration File Elements</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#address_match_lists">Address Match Lists</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2573502">Comment Syntax</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect1"><a href="Bv9ARM.ch06.html#Configuration_File_Grammar">Configuration File Grammar</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><dl>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574115"><span><strong class="command">acl</strong></span> Statement Grammar</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#acl"><span><strong class="command">acl</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574305"><span><strong class="command">controls</strong></span> Statement Grammar</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage"><span><strong class="command">controls</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574802"><span><strong class="command">include</strong></span> Statement Grammar</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574817"><span><strong class="command">include</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574840"><span><strong class="command">key</strong></span> Statement Grammar</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574861"><span><strong class="command">key</strong></span> Statement Definition and Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2574952"><span><strong class="command">logging</strong></span> Statement Grammar</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2575078"><span><strong class="command">logging</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2576428"><span><strong class="command">lwres</strong></span> Statement Grammar</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2576502"><span><strong class="command">lwres</strong></span> Statement Definition and Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2576566"><span><strong class="command">masters</strong></span> Statement Grammar</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2576610"><span><strong class="command">masters</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2576625"><span><strong class="command">options</strong></span> Statement Grammar</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#options"><span><strong class="command">options</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#server_statement_grammar"><span><strong class="command">server</strong></span> Statement Grammar</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#server_statement_definition_and_usage"><span><strong class="command">server</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</a></span></dt>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2585505"><span><strong class="command">trusted-keys</strong></span> Statement Grammar</a></span></dt>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2585554"><span><strong class="command">trusted-keys</strong></span> Statement Definition
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater and Usage</a></span></dt>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater<dt><span class="sect2"><a href="Bv9ARM.ch06.html#view_statement_grammar"><span><strong class="command">view</strong></span> Statement Grammar</a></span></dt>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2585634"><span><strong class="command">view</strong></span> Statement Definition and Usage</a></span></dt>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<dt><span class="sect2"><a href="Bv9ARM.ch06.html#zone_statement_grammar"><span><strong class="command">zone</strong></span>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Statement Grammar</a></span></dt>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2587098"><span><strong class="command">zone</strong></span> Statement Definition and Usage</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect1"><a href="Bv9ARM.ch06.html#id2589334">Zone File</a></span></dt>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<dd><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2591287">Discussion of MX Records</a></span></dt>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#Setting_TTLs">Setting TTLs</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2591838">Inverse Mapping in IPv4</a></span></dt>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2592102">Other Zone File Directives</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#id2592427"><acronym class="acronym">BIND</acronym> Master File Extension: the <span><strong class="command">$GENERATE</strong></span> Directive</a></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="sect2"><a href="Bv9ARM.ch06.html#zonefile_format">Additional File Formats</a></span></dt>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</dl></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</div>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <acronym class="acronym">BIND</acronym> 9 configuration is broadly similar
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews to <acronym class="acronym">BIND</acronym> 8; however, there are a few new
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein areas
507151045be68c671ffd4e2f37e17cdfa0376fc4Automatic Updater of configuration, such as views. <acronym class="acronym">BIND</acronym>
507151045be68c671ffd4e2f37e17cdfa0376fc4Automatic Updater 8 configuration files should work with few alterations in <acronym class="acronym">BIND</acronym>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 9, although more complex configurations should be reviewed to check
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein if they can be more efficiently implemented using the new features
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein found in <acronym class="acronym">BIND</acronym> 9.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <acronym class="acronym">BIND</acronym> 4 configuration files can be
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews converted to the new format
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews using the shell script
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">contrib/named-bootconf/named-bootconf.sh</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<div class="sect1" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h2 class="title" style="clear: both">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="configuration_file_elements"></a>Configuration File Elements</h2></div></div></div>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Following is a list of elements used throughout the <acronym class="acronym">BIND</acronym> configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file documentation:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">acl_name</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The name of an <code class="varname">address_match_list</code> as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defined by the <span><strong class="command">acl</strong></span> statement.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">address_match_list</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A list of one or more
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">ip_addr</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">ip_prefix</code>, <code class="varname">key_id</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or <code class="varname">acl_name</code> elements, see
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <a href="Bv9ARM.ch06.html#address_match_lists" title="Address Match Lists">the section called &#8220;Address Match Lists&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">masters_list</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A named list of one or more <code class="varname">ip_addr</code>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews with optional <code class="varname">key_id</code> and/or
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="varname">ip_port</code>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews A <code class="varname">masters_list</code> may include other
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="varname">masters_lists</code>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="varname">domain_name</code>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews A quoted string which will be used as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a DNS name, for example "<code class="literal">my.test.domain</code>".
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">dotted_decimal</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein One to four integers valued 0 through
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater 255 separated by dots (`.'), such as <span><strong class="command">123</strong></span>,
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <span><strong class="command">45.67</strong></span> or <span><strong class="command">89.123.45.67</strong></span>.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <code class="varname">ip4_addr</code>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An IPv4 address with exactly four elements
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in <code class="varname">dotted_decimal</code> notation.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">ip6_addr</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An IPv6 address, such as <span><strong class="command">2001:db8::1234</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IPv6 scoped addresses that have ambiguity on their
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein scope zones must be disambiguated by an appropriate
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone ID with the percent character (`%') as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein delimiter. It is strongly recommended to use
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein string zone names rather than numeric identifiers,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in order to be robust against system configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein changes. However, since there is no standard
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein mapping for such names and identifier values,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein currently only interface names as link identifiers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are supported, assuming one-to-one mapping between
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein interfaces and links. For example, a link-local
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address <span><strong class="command">fe80::1</strong></span> on the link
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein attached to the interface <span><strong class="command">ne0</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein can be specified as <span><strong class="command">fe80::1%ne0</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Note that on most systems link-local addresses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein always have the ambiguity, and need to be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein disambiguated.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews<td>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews <p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews <code class="varname">ip_addr</code>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </td>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews<td>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews <p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews An <code class="varname">ip4_addr</code> or <code class="varname">ip6_addr</code>.
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews</tr>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews<tr>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews <code class="varname">ip_port</code>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An IP port <code class="varname">number</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">number</code> is limited to 0
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein through 65535, with values
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein below 1024 typically restricted to use by processes running
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as root.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In some cases, an asterisk (`*') character can be used as a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein placeholder to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein select a random high-numbered port.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <code class="varname">ip_prefix</code>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User An IP network specified as an <code class="varname">ip_addr</code>,
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User followed by a slash (`/') and then the number of bits in the
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User netmask.
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User Trailing zeros in a <code class="varname">ip_addr</code>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User may omitted.
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User For example, <span><strong class="command">127/8</strong></span> is the
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User network <span><strong class="command">127.0.0.0</strong></span> with
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User netmask <span><strong class="command">255.0.0.0</strong></span> and <span><strong class="command">1.2.3.0/28</strong></span> is
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User network <span><strong class="command">1.2.3.0</strong></span> with netmask <span><strong class="command">255.255.255.240</strong></span>.
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When specifying a prefix involving a IPv6 scoped address
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the scope may be omitted. In that case the prefix will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match packets from any scope.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">key_id</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A <code class="varname">domain_name</code> representing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the name of a shared key, to be used for transaction
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein security.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">key_list</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A list of one or more
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">key_id</code>s,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein separated by semicolons and ending with a semicolon.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews<td>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews <p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews <code class="varname">number</code>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </p>
ceeb18e6907a10547859faa340ecad83bedae90cMark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A non-negative 32-bit integer
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (i.e., a number between 0 and 4294967295, inclusive).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Its acceptable value might further
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be limited by the context in which it is used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">path_name</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A quoted string which will be used as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a pathname, such as <code class="filename">zones/master/my.test.domain</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">size_spec</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A number, the word <strong class="userinput"><code>unlimited</code></strong>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or the word <strong class="userinput"><code>default</code></strong>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An <code class="varname">unlimited</code> <code class="varname">size_spec</code> requests unlimited
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use, or the maximum available amount. A <code class="varname">default size_spec</code> uses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the limit that was in force when the server was started.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A <code class="varname">number</code> can optionally be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein followed by a scaling factor:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>K</code></strong> or <strong class="userinput"><code>k</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for kilobytes,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>M</code></strong> or <strong class="userinput"><code>m</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for megabytes, and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>G</code></strong> or <strong class="userinput"><code>g</code></strong> for gigabytes,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein which scale by 1024, 1024*1024, and 1024*1024*1024
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein respectively.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The value must be representable as a 64-bit unsigned integer
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (0 to 18446744073709551615, inclusive).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Using <code class="varname">unlimited</code> is the best
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein way
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to safely set a really large number.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <code class="varname">yes_or_no</code>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Either <strong class="userinput"><code>yes</code></strong> or <strong class="userinput"><code>no</code></strong>.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater The words <strong class="userinput"><code>true</code></strong> and <strong class="userinput"><code>false</code></strong> are
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater also accepted, as are the numbers <strong class="userinput"><code>1</code></strong>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater and <strong class="userinput"><code>0</code></strong>.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <code class="varname">dialup_option</code>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater One of <strong class="userinput"><code>yes</code></strong>,
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <strong class="userinput"><code>no</code></strong>, <strong class="userinput"><code>notify</code></strong>,
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <strong class="userinput"><code>notify-passive</code></strong>, <strong class="userinput"><code>refresh</code></strong> or
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <strong class="userinput"><code>passive</code></strong>.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater When used in a zone, <strong class="userinput"><code>notify-passive</code></strong>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>refresh</code></strong>, and <strong class="userinput"><code>passive</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are restricted to slave and stub zones.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<div class="sect2" lang="en">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<div class="titlepage"><div><div><h3 class="title">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<a name="address_match_lists"></a>Address Match Lists</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="titlepage"><div><div><h4 class="title">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<a name="id2573355"></a>Syntax</h4></div></div></div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<pre class="programlisting"><code class="varname">address_match_list</code> = address_match_list_element ;
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> address_match_list_element; ... </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<code class="varname">address_match_list_element</code> = [<span class="optional"> ! </span>] (ip_address [<span class="optional">/length</span>] |
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User key key_id | acl_name | { address_match_list } )
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User</pre>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User</div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="sect3" lang="en">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="titlepage"><div><div><h4 class="title">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<a name="id2573383"></a>Definition and Usage</h4></div></div></div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Address match lists are primarily used to determine access
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein control for various server operations. They are also used in
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User the <span><strong class="command">listen-on</strong></span> and <span><strong class="command">sortlist</strong></span>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User statements. The elements
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews which constitute an address match list can be any of the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews following:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="itemizedlist"><ul type="disc">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<li>an IP address (IPv4 or IPv6)</li>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<li>an IP prefix (in `/' notation)</li>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a key ID, as defined by the <span><strong class="command">key</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User </li>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<li>the name of an address match list defined with
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User the <span><strong class="command">acl</strong></span> statement
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User </li>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<li>a nested address match list enclosed in braces</li>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User</ul></div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Elements can be negated with a leading exclamation mark (`!'),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and the match list names "any", "none", "localhost", and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "localnets"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are predefined. More information on those names can be found in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the description of the acl statement.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The addition of the key clause made the name of this syntactic
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein element something of a misnomer, since security keys can be used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to validate access without regard to a host or network address.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Nonetheless,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the term "address match list" is still used throughout the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein documentation.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When a given IP address or prefix is compared to an address
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match list, the list is traversed in order until an element
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein matches.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The interpretation of a match depends on whether the list is being
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for access control, defining listen-on ports, or in a sortlist,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and whether the element was negated.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When used as an access control list, a non-negated match
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein allows access and a negated match denies access. If
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein there is no match, access is denied. The clauses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-notify</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-recursion</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-recursion-on</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-query</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-query-on</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-query-cache</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-query-cache-on</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-transfer</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-update</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-update-forwarding</strong></span>, and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">blackhole</strong></span> all use address match
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein lists. Similarly, the listen-on option will cause the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server to not accept queries on any of the machine's
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein addresses which do not match the list.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User Because of the first-match aspect of the algorithm, an element
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that defines a subset of another element in the list should come
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein before the broader element, regardless of whether either is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein negated. For
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce example, in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">1.2.3/24; ! 1.2.3.13;</strong></span> the 1.2.3.13
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein element is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein completely useless because the algorithm will match any lookup for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 1.2.3.13 to the 1.2.3/24 element.
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User Using <span><strong class="command">! 1.2.3.13; 1.2.3/24</strong></span> fixes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that problem by having 1.2.3.13 blocked by the negation but all
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein other 1.2.3.* hosts fall through.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews</div>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2573502"></a>Comment Syntax</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <acronym class="acronym">BIND</acronym> 9 comment syntax allows for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein comments to appear
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein anywhere that white space may appear in a <acronym class="acronym">BIND</acronym> configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file. To appeal to programmers of all kinds, they can be written
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in the C, C++, or shell/perl style.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2573586"></a>Syntax</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">/* This is a <acronym class="acronym">BIND</acronym> comment as in C */</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews </p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<pre class="programlisting">// This is a <acronym class="acronym">BIND</acronym> comment as in C++</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting"># This is a <acronym class="acronym">BIND</acronym> comment as in common UNIX shells and perl</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews</div>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2573616"></a>Definition and Usage</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews Comments may appear anywhere that white space may appear in
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews a <acronym class="acronym">BIND</acronym> configuration file.
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews </p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews C-style comments start with the two characters /* (slash,
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews star) and end with */ (star, slash). Because they are completely
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein delimited with these characters, they can be used to comment only
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater a portion of a line or to span multiple lines.
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein C-style comments cannot be nested. For example, the following
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews is not valid because the entire comment ends with the first */:
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews </p>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews<p>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews</p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<pre class="programlisting">/* This is the start of a comment.
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews This is still part of the comment.
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews/* This is an incorrect attempt at nesting a comment. */
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews This is no longer in any comment. */
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews </p>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews<p>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater C++-style comments start with the two characters // (slash,
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews slash) and continue to the end of the physical line. They cannot
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews be continued across multiple physical lines; to have one logical
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein comment span multiple lines, each line must use the // pair.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater<p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews For example:
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews </p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews</p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<pre class="programlisting">// This is the start of a comment. The next line
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews// is a new comment, even though it is logically
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews// part of the previous comment.
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews</pre>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews </p>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Shell-style (or perl-style, if you prefer) comments start
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with the character <code class="literal">#</code> (number sign)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and continue to the end of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein physical line, as in C++ comments.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For example:
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting"># This is the start of a comment. The next line
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# is a new comment, even though it is logically
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# part of the previous comment.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h3 class="title">Warning</h3>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews You cannot use the semicolon (`;') character
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to start a comment such as you would in a zone file. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein semicolon indicates the end of a configuration
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater statement.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect1" lang="en">
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<div class="titlepage"><div><div><h2 class="title" style="clear: both">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="Configuration_File_Grammar"></a>Configuration File Grammar</h2></div></div></div>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews<p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews A <acronym class="acronym">BIND</acronym> 9 configuration consists of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statements and comments.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Statements end with a semicolon. Statements and comments are the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein only elements that can appear without enclosing braces. Many
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statements contain a block of sub-statements, which are also
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein terminated with a semicolon.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The following statements are supported:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tbody>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<tr>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <p><span><strong class="command">acl</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defines a named IP address
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein matching list, for access control and other uses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">controls</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein declares control channels to be used
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce by the <span><strong class="command">rndc</strong></span> utility.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">include</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein includes a file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">key</strong></span></p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specifies key information for use in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein authentication and authorization using TSIG.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">logging</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specifies what the server logs, and where
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the log messages are sent.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">lwres</strong></span></p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configures <span><strong class="command">named</strong></span> to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein also act as a light-weight resolver daemon (<span><strong class="command">lwresd</strong></span>).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">masters</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defines a named masters list for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein inclusion in stub and slave zone masters clauses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">options</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein controls global server configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein options and sets defaults for other statements.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">server</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sets certain configuration options on
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a per-server basis.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">trusted-keys</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defines trusted DNSSEC keys.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">view</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defines a view.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">zone</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defines a zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">logging</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">options</strong></span> statements may only occur once
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein per
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews configuration.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2574115"></a><span><strong class="command">acl</strong></span> Statement Grammar</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting"><span><strong class="command">acl</strong></span> acl-name {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address_match_list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater<div class="titlepage"><div><div><h3 class="title">
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater<a name="acl"></a><span><strong class="command">acl</strong></span> Statement Definition and
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater Usage</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">acl</strong></span> statement assigns a symbolic
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name to an address match list. It gets its name from a primary
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use of address match lists: Access Control Lists (ACLs).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Note that an address match list's name must be defined
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with <span><strong class="command">acl</strong></span> before it can be used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein elsewhere; no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein forward references are allowed.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The following ACLs are built-in:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
c6d486af36165da7eb970354981d145249e342e4Mark Andrews<colgroup>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<col>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews<col>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews</colgroup>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews<tbody>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<tr>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<td>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews <p><span><strong class="command">any</strong></span></p>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews </td>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews<td>
c6d486af36165da7eb970354981d145249e342e4Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Matches all hosts.
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater <p><span><strong class="command">none</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Matches no hosts.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">localhost</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Matches the IPv4 and IPv6 addresses of all network
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater interfaces on the system.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </td>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</tr>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<tr>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<td>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater <p><span><strong class="command">localnets</strong></span></p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </td>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<td>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater <p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Matches any host on an IPv4 or IPv6 network
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for which the system has an interface.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Some systems do not provide a way to determine the prefix
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein lengths of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein local IPv6 addresses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In such a case, <span><strong class="command">localnets</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein only matches the local
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IPv6 addresses, just like <span><strong class="command">localhost</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2574305"></a><span><strong class="command">controls</strong></span> Statement Grammar</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting"><span><strong class="command">controls</strong></span> {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ inet ( ip_addr | * ) [ port ip_port ] allow { <em class="replaceable"><code> address_match_list </code></em> }
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein keys { <em class="replaceable"><code>key_list</code></em> }; ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ inet ...; ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ unix <em class="replaceable"><code>path</code></em> perm <em class="replaceable"><code>number</code></em> owner <em class="replaceable"><code>number</code></em> group <em class="replaceable"><code>number</code></em> keys { <em class="replaceable"><code>key_list</code></em> }; ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ unix ...; ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="controls_statement_definition_and_usage"></a><span><strong class="command">controls</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</h3></div></div></div>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The <span><strong class="command">controls</strong></span> statement declares control
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews channels to be used by system administrators to control the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce operation of the name server. These control channels are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used by the <span><strong class="command">rndc</strong></span> utility to send
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein commands to and retrieve non-DNS results from a name server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An <span><strong class="command">inet</strong></span> control channel is a TCP socket
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein listening at the specified <span><strong class="command">ip_port</strong></span> on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified <span><strong class="command">ip_addr</strong></span>, which can be an IPv4 or IPv6
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address. An <span><strong class="command">ip_addr</strong></span> of <code class="literal">*</code> (asterisk) is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein interpreted as the IPv4 wildcard address; connections will be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein accepted on any of the system's IPv4 addresses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein To listen on the IPv6 wildcard address,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use an <span><strong class="command">ip_addr</strong></span> of <code class="literal">::</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you will only use <span><strong class="command">rndc</strong></span> on the local host,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein using the loopback address (<code class="literal">127.0.0.1</code>
4556ad3a270bf049b3225433a402666aaffe3c36Mark Andrews or <code class="literal">::1</code>) is recommended for maximum security.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If no port is specified, port 953 is used. The asterisk
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "<code class="literal">*</code>" cannot be used for <span><strong class="command">ip_port</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The ability to issue commands over the control channel is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein restricted by the <span><strong class="command">allow</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">keys</strong></span> clauses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Connections to the control channel are permitted based on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">address_match_list</strong></span>. This is for simple
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IP address based filtering only; any <span><strong class="command">key_id</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein elements of the <span><strong class="command">address_match_list</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are ignored.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A <span><strong class="command">unix</strong></span> control channel is a UNIX domain
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein socket listening at the specified path in the file system.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Access to the socket is specified by the <span><strong class="command">perm</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">owner</strong></span> and <span><strong class="command">group</strong></span> clauses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Note on some platforms (SunOS and Solaris) the permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (<span><strong class="command">perm</strong></span>) are applied to the parent directory
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as the permissions on the socket itself are ignored.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The primary authorization mechanism of the command
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein channel is the <span><strong class="command">key_list</strong></span>, which
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein contains a list of <span><strong class="command">key_id</strong></span>s.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Each <span><strong class="command">key_id</strong></span> in the <span><strong class="command">key_list</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is authorized to execute commands over the control channel.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 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 &#8220;Administrative Tools&#8221;</a>)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for information about configuring keys in <span><strong class="command">rndc</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If no <span><strong class="command">controls</strong></span> statement is present,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">named</strong></span> will set up a default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein control channel listening on the loopback address 127.0.0.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and its IPv6 counterpart ::1.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In this case, and also when the <span><strong class="command">controls</strong></span> statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is present but does not have a <span><strong class="command">keys</strong></span> clause,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">named</strong></span> will attempt to load the command channel key
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein from the file <code class="filename">rndc.key</code> in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">/etc</code> (or whatever <code class="varname">sysconfdir</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein was specified as when <acronym class="acronym">BIND</acronym> was built).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein To create a <code class="filename">rndc.key</code> file, run
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>rndc-confgen -a</code></strong>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <code class="filename">rndc.key</code> feature was created to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ease the transition of systems from <acronym class="acronym">BIND</acronym> 8,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein which did not have digital signatures on its command channel
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages and thus did not have a <span><strong class="command">keys</strong></span> clause.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein It makes it possible to use an existing <acronym class="acronym">BIND</acronym> 8
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configuration file in <acronym class="acronym">BIND</acronym> 9 unchanged,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and still have <span><strong class="command">rndc</strong></span> work the same way
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">ndc</strong></span> worked in BIND 8, simply by executing the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein command <strong class="userinput"><code>rndc-confgen -a</code></strong> after BIND 9 is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein installed.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User Since the <code class="filename">rndc.key</code> feature
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User is only intended to allow the backward-compatible usage of
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <acronym class="acronym">BIND</acronym> 8 configuration files, this
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User feature does not
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User have a high degree of configurability. You cannot easily change
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User the key name or the size of the secret, so you should make a
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <code class="filename">rndc.conf</code> with your own key if you
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User wish to change
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User those things. The <code class="filename">rndc.key</code> file
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User also has its
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User permissions set such that only the owner of the file (the user that
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <span><strong class="command">named</strong></span> is running as) can access it.
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User If you
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User desire greater flexibility in allowing other users to access
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <span><strong class="command">rndc</strong></span> commands, then you need to create
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User a
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <code class="filename">rndc.conf</code> file and make it group
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User readable by a group
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User that contains the users who should have access.
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User </p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User To disable the command channel, use an empty
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <span><strong class="command">controls</strong></span> statement:
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User <span><strong class="command">controls { };</strong></span>.
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User </p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User</div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="sect2" lang="en">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="titlepage"><div><div><h3 class="title">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<a name="id2574802"></a><span><strong class="command">include</strong></span> Statement Grammar</h3></div></div></div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<pre class="programlisting">include <em class="replaceable"><code>filename</code></em>;</pre>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User</div>
02bd0d97b8e0193e229b16446b65bdb4c84ce33eTinderbox User<div class="sect2" lang="en">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="titlepage"><div><div><h3 class="title">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<a name="id2574817"></a><span><strong class="command">include</strong></span> Statement Definition and
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User Usage</h3></div></div></div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User The <span><strong class="command">include</strong></span> statement inserts the
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User specified file at the point where the <span><strong class="command">include</strong></span>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User statement is encountered. The <span><strong class="command">include</strong></span>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User statement facilitates the administration of configuration
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User files
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User by permitting the reading or writing of some things but not
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User others. For example, the statement could include private keys
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User that are readable only by the name server.
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User </p>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User</div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="sect2" lang="en">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="titlepage"><div><div><h3 class="title">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<a name="id2574840"></a><span><strong class="command">key</strong></span> Statement Grammar</h3></div></div></div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<pre class="programlisting">key <em class="replaceable"><code>key_id</code></em> {
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User algorithm <em class="replaceable"><code>string</code></em>;
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User secret <em class="replaceable"><code>string</code></em>;
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2574861"></a><span><strong class="command">key</strong></span> Statement Definition and Usage</h3></div></div></div>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater The <span><strong class="command">key</strong></span> statement defines a shared
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews secret key for use with TSIG (see <a href="Bv9ARM.ch04.html#tsig" title="TSIG">the section called &#8220;TSIG&#8221;</a>)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews or the command channel
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater (see <a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage" title="controls Statement Definition and
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater Usage">the section called &#8220;<span><strong class="command">controls</strong></span> Statement Definition and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Usage&#8221;</a>).
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">key</strong></span> statement can occur at the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein top level
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the configuration file or inside a <span><strong class="command">view</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement. Keys defined in top-level <span><strong class="command">key</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statements can be used in all views. Keys intended for use in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a <span><strong class="command">controls</strong></span> statement
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews (see <a href="Bv9ARM.ch06.html#controls_statement_definition_and_usage" title="controls Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage">the section called &#8220;<span><strong class="command">controls</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage&#8221;</a>)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein must be defined at the top level.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <em class="replaceable"><code>key_id</code></em>, also known as the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews key name, is a domain name uniquely identifying the key. It can
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews be used in a <span><strong class="command">server</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews statement to cause requests sent to that
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews server to be signed with this key, or in address match lists to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews verify that incoming requests have been signed with a key
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews matching this name, algorithm, and secret.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The <em class="replaceable"><code>algorithm_id</code></em> is a string
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that specifies a security/authentication algorithm. Named
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews supports <code class="literal">hmac-md5</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">hmac-sha1</code>, <code class="literal">hmac-sha224</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">hmac-sha256</code>, <code class="literal">hmac-sha384</code>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews and <code class="literal">hmac-sha512</code> TSIG authentication.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Truncated hashes are supported by appending the minimum
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein number of required bits preceeded by a dash, e.g.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">hmac-sha1-80</code>. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="replaceable"><code>secret_string</code></em> is the secret
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be used by the algorithm, and is treated as a base-64
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews encoded string.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a name="id2574952"></a><span><strong class="command">logging</strong></span> Statement Grammar</h3></div></div></div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<pre class="programlisting"><span><strong class="command">logging</strong></span> {
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [ <span><strong class="command">channel</strong></span> <em class="replaceable"><code>channel_name</code></em> {
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews ( <span><strong class="command">file</strong></span> <em class="replaceable"><code>path name</code></em>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [ <span><strong class="command">versions</strong></span> ( <em class="replaceable"><code>number</code></em> | <span><strong class="command">unlimited</strong></span> ) ]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [ <span><strong class="command">size</strong></span> <em class="replaceable"><code>size spec</code></em> ]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | <span><strong class="command">syslog</strong></span> <em class="replaceable"><code>syslog_facility</code></em>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | <span><strong class="command">stderr</strong></span>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | <span><strong class="command">null</strong></span> );
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [ <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> |
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="option">info</code> | <code class="option">debug</code> [ <em class="replaceable"><code>level</code></em> ] | <code class="option">dynamic</code> ); ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ <span><strong class="command">print-category</strong></span> <code class="option">yes</code> or <code class="option">no</code>; ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ <span><strong class="command">print-severity</strong></span> <code class="option">yes</code> or <code class="option">no</code>; ]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [ <span><strong class="command">print-time</strong></span> <code class="option">yes</code> or <code class="option">no</code>; ]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews }; ]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [ <span><strong class="command">category</strong></span> <em class="replaceable"><code>category_name</code></em> {
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <em class="replaceable"><code>channel_name</code></em> ; [ <em class="replaceable"><code>channel_name</code></em> ; ... ]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews }; ]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ...
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2575078"></a><span><strong class="command">logging</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</h3></div></div></div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The <span><strong class="command">logging</strong></span> statement configures a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein wide
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein variety of logging options for the name server. Its <span><strong class="command">channel</strong></span> phrase
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews associates output methods, format options and severity levels with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a name that can then be used with the <span><strong class="command">category</strong></span> phrase
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to select how various classes of messages are logged.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Only one <span><strong class="command">logging</strong></span> statement is used to
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews define
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as many channels and categories as are wanted. If there is no <span><strong class="command">logging</strong></span> statement,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews the logging configuration will be:
33682c92e96b39c395cdb2c3feb8eb5914e7d5a8Andreas Gustafsson </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<pre class="programlisting">logging {
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews category default { default_syslog; default_debug; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein category unmatched { null; };
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In <acronym class="acronym">BIND</acronym> 9, the logging configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is only established when
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the entire configuration file has been parsed. In <acronym class="acronym">BIND</acronym> 8, it was
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein established as soon as the <span><strong class="command">logging</strong></span>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein was parsed. When the server is starting up, all logging messages
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein regarding syntax errors in the configuration file go to the default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein channels, or to standard error if the "<code class="option">-g</code>" option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein was specified.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2575130"></a>The <span><strong class="command">channel</strong></span> Phrase</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein All log output goes to one or more <span class="emphasis"><em>channels</em></span>;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein you can make as many of them as you want.
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews </p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews Every channel definition must include a destination clause that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein says whether messages selected for the channel go to a file, to a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein particular syslog facility, to the standard error stream, or are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein discarded. It can optionally also limit the message severity level
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that will be accepted by the channel (the default is
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">info</strong></span>), and whether to include a
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">named</strong></span>-generated time stamp, the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews category name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and/or severity level (the default is not to include any).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">null</strong></span> destination clause
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User causes all messages sent to the channel to be discarded;
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews in that case, other options for the channel are meaningless.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">file</strong></span> destination clause directs
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User the channel
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to a disk file. It can include limitations
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein both on how large the file is allowed to become, and how many
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein versions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the file will be saved each time the file is opened.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you use the <span><strong class="command">versions</strong></span> log file
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein option, then
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">named</strong></span> will retain that many backup
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein versions of the file by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein renaming them when opening. For example, if you choose to keep
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein three old versions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the file <code class="filename">lamers.log</code>, then just
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein before it is opened
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User <code class="filename">lamers.log.1</code> is renamed to
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews <code class="filename">lamers.log.2</code>, <code class="filename">lamers.log.0</code> is renamed
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to <code class="filename">lamers.log.1</code>, and <code class="filename">lamers.log</code> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein renamed to <code class="filename">lamers.log.0</code>.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce You can say <span><strong class="command">versions unlimited</strong></span> to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein not limit
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the number of versions.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If a <span><strong class="command">size</strong></span> option is associated with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the log file,
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User then renaming is only done when the file being opened exceeds the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein indicated size. No backup versions are kept by default; any
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein existing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein log file is simply appended.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">size</strong></span> option for files is used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to limit log
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein growth. If the file ever exceeds the size, then <span><strong class="command">named</strong></span> will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein stop writing to the file unless it has a <span><strong class="command">versions</strong></span> option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein associated with it. If backup versions are kept, the files are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein rolled as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein described above and a new one begun. If there is no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">versions</strong></span> option, no more data will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be written to the log
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein until some out-of-band mechanism removes or truncates the log to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein less than the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein maximum size. The default behavior is not to limit the size of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Example usage of the <span><strong class="command">size</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">versions</strong></span> options:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">channel an_example_channel {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file "example.log" versions 3 size 20m;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein print-time yes;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein print-category yes;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews The <span><strong class="command">syslog</strong></span> destination clause
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews directs the
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews channel to the system log. Its argument is a
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews syslog facility as described in the <span><strong class="command">syslog</strong></span> man
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews page. Known facilities are <span><strong class="command">kern</strong></span>, <span><strong class="command">user</strong></span>,
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews <span><strong class="command">mail</strong></span>, <span><strong class="command">daemon</strong></span>, <span><strong class="command">auth</strong></span>,
a1b05dea35aa30b152a47115e18bbe679d3fcf19Mark Andrews <span><strong class="command">syslog</strong></span>, <span><strong class="command">lpr</strong></span>, <span><strong class="command">news</strong></span>,
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews <span><strong class="command">uucp</strong></span>, <span><strong class="command">cron</strong></span>, <span><strong class="command">authpriv</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">ftp</strong></span>, <span><strong class="command">local0</strong></span>, <span><strong class="command">local1</strong></span>,
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews <span><strong class="command">local2</strong></span>, <span><strong class="command">local3</strong></span>, <span><strong class="command">local4</strong></span>,
7329012471d165cd3dc4180ad2a0a43de91e7f01Mark Andrews <span><strong class="command">local5</strong></span>, <span><strong class="command">local6</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">local7</strong></span>, however not all facilities
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are supported on
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein all operating systems.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein How <span><strong class="command">syslog</strong></span> will handle messages
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User sent to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this facility is described in the <span><strong class="command">syslog.conf</strong></span> man
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein page. If you have a system which uses a very old version of <span><strong class="command">syslog</strong></span> that
cf3f55777b86527d5b00bb39d661c5fe6f9625f2Automatic Updater only uses two arguments to the <span><strong class="command">openlog()</strong></span> function,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein then this clause is silently ignored.
9aafbfaefbfcaef713dddbf4e83807c282f07b88Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">severity</strong></span> clause works like <span><strong class="command">syslog</strong></span>'s
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "priorities", except that they can also be used if you are writing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein straight to a file rather than using <span><strong class="command">syslog</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Messages which are not at least of the severity level given will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein not be selected for the channel; messages of higher severity
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein levels
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be accepted.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you are using <span><strong class="command">syslog</strong></span>, then the <span><strong class="command">syslog.conf</strong></span> priorities
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce will also determine what eventually passes through. For example,
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce defining a channel facility and severity as <span><strong class="command">daemon</strong></span> and <span><strong class="command">debug</strong></span> but
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce only logging <span><strong class="command">daemon.warning</strong></span> via <span><strong class="command">syslog.conf</strong></span> will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cause messages of severity <span><strong class="command">info</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">notice</strong></span> to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be dropped. If the situation were reversed, with <span><strong class="command">named</strong></span> writing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages of only <span><strong class="command">warning</strong></span> or higher,
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User then <span><strong class="command">syslogd</strong></span> would
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein print all messages it received from the channel.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">stderr</strong></span> destination clause
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein directs the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein channel to the server's standard error stream. This is intended
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use when the server is running as a foreground process, for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein example
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein when debugging a configuration.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The server can supply extensive debugging information when
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it is in debugging mode. If the server's global debug level is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein greater
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein than zero, then debugging mode will be active. The global debug
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson level is set either by starting the <span><strong class="command">named</strong></span> server
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson with the <code class="option">-d</code> flag followed by a positive integer,
aeb8fffc841865c3336383eadfd9987332a03286Andreas Gustafsson or by running <span><strong class="command">rndc trace</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The global debug level
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein can be set to zero, and debugging mode turned off, by running <span><strong class="command">rndc
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrewsnotrace</strong></span>. All debugging messages in the server have a debug
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein level, and higher debug levels give more detailed output. Channels
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews that specify a specific debug severity, for example:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">channel specific_debug_level {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file "foo";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein severity debug 3;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will get debugging output of level 3 or less any time the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server is in debugging mode, regardless of the global debugging
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User level. Channels with <span><strong class="command">dynamic</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein severity use the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server's global debug level to determine what messages to print.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <span><strong class="command">print-time</strong></span> has been turned on,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein then
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the date and time will be logged. <span><strong class="command">print-time</strong></span> may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be specified for a <span><strong class="command">syslog</strong></span> channel,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein but is usually
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein pointless since <span><strong class="command">syslog</strong></span> also prints
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the date and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein time. If <span><strong class="command">print-category</strong></span> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein requested, then the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein category of the message will be logged as well. Finally, if <span><strong class="command">print-severity</strong></span> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on, then the severity level of the message will be logged. The <span><strong class="command">print-</strong></span> options may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be used in any combination, and will always be printed in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein following
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein order: time, category, severity. Here is an example where all
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein three <span><strong class="command">print-</strong></span> options
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are on:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="computeroutput">28-Feb-2000 15:05:32.863 general: notice: running</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein There are four predefined channels that are used for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">named</strong></span>'s default logging as follows.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein How they are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used is described in <a href="Bv9ARM.ch06.html#the_category_phrase" title="The category Phrase">the section called &#8220;The <span><strong class="command">category</strong></span> Phrase&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">channel default_syslog {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein syslog daemon; // send to syslog's daemon
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // facility
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews severity info; // only send priority info
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews // and higher
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinchannel default_debug {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file "named.run"; // write to named.run in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // the working directory
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // Note: stderr is used instead
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // of "named.run"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // if the server is started
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // with the '-f' option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein severity dynamic; // log at the server's
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // current debug level
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinchannel default_stderr {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein stderr; // writes to stderr
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein severity info; // only send priority info
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // and higher
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinchannel null {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein null; // toss anything sent to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // this channel
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">default_debug</strong></span> channel has the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein special
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein property that it only produces output when the server's debug
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein level is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein nonzero. It normally writes to a file called <code class="filename">named.run</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in the server's working directory.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For security reasons, when the "<code class="option">-u</code>"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein command line option is used, the <code class="filename">named.run</code> file
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is created only after <span><strong class="command">named</strong></span> has
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein changed to the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce new UID, and any debug output generated while <span><strong class="command">named</strong></span> is
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce starting up and still running as root is discarded. If you need
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce to capture this output, you must run the server with the "<code class="option">-g</code>"
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce option and redirect standard error to a file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Once a channel is defined, it cannot be redefined. Thus you
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cannot alter the built-in channels directly, but you can modify
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the default logging by pointing categories at channels you have
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defined.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="the_category_phrase"></a>The <span><strong class="command">category</strong></span> Phrase</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein There are many categories, so you can send the logs you want
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to see wherever you want, without seeing logs you don't want. If
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein you don't specify a list of channels for a category, then log
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in that category will be sent to the <span><strong class="command">default</strong></span> category
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein instead. If you don't specify a default category, the following
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "default default" is used:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">category default { default_syslog; default_debug; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein As an example, let's say you want to log security events to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a file, but you also want keep the default logging behavior. You'd
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specify the following:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">channel my_security_channel {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file "my_security_file";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein severity info;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeincategory security {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein my_security_channel;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default_syslog;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default_debug;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein To discard all messages in a category, specify the <span><strong class="command">null</strong></span> channel:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">category xfer-out { null; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeincategory notify { null; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Following are the available categories and brief descriptions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the types of log information they contain. More
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein categories may be added in future <acronym class="acronym">BIND</acronym> releases.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">default</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default category defines the logging
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein options for those categories where no specific
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configuration has been
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews defined.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <p><span><strong class="command">general</strong></span></p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The catch-all. Many things still aren't
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein classified into categories, and they all end up here.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">database</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Messages relating to the databases used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein internally by the name server to store zone and cache
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater data.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">security</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Approval and denial of requests.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">config</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Configuration file parsing and processing.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</tr>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<tr>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<td>
7c0ebe385b36d64c2424dd5a3e62d441c08e7037Andreas Gustafsson <p><span><strong class="command">resolver</strong></span></p>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater DNS resolution, such as the recursive
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater lookups performed on behalf of clients by a caching name
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater server.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </td>
7c0ebe385b36d64c2424dd5a3e62d441c08e7037Andreas Gustafsson</tr>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson<tr>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <p><span><strong class="command">xfer-in</strong></span></p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <p>
7c0ebe385b36d64c2424dd5a3e62d441c08e7037Andreas Gustafsson Zone transfers the server is receiving.
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson </p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</tr>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">xfer-out</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Zone transfers the server is sending.
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">notify</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The NOTIFY protocol.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">client</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Processing of client requests.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">unmatched</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Messages that named was unable to determine the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein class of or for which there was no matching <span><strong class="command">view</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A one line summary is also logged to the <span><strong class="command">client</strong></span> category.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This category is best sent to a file or stderr, by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default it is sent to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the <span><strong class="command">null</strong></span> channel.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <p><span><strong class="command">network</strong></span></p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<td>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson <p>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson Network operations.
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson </p>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">update</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Dynamic updates.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">update-security</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Approval and denial of update requests.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">queries</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify where queries should be logged to.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein At startup, specifying the category <span><strong class="command">queries</strong></span> will also
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein enable query logging unless <span><strong class="command">querylog</strong></span> option has been
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the query log entry reports the client's IP
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address and port number, and the query name,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein class and type. It also reports whether the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Recursion Desired flag was set (+ if set, -
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein if not set), if the query was signed (S),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein EDNS was in use (E), if DO (DNSSSEC ok) was
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein set (D), or if CD (checking disabled) was set
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (C).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="computeroutput">client 127.0.0.1#62536: query: www.example.com IN AAAA +SE</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="computeroutput">client ::1#62537: query: www.example.net IN AAAA -SE</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">dispatch</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Dispatching of incoming packets to the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server modules where they are to be processed.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">dnssec</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein DNSSEC and TSIG protocol processing.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">lame-servers</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Lame servers. These are misconfigurations
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in remote servers, discovered by BIND 9 when trying to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein query
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein those servers during resolution.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">delegation-only</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Delegation only. Logs queries that have have
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein been forced to NXDOMAIN as the result of a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein delegation-only zone or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a <span><strong class="command">delegation-only</strong></span> in a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein hint or stub zone declaration.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2576428"></a><span><strong class="command">lwres</strong></span> Statement Grammar</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This is the grammar of the <span><strong class="command">lwres</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement in the <code class="filename">named.conf</code> file:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting"><span><strong class="command">lwres</strong></span> {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> view <em class="replaceable"><code>view_name</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> ndots <em class="replaceable"><code>number</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2576502"></a><span><strong class="command">lwres</strong></span> Statement Definition and Usage</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">lwres</strong></span> statement configures the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server to also act as a lightweight resolver server. (See
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <a href="Bv9ARM.ch05.html#lwresd" title="Running a Resolver Daemon">the section called &#8220;Running a Resolver Daemon&#8221;</a>.) There may be be multiple
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">lwres</strong></span> statements configuring
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein lightweight resolver servers with different properties.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">listen-on</strong></span> statement specifies a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein list of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein addresses (and ports) that this instance of a lightweight resolver
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein daemon
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein should accept requests on. If no port is specified, port 921 is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If this statement is omitted, requests will be accepted on
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 127.0.0.1,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein port 921.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">view</strong></span> statement binds this
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein instance of a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein lightweight resolver daemon to a view in the DNS namespace, so that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein response will be constructed in the same manner as a normal DNS
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein query
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein matching this view. If this statement is omitted, the default view
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used, and if there is no default view, an error is triggered.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">search</strong></span> statement is equivalent to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">search</strong></span> statement in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">/etc/resolv.conf</code>. It provides a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein list of domains
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein which are appended to relative names in queries.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">ndots</strong></span> statement is equivalent to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">ndots</strong></span> statement in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">/etc/resolv.conf</code>. It indicates the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein minimum
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein number of dots in a relative domain name that should result in an
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein exact match lookup before search path elements are appended.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2576566"></a><span><strong class="command">masters</strong></span> Statement Grammar</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>] };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2576610"></a><span><strong class="command">masters</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">masters</strong></span>
47b6d855e3a569e46ec2481dd1abb62e99752817Mark Andrews lists allow for a common set of masters to be easily used by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein multiple stub and slave zones.
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews </p>
47b6d855e3a569e46ec2481dd1abb62e99752817Mark Andrews</div>
919c99b7a47dadd4564eb2b48be2f59216d932fcAutomatic Updater<div class="sect2" lang="en">
47b6d855e3a569e46ec2481dd1abb62e99752817Mark Andrews<div class="titlepage"><div><div><h3 class="title">
47b6d855e3a569e46ec2481dd1abb62e99752817Mark Andrews<a name="id2576625"></a><span><strong class="command">options</strong></span> Statement Grammar</h3></div></div></div>
64affc54f96a2c71cbd10ed71e246ce0746259aaAutomatic Updater<p>
64affc54f96a2c71cbd10ed71e246ce0746259aaAutomatic Updater This is the grammar of the <span><strong class="command">options</strong></span>
64affc54f96a2c71cbd10ed71e246ce0746259aaAutomatic Updater statement in the <code class="filename">named.conf</code> file:
64affc54f96a2c71cbd10ed71e246ce0746259aaAutomatic Updater </p>
64affc54f96a2c71cbd10ed71e246ce0746259aaAutomatic Updater<pre class="programlisting">options {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> version <em class="replaceable"><code>version_string</code></em>; </span>]
47b6d855e3a569e46ec2481dd1abb62e99752817Mark Andrews [<span class="optional"> hostname <em class="replaceable"><code>hostname_string</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> server-id <em class="replaceable"><code>server_id_string</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> directory <em class="replaceable"><code>path_name</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> key-directory <em class="replaceable"><code>path_name</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> named-xfer <em class="replaceable"><code>path_name</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> tkey-gssapi-credential <em class="replaceable"><code>principal</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> tkey-domain <em class="replaceable"><code>domainname</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> tkey-dhkey <em class="replaceable"><code>key_name</code></em> <em class="replaceable"><code>key_tag</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> cache-file <em class="replaceable"><code>path_name</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> dump-file <em class="replaceable"><code>path_name</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> memstatistics-file <em class="replaceable"><code>path_name</code></em>; </span>]
3c9cf7efb97991f9871bc5633e7ed1cae0932a37Automatic Updater [<span class="optional"> pid-file <em class="replaceable"><code>path_name</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> statistics-file <em class="replaceable"><code>path_name</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> zone-statistics <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> auth-nxdomain <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> deallocate-on-exit <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> dialup <em class="replaceable"><code>dialup_option</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> fake-iquery <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> fetch-glue <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> flush-zones-on-shutdown <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> has-old-clients <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> host-statistics <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> host-statistics-max <em class="replaceable"><code>number</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> minimal-responses <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> multiple-cnames <em class="replaceable"><code>yes_or_no</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> notify <em class="replaceable"><code>yes_or_no</code></em> | <em class="replaceable"><code>explicit</code></em> | <em class="replaceable"><code>master-only</code></em>; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater [<span class="optional"> recursion <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> rfc2308-type1 <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> use-id-pool <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> maintain-ixfr-base <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dnssec-enable <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dnssec-validation <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dnssec-lookaside <em class="replaceable"><code>domain</code></em> trust-anchor <em class="replaceable"><code>domain</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dnssec-must-be-secure <em class="replaceable"><code>domain yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dnssec-accept-expired <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> forward ( <em class="replaceable"><code>only</code></em> | <em class="replaceable"><code>first</code></em> ); </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dual-stack-servers [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ( <em class="replaceable"><code>domain_name</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] |
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="replaceable"><code>ip_addr</code></em> [<span class="optional">port <em class="replaceable"><code>ip_port</code></em></span>] ) ;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ... }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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> )
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ( <em class="replaceable"><code>warn</code></em> | <em class="replaceable"><code>fail</code></em> | <em class="replaceable"><code>ignore</code></em> ); </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-mx ( <em class="replaceable"><code>warn</code></em> | <em class="replaceable"><code>fail</code></em> | <em class="replaceable"><code>ignore</code></em> ); </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-wildcard <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-integrity <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-mx-cname ( <em class="replaceable"><code>warn</code></em> | <em class="replaceable"><code>fail</code></em> | <em class="replaceable"><code>ignore</code></em> ); </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-srv-cname ( <em class="replaceable"><code>warn</code></em> | <em class="replaceable"><code>fail</code></em> | <em class="replaceable"><code>ignore</code></em> ); </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-sibling <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-notify { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query-on { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query-cache { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query-cache-on { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-transfer { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
cbf7f1435f332b31f51a98611ccbfcd07c42c032Automatic Updater [<span class="optional"> allow-recursion { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-recursion-on { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-update { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-update-forwarding { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> update-check-ksk <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> try-tcp-refresh <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-v6-synthesis { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> blackhole { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> avoid-v4-udp-ports { <em class="replaceable"><code>port_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> avoid-v6-udp-ports { <em class="replaceable"><code>port_list</code></em> }; </span>]
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater [<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>]
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater [<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>]
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater [<span class="optional"> query-source ( ( <em class="replaceable"><code>ip4_addr</code></em> | <em class="replaceable"><code>*</code></em> )
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater [<span class="optional"> port ( <em class="replaceable"><code>ip_port</code></em> | <em class="replaceable"><code>*</code></em> ) </span>] |
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater [<span class="optional"> address ( <em class="replaceable"><code>ip4_addr</code></em> | <em class="replaceable"><code>*</code></em> ) </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> port ( <em class="replaceable"><code>ip_port</code></em> | <em class="replaceable"><code>*</code></em> ) </span>] ) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> query-source-v6 ( ( <em class="replaceable"><code>ip6_addr</code></em> | <em class="replaceable"><code>*</code></em> )
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> port ( <em class="replaceable"><code>ip_port</code></em> | <em class="replaceable"><code>*</code></em> ) </span>] |
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> address ( <em class="replaceable"><code>ip6_addr</code></em> | <em class="replaceable"><code>*</code></em> ) </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> port ( <em class="replaceable"><code>ip_port</code></em> | <em class="replaceable"><code>*</code></em> ) </span>] ) ; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> use-queryport-pool <em class="replaceable"><code>yse_or_no</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> queryport-pool-ports <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> queryport-pool-interval <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> max-transfer-time-in <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> max-transfer-time-out <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> max-transfer-idle-in <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> max-transfer-idle-out <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> tcp-clients <em class="replaceable"><code>number</code></em>; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<span class="optional"> recursive-clients <em class="replaceable"><code>number</code></em>; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<span class="optional"> serial-query-rate <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> serial-queries <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> tcp-listen-queue <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> transfer-format <em class="replaceable"><code>( one-answer | many-answers )</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> transfers-in <em class="replaceable"><code>number</code></em>; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<span class="optional"> transfers-out <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> transfers-per-ns <em class="replaceable"><code>number</code></em>; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<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>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<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>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<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>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<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>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> use-alt-transfer-source <em class="replaceable"><code>yes_or_no</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<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>]
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<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>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<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>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> max-ixfr-log-size <em class="replaceable"><code>number</code></em>; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<span class="optional"> max-journal-size <em class="replaceable"><code>size_spec</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> coresize <em class="replaceable"><code>size_spec</code></em> ; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<span class="optional"> datasize <em class="replaceable"><code>size_spec</code></em> ; </span>]
12351e0500dff39f56844401fd191a36bcc4a7adMark Andrews [<span class="optional"> files <em class="replaceable"><code>size_spec</code></em> ; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> stacksize <em class="replaceable"><code>size_spec</code></em> ; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> cleaning-interval <em class="replaceable"><code>number</code></em>; </span>]
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews [<span class="optional"> heartbeat-interval <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> interface-interval <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> statistics-interval <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> topology { <em class="replaceable"><code>address_match_list</code></em> }</span>];
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> sortlist { <em class="replaceable"><code>address_match_list</code></em> }</span>];
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<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>] };
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> lame-ttl <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> max-ncache-ttl <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> max-cache-ttl <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> sig-validity-interval <em class="replaceable"><code>number</code></em> ; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> min-roots <em class="replaceable"><code>number</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> use-ixfr <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> provide-ixfr <em class="replaceable"><code>yes_or_no</code></em>; </span>]
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater [<span class="optional"> request-ixfr <em class="replaceable"><code>yes_or_no</code></em>; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> treat-cr-as-space <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> min-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> max-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> min-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> max-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> port <em class="replaceable"><code>ip_port</code></em>; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> additional-from-auth <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> additional-from-cache <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> random-device <em class="replaceable"><code>path_name</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> max-cache-size <em class="replaceable"><code>size_spec</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> match-mapped-addresses <em class="replaceable"><code>yes_or_no</code></em>; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<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>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> edns-udp-size <em class="replaceable"><code>number</code></em>; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> max-udp-size <em class="replaceable"><code>number</code></em>; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> root-delegation-only [<span class="optional"> exclude { <em class="replaceable"><code>namelist</code></em> } </span>] ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> querylog <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<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>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> acache-enable <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> acache-cleaning-interval <em class="replaceable"><code>number</code></em>; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> max-acache-size <em class="replaceable"><code>size_spec</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> clients-per-query <em class="replaceable"><code>number</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> max-clients-per-query <em class="replaceable"><code>number</code></em> ; </span>]
162933bac8fec492e683b1c09224344e568191e5Tinderbox User [<span class="optional"> masterfile-format (<code class="constant">text</code>|<code class="constant">raw</code>) ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> empty-server <em class="replaceable"><code>name</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> empty-contact <em class="replaceable"><code>name</code></em> ; </span>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User [<span class="optional"> empty-zones-enable <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> disable-empty-zone <em class="replaceable"><code>zone_name</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> zero-no-soa-ttl <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> zero-no-soa-ttl-cache <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater};
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater</pre>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User</div>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<div class="sect2" lang="en">
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<div class="titlepage"><div><div><h3 class="title">
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<a name="options"></a><span><strong class="command">options</strong></span> Statement Definition and
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Usage</h3></div></div></div>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The <span><strong class="command">options</strong></span> statement sets up global
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater options
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater to be used by <acronym class="acronym">BIND</acronym>. This statement
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater may appear only
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater once in a configuration file. If there is no <span><strong class="command">options</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater statement, an options block with each option set to its default will
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater be used.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<div class="variablelist"><dl>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">directory</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The working directory of the server.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Any non-absolute pathnames in the configuration file will be
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater taken
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater as relative to this directory. The default location for most
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater server
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater output files (e.g. <code class="filename">named.run</code>)
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater is this directory.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater If a directory is not specified, the working directory
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater defaults to `<code class="filename">.</code>', the directory from
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater which the server
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater was started. The directory specified should be an absolute
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater path.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">key-directory</strong></span></span></dt>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<dd><p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater When performing dynamic update of secure zones, the
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater directory where the public and private key files should be
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater found,
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater if different than the current working directory. The
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater directory specified
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater must be an absolute path.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </p></dd>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<dt><span class="term"><span><strong class="command">named-xfer</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <span class="emphasis"><em>This option is obsolete.</em></span> It
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater was used in <acronym class="acronym">BIND</acronym> 8 to specify
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the pathname to the <span><strong class="command">named-xfer</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater program. In <acronym class="acronym">BIND</acronym> 9, no separate
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <span><strong class="command">named-xfer</strong></span> program is needed;
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater its functionality is built into the name server.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">tkey-gssapi-credential</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The security credential with which the server should
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater authenticate keys requested by the GSS-TSIG protocol.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Currently only Kerberos 5 authentication is available
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater and the credential is a Kerberos principal which
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the server can aquire through the default system
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater key file, normally <code class="filename">/etc/krb5.keytab</code>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Normally this principal is of the form
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater "<strong class="userinput"><code>dns/</code></strong><code class="varname">server.domain</code>".
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater To use GSS-TSIG, <span><strong class="command">tkey-domain</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater must also be set.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">tkey-domain</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The domain appended to the names of all shared keys
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater generated with <span><strong class="command">TKEY</strong></span>. When a
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater client requests a <span><strong class="command">TKEY</strong></span> exchange,
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater it may or may not specify the desired name for the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater key. If present, the name of the shared key will
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater will be <code class="varname">client specified part</code> +
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <code class="varname">tkey-domain</code>. Otherwise, the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater name of the shared key will be <code class="varname">random hex
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater digits</code> + <code class="varname">tkey-domain</code>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater In most cases, the <span><strong class="command">domainname</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater should be the server's domain name, or an otherwise
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater non-existent subdomain like
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater "_tkey.<code class="varname">domainname</code>". If you are
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater using GSS-TSIG, this variable must be defined
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">tkey-dhkey</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The Diffie-Hellman key used by the server
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater to generate shared keys with clients using the Diffie-Hellman
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater mode
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater of <span><strong class="command">TKEY</strong></span>. The server must be
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater able to load the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater public and private keys from files in the working directory.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater In
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater most cases, the keyname should be the server's host name.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">cache-file</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater This is for testing only. Do not use.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">dump-file</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The pathname of the file the server dumps
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the database to when instructed to do so with
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <span><strong class="command">rndc dumpdb</strong></span>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater If not specified, the default is <code class="filename">named_dump.db</code>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">memstatistics-file</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The pathname of the file the server writes memory
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater usage statistics to on exit. If not specified,
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the default is
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <code class="filename">named.memstats</code>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">pid-file</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The pathname of the file the server writes its process ID
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater in. If not specified, the default is <code class="filename">/var/run/named.pid</code>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The pid-file is used by programs that want to send signals to
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the running
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater name server. Specifying <span><strong class="command">pid-file none</strong></span> disables the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater use of a PID file &#8212; no file will be written and any
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater existing one will be removed. Note that <span><strong class="command">none</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater is a keyword, not a file name, and therefore is not enclosed
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater in
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater double quotes.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">statistics-file</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The pathname of the file the server appends statistics
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater to when instructed to do so using <span><strong class="command">rndc stats</strong></span>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater If not specified, the default is <code class="filename">named.stats</code> in the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater server's current directory. The format of the file is
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater described
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater in <a href="Bv9ARM.ch06.html#statsfile" title="The Statistics File">the section called &#8220;The Statistics File&#8221;</a>.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">port</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The UDP/TCP port number the server uses for
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater receiving and sending DNS protocol traffic.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The default is 53. This option is mainly intended for server
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater testing;
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater a server using a port other than 53 will not be able to
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater communicate with
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the global DNS.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">random-device</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The source of entropy to be used by the server. Entropy is
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater primarily needed
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater for DNSSEC operations, such as TKEY transactions and dynamic
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater update of signed
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater zones. This options specifies the device (or file) from which
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater to read
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater entropy. If this is a file, operations requiring entropy will
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater fail when the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater file has been exhausted. If not specified, the default value
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater is
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <code class="filename">/dev/random</code>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater (or equivalent) when present, and none otherwise. The
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <span><strong class="command">random-device</strong></span> option takes
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater effect during
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the initial configuration load at server startup time and
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater is ignored on subsequent reloads.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">preferred-glue</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater If specified, the listed type (A or AAAA) will be emitted
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater before other glue
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater in the additional section of a query response.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The default is not to prefer any type (NONE).
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">root-delegation-only</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Turn on enforcement of delegation-only in TLDs (top level domains) and root zones
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater with an optional
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater exclude list.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Note some TLDs are not delegation only (e.g. "DE", "LV", "US"
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater and "MUSEUM").
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<pre class="programlisting">
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updateroptions {
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater root-delegation-only exclude { "de"; "lv"; "us"; "museum"; };
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater};
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater</pre>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater</dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">disable-algorithms</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Disable the specified DNSSEC algorithms at and below the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater specified name.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Multiple <span><strong class="command">disable-algorithms</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater statements are allowed.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Only the most specific will be applied.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">dnssec-lookaside</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater When set, <span><strong class="command">dnssec-lookaside</strong></span>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater provides the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater validator with an alternate method to validate DNSKEY records
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater at the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater top of a zone. When a DNSKEY is at or below a domain
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater specified by the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater deepest <span><strong class="command">dnssec-lookaside</strong></span>, and
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the normal dnssec validation
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater has left the key untrusted, the trust-anchor will be append to
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater the key
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater name and a DLV record will be looked up to see if it can
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater validate the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater key. If the DLV record validates a DNSKEY (similarly to the
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater way a DS
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater record does) the DNSKEY RRset is deemed to be trusted.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dt><span class="term"><span><strong class="command">dnssec-must-be-secure</strong></span></span></dt>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<dd><p>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater Specify hierarchies which must be or may not be secure (signed and
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater validated).
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater If <strong class="userinput"><code>yes</code></strong>, then named will only accept
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater answers if they
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater are secure.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater If <strong class="userinput"><code>no</code></strong>, then normal dnssec validation
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater applies
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater allowing for insecure answers to be accepted.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater The specified domain must be under a <span><strong class="command">trusted-key</strong></span> or
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater <span><strong class="command">dnssec-lookaside</strong></span> must be
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater active.
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater </p></dd>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater</dl></div>
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<div class="sect3" lang="en">
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="boolean_options"></a>Boolean Options</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">auth-nxdomain</strong></span></span></dt>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <strong class="userinput"><code>yes</code></strong>, then the <span><strong class="command">AA</strong></span> bit
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is always set on NXDOMAIN responses, even if the server is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein not actually
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein authoritative. The default is <strong class="userinput"><code>no</code></strong>;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this is
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User a change from <acronym class="acronym">BIND</acronym> 8. If you
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User are using very old DNS software, you
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may need to set it to <strong class="userinput"><code>yes</code></strong>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">deallocate-on-exit</strong></span></span></dt>
4e243fdc6b33a6371208b48d64912d8e327b4f5cAndreas Gustafsson<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This option was used in <acronym class="acronym">BIND</acronym>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 8 to enable checking
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for memory leaks on exit. <acronym class="acronym">BIND</acronym> 9 ignores the option and always performs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the checks.
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">dialup</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews If <strong class="userinput"><code>yes</code></strong>, then the
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews server treats all zones as if they are doing zone transfers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein across
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a dial-on-demand dialup link, which can be brought up by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein traffic
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein originating from this server. This has different effects
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein according
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to zone type and concentrates the zone maintenance so that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it all
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein happens in a short interval, once every <span><strong class="command">heartbeat-interval</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein hopefully during the one call. It also suppresses some of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the normal
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone maintenance traffic. The default is <strong class="userinput"><code>no</code></strong>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">dialup</strong></span> option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may also be specified in the <span><strong class="command">view</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">zone</strong></span> statements,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in which case it overrides the global <span><strong class="command">dialup</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the zone is a master zone, then the server will send out a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein NOTIFY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein request to all the slaves (default). This should trigger the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone serial
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein number check in the slave (providing it supports NOTIFY)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein allowing the slave
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to verify the zone while the connection is active.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The set of servers to which NOTIFY is sent can be controlled
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">notify</strong></span> and <span><strong class="command">also-notify</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone is a slave or stub zone, then the server will suppress
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the regular
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "zone up to date" (refresh) queries and only perform them
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein when the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">heartbeat-interval</strong></span> expires in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein addition to sending
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein NOTIFY requests.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Finer control can be achieved by using
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>notify</code></strong> which only sends NOTIFY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages,
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User <strong class="userinput"><code>notify-passive</code></strong> which sends NOTIFY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages and
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User suppresses the normal refresh queries, <strong class="userinput"><code>refresh</code></strong>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater which suppresses normal refresh processing and sends refresh
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein queries
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein when the <span><strong class="command">heartbeat-interval</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein expires, and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>passive</code></strong> which just disables normal
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User refresh
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein processing.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="informaltable"><table border="1">
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater<colgroup>
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein dialup mode
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews </p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein normal refresh
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
0284e57b9b9dfaf2517a2cc3282ecf766b8ad075Automatic Updater<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater heart-beat refresh
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
22c71c7b86fa57a19f7df0da4222eb8593e6ad12Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein heart-beat notify
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater </p>
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater </td>
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater</tr>
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater<tr>
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater<td>
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews <p><span><strong class="command">no</strong></span> (default)</p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein yes
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">yes</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater </p>
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater </td>
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater<td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein yes
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User yes
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater<td>
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews <p><span><strong class="command">notify</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews<td>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews yes
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews </p>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User </td>
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein yes
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
083a5588a3488b6335ee7bafa505d00644c7c58dMark Andrews<tr>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<td>
089c63b69cdf6803aa8901aae3f2fbae58969511Automatic Updater <p><span><strong class="command">refresh</strong></span></p>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater </td>
089c63b69cdf6803aa8901aae3f2fbae58969511Automatic Updater<td>
6bf6622b7b9053dc52527478473b572f042c4b5bMark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein yes
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User no
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User</tr>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p><span><strong class="command">passive</strong></span></p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User no
a404eb87dc8f91fe81bedce8bb3957fc3c7684a5Mark Andrews </p>
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews </td>
b3c2030de4cc02b8e881ca4e6f62b385d4b41b0fAutomatic Updater<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">notify-passive</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User no
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User no
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews </p>
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater </td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<td>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein yes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Note that normal NOTIFY processing is not affected by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">dialup</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">fake-iquery</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In <acronym class="acronym">BIND</acronym> 8, this option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein enabled simulating the obsolete DNS query type
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IQUERY. <acronym class="acronym">BIND</acronym> 9 never does
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater IQUERY simulation.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p></dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">fetch-glue</strong></span></span></dt>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This option is obsolete.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In BIND 8, <strong class="userinput"><code>fetch-glue yes</code></strong>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein caused the server to attempt to fetch glue resource records
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein didn't have when constructing the additional
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein data section of a response. This is now considered a bad
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein idea
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and BIND 9 never does it.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">flush-zones-on-shutdown</strong></span></span></dt>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When the nameserver exits due receiving SIGTERM,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein flush or do not flush any pending zone writes. The default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">flush-zones-on-shutdown</strong></span> <strong class="userinput"><code>no</code></strong>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
cd0df9459e87097d01fc6c0de0a283c7e8d3c401Automatic Updater<dt><span class="term"><span><strong class="command">has-old-clients</strong></span></span></dt>
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User<dd><p>
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater This option was incorrectly implemented
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User in <acronym class="acronym">BIND</acronym> 8, and is ignored by <acronym class="acronym">BIND</acronym> 9.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater To achieve the intended effect
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater of
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">has-old-clients</strong></span> <strong class="userinput"><code>yes</code></strong>, specify
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater the two separate options <span><strong class="command">auth-nxdomain</strong></span> <strong class="userinput"><code>yes</code></strong>
66edf659b7e4db8a36edec0beaf507ff3199fc22Automatic Updater and <span><strong class="command">rfc2308-type1</strong></span> <strong class="userinput"><code>no</code></strong> instead.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater </p></dd>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<dt><span class="term"><span><strong class="command">host-statistics</strong></span></span></dt>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater<dd><p>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater In BIND 8, this enables keeping of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statistics for every host that the name server interacts
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Not implemented in BIND 9.
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">maintain-ixfr-base</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <span class="emphasis"><em>This option is obsolete</em></span>.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater It was used in <acronym class="acronym">BIND</acronym> 8 to
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User determine whether a transaction log was
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User kept for Incremental Zone Transfer. <acronym class="acronym">BIND</acronym> 9 maintains a transaction
df6faef67126d1277b0f21defd41c54994bf6fcfMark Andrews log whenever possible. If you need to disable outgoing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein incremental zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein transfers, use <span><strong class="command">provide-ixfr</strong></span> <strong class="userinput"><code>no</code></strong>.
538a83db7509d598da95a93bd7b74ef3112123a4Mark Andrews </p></dd>
538a83db7509d598da95a93bd7b74ef3112123a4Mark Andrews<dt><span class="term"><span><strong class="command">minimal-responses</strong></span></span></dt>
dba3c818ae00b10388d31703e86a28415db398acTinderbox User<dd><p>
43b94483957d3168796a816ed86cf097518817dcTinderbox User If <strong class="userinput"><code>yes</code></strong>, then when generating
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews responses the server will only add records to the authority
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews and additional data sections when they are required (e.g.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews delegations, negative responses). This may improve the
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews performance of the server.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews The default is <strong class="userinput"><code>no</code></strong>.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p></dd>
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater<dt><span class="term"><span><strong class="command">multiple-cnames</strong></span></span></dt>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<dd><p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater This option was used in <acronym class="acronym">BIND</acronym> 8 to allow
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User a domain name to have multiple CNAME records in violation of
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User the DNS standards. <acronym class="acronym">BIND</acronym> 9.2 onwards
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User always strictly enforces the CNAME rules both in master
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User files and dynamic updates.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p></dd>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<dt><span class="term"><span><strong class="command">notify</strong></span></span></dt>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<dd>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User If <strong class="userinput"><code>yes</code></strong> (the default),
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User DNS NOTIFY messages are sent when a zone the server is
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User authoritative for
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User changes, see <a href="Bv9ARM.ch04.html#notify" title="Notify">the section called &#8220;Notify&#8221;</a>. The messages are
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User sent to the
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User servers listed in the zone's NS records (except the master
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User server identified
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User in the SOA MNAME field), and to any servers listed in the
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <span><strong class="command">also-notify</strong></span> option.
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User If <strong class="userinput"><code>master-only</code></strong>, notifies are only
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User sent
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User for master zones.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User If <strong class="userinput"><code>explicit</code></strong>, notifies are sent only
0c487f4b6eade1440ea40f5a5ffc9b5fd4c41ed1Mark Andrews to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein servers explicitly listed using <span><strong class="command">also-notify</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <strong class="userinput"><code>no</code></strong>, no notifies are sent.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">notify</strong></span> option may also be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified in the <span><strong class="command">zone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in which case it overrides the <span><strong class="command">options notify</strong></span> statement.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein It would only be necessary to turn off this option if it
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews caused slaves
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to crash.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">recursion</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <strong class="userinput"><code>yes</code></strong>, and a
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater DNS query requests recursion, then the server will attempt
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater to do
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater all the work required to answer the query. If recursion is
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater off
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater and the server does not already know the answer, it will
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater return a
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater referral response. The default is
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <strong class="userinput"><code>yes</code></strong>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Note that setting <span><strong class="command">recursion no</strong></span> does not prevent
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater clients from getting data from the server's cache; it only
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater prevents new data from being cached as an effect of client
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater queries.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Caching may still occur as an effect the server's internal
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater operation, such as NOTIFY address lookups.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater See also <span><strong class="command">fetch-glue</strong></span> above.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p></dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">rfc2308-type1</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Setting this to <strong class="userinput"><code>yes</code></strong> will
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater cause the server to send NS records along with the SOA
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater record for negative
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater answers. The default is <strong class="userinput"><code>no</code></strong>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<h3 class="title">Note</h3>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Not yet implemented in <acronym class="acronym">BIND</acronym>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater 9.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater</div>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater</dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">use-id-pool</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd><p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <span class="emphasis"><em>This option is obsolete</em></span>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <acronym class="acronym">BIND</acronym> 9 always allocates query
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater IDs from a pool.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p></dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">zone-statistics</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd><p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater If <strong class="userinput"><code>yes</code></strong>, the server will collect
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater statistical data on all zones (unless specifically turned
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater off
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater on a per-zone basis by specifying <span><strong class="command">zone-statistics no</strong></span>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater in the <span><strong class="command">zone</strong></span> statement).
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater These statistics may be accessed
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater using <span><strong class="command">rndc stats</strong></span>, which will
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater dump them to the file listed
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater in the <span><strong class="command">statistics-file</strong></span>. See
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater also <a href="Bv9ARM.ch06.html#statsfile" title="The Statistics File">the section called &#8220;The Statistics File&#8221;</a>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p></dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">use-ixfr</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd><p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <span class="emphasis"><em>This option is obsolete</em></span>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater If you need to disable IXFR to a particular server or
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater servers see
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater the information on the <span><strong class="command">provide-ixfr</strong></span> option
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater in <a href="Bv9ARM.ch06.html#server_statement_definition_and_usage" title="server Statement Definition and
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Usage">the section called &#8220;<span><strong class="command">server</strong></span> Statement Definition and
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Usage&#8221;</a>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater See also
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <a href="Bv9ARM.ch04.html#incremental_zone_transfers" title="Incremental Zone Transfers (IXFR)">the section called &#8220;Incremental Zone Transfers (IXFR)&#8221;</a>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p></dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">provide-ixfr</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd><p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater See the description of
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <span><strong class="command">provide-ixfr</strong></span> in
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <a href="Bv9ARM.ch06.html#server_statement_definition_and_usage" title="server Statement Definition and
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Usage">the section called &#8220;<span><strong class="command">server</strong></span> Statement Definition and
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Usage&#8221;</a>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p></dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">request-ixfr</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd><p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater See the description of
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <span><strong class="command">request-ixfr</strong></span> in
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater <a href="Bv9ARM.ch06.html#server_statement_definition_and_usage" title="server Statement Definition and
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Usage">the section called &#8220;<span><strong class="command">server</strong></span> Statement Definition and
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater Usage&#8221;</a>.
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater </p></dd>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dt><span class="term"><span><strong class="command">treat-cr-as-space</strong></span></span></dt>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater<dd><p>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater This option was used in <acronym class="acronym">BIND</acronym>
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater 8 to make
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater the server treat carriage return ("<span><strong class="command">\r</strong></span>") characters the same way
0ddeab91cf922fd977f37318620b4c69dccf8364Automatic Updater as a space or tab character,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to facilitate loading of zone files on a UNIX system that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein were generated
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on an NT or DOS machine. In <acronym class="acronym">BIND</acronym> 9, both UNIX "<span><strong class="command">\n</strong></span>"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and NT/DOS "<span><strong class="command">\r\n</strong></span>" newlines
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are always accepted,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and the option is ignored.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<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>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein These options control the behavior of an authoritative
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server when
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein answering queries which have additional data, or when
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein following CNAME
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and DNAME chains.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
f8da2eefea1ea17bb233fa8c0c9b18404075dd9cAutomatic Updater<p>
f8da2eefea1ea17bb233fa8c0c9b18404075dd9cAutomatic Updater When both of these options are set to <strong class="userinput"><code>yes</code></strong>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater (the default) and a
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater query is being answered from authoritative data (a zone
f8da2eefea1ea17bb233fa8c0c9b18404075dd9cAutomatic Updater configured into the server), the additional data section of
f8da2eefea1ea17bb233fa8c0c9b18404075dd9cAutomatic Updater the
f8da2eefea1ea17bb233fa8c0c9b18404075dd9cAutomatic Updater reply will be filled in using data from other authoritative
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zones
0284e57b9b9dfaf2517a2cc3282ecf766b8ad075Automatic Updater and from the cache. In some situations this is undesirable,
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User such
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User as when there is concern over the correctness of the cache,
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User or
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User in servers where slave zones may be added and modified by
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User untrusted third parties. Also, avoiding
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User the search for this additional data will speed up server
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User operations
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User at the possible expense of additional queries to resolve
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User what would
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User otherwise be provided in the additional section.
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User </p>
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User<p>
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User For example, if a query asks for an MX record for host <code class="literal">foo.example.com</code>,
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User and the record found is "<code class="literal">MX 10 mail.example.net</code>", normally the address
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User records (A and AAAA) for <code class="literal">mail.example.net</code> will be provided as well,
b397f922936e9f73aa8c3ea40be3ad74285dacaaTinderbox User if known, even though they are not in the example.com zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Setting these options to <span><strong class="command">no</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein disables this behavior and makes
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews the server only search for additional data in the zone it
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews answers from.
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews </p>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews<p>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews These options are intended for use in authoritative-only
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews servers, or in authoritative-only views. Attempts to set
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews them to <span><strong class="command">no</strong></span> without also
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater specifying
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater <span><strong class="command">recursion no</strong></span> will cause the
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater server to
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater ignore the options and log a warning message.
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater </p>
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater<p>
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater Specifying <span><strong class="command">additional-from-cache no</strong></span> actually
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews disables the use of the cache not only for additional data
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews lookups
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews but also when looking up the answer. This is usually the
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews desired
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews behavior in an authoritative-only server where the
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater correctness of
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater the cached data is an issue.
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater </p>
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater<p>
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater When a name server is non-recursively queried for a name
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater that is not
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater below the apex of any served zone, it normally answers with
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater an
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater "upwards referral" to the root servers or the servers of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein some other
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein known parent of the query name. Since the data in an
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein upwards referral
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews comes from the cache, the server will not be able to provide
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews upwards
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews referrals when <span><strong class="command">additional-from-cache no</strong></span>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews has been specified. Instead, it will respond to such
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews queries
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater with REFUSED. This should not cause any problems since
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews upwards referrals are not required for the resolution
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews process.
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews </p>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews</dd>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews<dt><span class="term"><span><strong class="command">match-mapped-addresses</strong></span></span></dt>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews<dd><p>
acb72d5e2c83b597332e3eb0c7d59e1142f1adfdMark Andrews If <strong class="userinput"><code>yes</code></strong>, then an
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater IPv4-mapped IPv6 address will match any address match
517ae3de96aaf870049c52f1224e38a85fe7f21aAutomatic Updater list entries that match the corresponding IPv4 address.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Enabling this option is sometimes useful on IPv6-enabled
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Linux
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein systems, to work around a kernel quirk that causes IPv4
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein TCP connections such as zone transfers to be accepted
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on an IPv6 socket using mapped addresses, causing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address match lists designed for IPv4 to fail to match.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The use of this option for any other purpose is discouraged.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">ixfr-from-differences</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When <strong class="userinput"><code>yes</code></strong> and the server loads a new version of a master
22c71c7b86fa57a19f7df0da4222eb8593e6ad12Mark Andrews zone from its zone file or receives a new version of a slave
22c71c7b86fa57a19f7df0da4222eb8593e6ad12Mark Andrews file by a non-incremental zone transfer, it will compare
22c71c7b86fa57a19f7df0da4222eb8593e6ad12Mark Andrews the new version to the previous one and calculate a set
22c71c7b86fa57a19f7df0da4222eb8593e6ad12Mark Andrews of differences. The differences are then logged in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone's journal file such that the changes can be transmitted
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to downstream slaves as an incremental zone transfer.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein By allowing incremental zone transfers to be used for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein non-dynamic zones, this option saves bandwidth at the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein expense of increased CPU and memory consumption at the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein master.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In particular, if the new version of a zone is completely
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein different from the previous one, the set of differences
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be of a size comparable to the combined size of the
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews old and new zone version, and the server will need to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein temporarily allocate memory to hold this complete
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein difference set.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">ixfr-from-differences</strong></span>
18fa75b694d056da4be3ebfc2185d007d4882752Automatic Updater also accepts <span><strong class="command">master</strong></span> and
18fa75b694d056da4be3ebfc2185d007d4882752Automatic Updater <span><strong class="command">slave</strong></span> at the view and options
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater levels which causes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">ixfr-from-differences</strong></span> to apply to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein all <span><strong class="command">master</strong></span> or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">slave</strong></span> zones respectively.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">multi-master</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This should be set when you have multiple masters for a zone
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews and the
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews addresses refer to different machines. If <strong class="userinput"><code>yes</code></strong>, named will
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews not log
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews when the serial number on the master is less than what named
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews currently
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews has. The default is <strong class="userinput"><code>no</code></strong>.
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">dnssec-enable</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Enable DNSSEC support in named. Unless set to <strong class="userinput"><code>yes</code></strong>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein named behaves as if it does not support DNSSEC.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is <strong class="userinput"><code>yes</code></strong>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">dnssec-validation</strong></span></span></dt>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Enable DNSSEC validation in named.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater Note <span><strong class="command">dnssec-enable</strong></span> also needs to be
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater set to <strong class="userinput"><code>yes</code></strong> to be effective.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater The default is <strong class="userinput"><code>no</code></strong>.
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater </p></dd>
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater<dt><span class="term"><span><strong class="command">dnssec-accept-expired</strong></span></span></dt>
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater<dd><p>
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater Accept expired signatures when verifying DNSSEC signatures.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater The default is <strong class="userinput"><code>no</code></strong>.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater </p></dd>
1238b38c9f0ab563b762dc0fd00ac6c34c2b7295Automatic Updater<dt><span class="term"><span><strong class="command">querylog</strong></span></span></dt>
1238b38c9f0ab563b762dc0fd00ac6c34c2b7295Automatic Updater<dd><p>
1238b38c9f0ab563b762dc0fd00ac6c34c2b7295Automatic Updater Specify whether query logging should be started when named
1238b38c9f0ab563b762dc0fd00ac6c34c2b7295Automatic Updater starts.
1238b38c9f0ab563b762dc0fd00ac6c34c2b7295Automatic Updater If <span><strong class="command">querylog</strong></span> is not specified,
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater then the query logging
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater is determined by the presence of the logging category <span><strong class="command">queries</strong></span>.
1238b38c9f0ab563b762dc0fd00ac6c34c2b7295Automatic Updater </p></dd>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<dt><span class="term"><span><strong class="command">check-names</strong></span></span></dt>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<dd>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<p>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater This option is used to restrict the character set and syntax
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater of
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater certain domain names in master files and/or DNS responses
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater received
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater from the network. The default varies according to usage
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater area. For
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater <span><strong class="command">master</strong></span> zones the default is <span><strong class="command">fail</strong></span>.
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater For <span><strong class="command">slave</strong></span> zones the default
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater is <span><strong class="command">warn</strong></span>.
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater For answers received from the network (<span><strong class="command">response</strong></span>)
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater the default is <span><strong class="command">ignore</strong></span>.
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater </p>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<p>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater The rules for legal hostnames and mail domains are derived
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater from RFC 952 and RFC 821 as modified by RFC 1123.
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater </p>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<p><span><strong class="command">check-names</strong></span>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater applies to the owner names of A, AAA and MX records.
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater It also applies to the domain names in the RDATA of NS, SOA
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater and MX records.
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater It also applies to the RDATA of PTR records where the owner
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name indicated that it is a reverse lookup of a hostname
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (the owner name ends in IN-ADDR.ARPA, IP6.ARPA or IP6.INT).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-mx</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Check whether the MX record appears to refer to a IP address.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is to <span><strong class="command">warn</strong></span>. Other possible
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein values are <span><strong class="command">fail</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">ignore</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-wildcard</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This option is used to check for non-terminal wildcards.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The use of non-terminal wildcards is almost always as a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein result of a failure
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to understand the wildcard matching algorithm (RFC 1034).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein affects master zones. The default (<span><strong class="command">yes</strong></span>) is to check
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for non-terminal wildcards and issue a warning.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-integrity</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Perform post load zone integrity checks on master
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zones. This checks that MX and SRV records refer
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to address (A or AAAA) records and that glue
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address records exist for delegated zones. For
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein MX and SRV records only in-zone hostnames are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein checked (for out-of-zone hostnames use named-checkzone).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For NS records only names below top of zone are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein checked (for out-of-zone names and glue consistancy
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews checks use named-checkzone). The default is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">yes</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
285254345ce5ab270848f8c11f7be146793f1e00Mark Andrews<dt><span class="term"><span><strong class="command">check-mx-cname</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater If <span><strong class="command">check-integrity</strong></span> is set then
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater fail, warn or ignore MX records that refer
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater to CNAMES. The default is to <span><strong class="command">warn</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-srv-cname</strong></span></span></dt>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dd><p>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater If <span><strong class="command">check-integrity</strong></span> is set then
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein fail, warn or ignore SRV records that refer
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to CNAMES. The default is to <span><strong class="command">warn</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dt><span class="term"><span><strong class="command">check-sibling</strong></span></span></dt>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dd><p>
d3907d27cc138f45772d3d63082ae02c7659148aAutomatic Updater When performing integrity checks, also check that
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater sibling glue exists. The default is <span><strong class="command">yes</strong></span>.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater </p></dd>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dt><span class="term"><span><strong class="command">zero-no-soa-ttl</strong></span></span></dt>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dd><p>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater When returning authoritative negative responses to
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater SOA queries set the TTL of the SOA recored returned in
d3907d27cc138f45772d3d63082ae02c7659148aAutomatic Updater the authority section to zero.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater The default is <span><strong class="command">yes</strong></span>.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater </p></dd>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dt><span class="term"><span><strong class="command">zero-no-soa-ttl-cache</strong></span></span></dt>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dd><p>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater When caching a negative response to a SOA query
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater set the TTL to zero.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater The default is <span><strong class="command">no</strong></span>.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater </p></dd>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dt><span class="term"><span><strong class="command">update-check-ksk</strong></span></span></dt>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dd><p>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater When regenerating the RRSIGs following a UPDATE
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater request to a secure zone, check the KSK flag on
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater the DNSKEY RR to determine if this key should be
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater used to generate the RRSIG. This flag is ignored
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater if there are not DNSKEY RRs both with and without
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater a KSK.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater The default is <span><strong class="command">yes</strong></span>.
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater </p></dd>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dt><span class="term"><span><strong class="command">try-tcp-refresh</strong></span></span></dt>
38760f5b074d2974a56479fa8b3aeb4b89bf36c8Automatic Updater<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Try to refresh the zone using TCP if UDP queries fail.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is <span><strong class="command">yes</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</dl></div>
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2580678"></a>Forwarding</h4></div></div></div>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<p>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User The forwarding facility can be used to create a large site-wide
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cache on a few servers, reducing traffic over links to external
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name servers. It can also be used to allow queries by servers that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein do not have direct access to the Internet, but wish to look up
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein exterior
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User names anyway. Forwarding occurs only on those queries for which
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User the server is not authoritative and does not have the answer in
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User its cache.
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User </p>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<div class="variablelist"><dl>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<dt><span class="term"><span><strong class="command">forward</strong></span></span></dt>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<dd><p>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User This option is only meaningful if the
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User forwarders list is not empty. A value of <code class="varname">first</code>,
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User the default, causes the server to query the forwarders
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User first &#8212; and
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User if that doesn't answer the question, the server will then
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User look for
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User the answer itself. If <code class="varname">only</code> is
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User specified, the
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User server will only query the forwarders.
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User </p></dd>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<dt><span class="term"><span><strong class="command">forwarders</strong></span></span></dt>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<dd><p>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User Specifies the IP addresses to be used
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User for forwarding. The default is the empty list (no
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User forwarding).
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User </p></dd>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User</dl></div>
aa444144ad14bdd909fe5b70e1f7730b46ec6072Tinderbox User<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Forwarding can also be configured on a per-domain basis, allowing
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater for the global forwarding options to be overridden in a variety
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater of ways. You can set particular domains to use different
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater forwarders,
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater or have a different <span><strong class="command">forward only/first</strong></span> behavior,
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater or not forward at all, see <a href="Bv9ARM.ch06.html#zone_statement_grammar" title="zone
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater Statement Grammar">the section called &#8220;<span><strong class="command">zone</strong></span>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater Statement Grammar&#8221;</a>.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater </p>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater</div>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<div class="sect3" lang="en">
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<div class="titlepage"><div><div><h4 class="title">
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<a name="id2580737"></a>Dual-stack Servers</h4></div></div></div>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<p>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater Dual-stack servers are used as servers of last resort to work
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater around
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater problems in reachability due the lack of support for either IPv4
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater or IPv6
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater on the host machine.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater </p>
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater<div class="variablelist"><dl>
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater<dt><span class="term"><span><strong class="command">dual-stack-servers</strong></span></span></dt>
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater<dd><p>
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater Specifies host names or addresses of machines with access to
36da16fa31fa2a582afe67010ba449a57177fd2fAutomatic Updater both IPv4 and IPv6 transports. If a hostname is used, the
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater server must be able
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater to resolve the name using only the transport it has. If the
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater machine is dual
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater stacked, then the <span><strong class="command">dual-stack-servers</strong></span> have no effect unless
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater access to a transport has been disabled on the command line
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater (e.g. <span><strong class="command">named -4</strong></span>).
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater </p></dd>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater</dl></div>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater</div>
e31a258ca6ef845faf483fa8f04921e8841d3213Tinderbox User<div class="sect3" lang="en">
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<div class="titlepage"><div><div><h4 class="title">
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<a name="access_control"></a>Access Control</h4></div></div></div>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<p>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater Access to the server can be restricted based on the IP address
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater of the requesting system. See <a href="Bv9ARM.ch06.html#address_match_lists" title="Address Match Lists">the section called &#8220;Address Match Lists&#8221;</a> for
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater details on how to specify IP address lists.
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater </p>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<div class="variablelist"><dl>
d060d8669f5558690e7faf4a1c12fe5c02a7c60dAutomatic Updater<dt><span class="term"><span><strong class="command">allow-notify</strong></span></span></dt>
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater<dd><p>
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater Specifies which hosts are allowed to
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater notify this server, a slave, of zone changes in addition
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater to the zone masters.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater <span><strong class="command">allow-notify</strong></span> may also be
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater specified in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">zone</strong></span> statement, in which case
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it overrides the
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater <span><strong class="command">options allow-notify</strong></span>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater statement. It is only meaningful
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater for a slave zone. If not specified, the default is to
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater process notify messages
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater only from a zone's master.
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater </p></dd>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<dt><span class="term"><span><strong class="command">allow-query</strong></span></span></dt>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<dd>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specifies which hosts are allowed to ask ordinary
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater DNS questions. <span><strong class="command">allow-query</strong></span> may
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater also be specified in the <span><strong class="command">zone</strong></span>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater statement, in which case it overrides the
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">options allow-query</strong></span> statement.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater If not specified, the default is to allow queries
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater from all hosts.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater </p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<h3 class="title">Note</h3>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">allow-query-cache</strong></span> is now
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater used to specify access to the cache.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater </p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater</div>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater</dd>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater<dt><span class="term"><span><strong class="command">allow-query-on</strong></span></span></dt>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater<dd>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater<p>
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater Specifies which local addresses can accept ordinary
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater DNS questions. This makes it possible, for instance,
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater to allow queries on internal-facing interfaces but
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater disallow them on external-facing ones, without
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater necessarily knowing the internal network's addresses.
65ad89971ee9973074cd11c207af92bf5440df01Automatic Updater </p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<p>
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater <span><strong class="command">allow-query-on</strong></span> may
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater also be specified in the <span><strong class="command">zone</strong></span>
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater statement, in which case it overrides the
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater <span><strong class="command">options allow-query-on</strong></span> statement.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater </p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<p>
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater If not specified, the default is to allow queries
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater on all addresses.
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater </p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<h3 class="title">Note</h3>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">allow-query-cache</strong></span> is
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater used to specify access to the cache.
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater </p>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater</div>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater</dd>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater<dt><span class="term"><span><strong class="command">allow-query-cache</strong></span></span></dt>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater<dd><p>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater Specifies which hosts are allowed to get answers
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater from the cache. The default is the builtin acls
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater <span><strong class="command">localnets</strong></span> and
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">localhost</strong></span>.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater </p></dd>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<dt><span class="term"><span><strong class="command">allow-query-cache-on</strong></span></span></dt>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<dd><p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater Specifies which local addresses can give answers
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater from the cache. If not specified, the default is
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater to allow cache queries on any address.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">localnets</strong></span> and
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <span><strong class="command">localhost</strong></span>.
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater </p></dd>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater<dt><span class="term"><span><strong class="command">allow-recursion</strong></span></span></dt>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater<dd><p>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater Specifies which hosts are allowed to make recursive
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater queries through this server. If not specified,
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater the default is to allow recursive queries from
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater the builtin acls <span><strong class="command">localnets</strong></span> and
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater <span><strong class="command">localhost</strong></span>.
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater Note that disallowing recursive queries for a
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater host does not prevent the host from retrieving
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater data that is already in the server's cache.
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater </p></dd>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater<dt><span class="term"><span><strong class="command">allow-recursion-on</strong></span></span></dt>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater<dd><p>
b287974d182a164b84eaeaead39fcbe225e2a7f9Automatic Updater Specifies which local addresses can accept recursive
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater queries. If not specified, the default is to allow
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater recursive queries on all addresses.
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater </p></dd>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<dt><span class="term"><span><strong class="command">allow-update</strong></span></span></dt>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater<dd><p>
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater Specifies which hosts are allowed to
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater submit Dynamic DNS updates for master zones. The default is
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater to deny
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater updates from all hosts. Note that allowing updates based
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater on the requestor's IP address is insecure; see
d893c6248414d34d434a63216eaa5bd1fbec4ca4Automatic Updater <a href="Bv9ARM.ch07.html#dynamic_update_security" title="Dynamic Update Security">the section called &#8220;Dynamic Update Security&#8221;</a> for details.
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater </p></dd>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<dt><span class="term"><span><strong class="command">allow-update-forwarding</strong></span></span></dt>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<dd>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<p>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater Specifies which hosts are allowed to
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater submit Dynamic DNS updates to slave zones to be forwarded to
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater the
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater master. The default is <strong class="userinput"><code>{ none; }</code></strong>,
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater which
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater means that no update forwarding will be performed. To
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater enable
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater update forwarding, specify
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater <strong class="userinput"><code>allow-update-forwarding { any; };</code></strong>.
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater Specifying values other than <strong class="userinput"><code>{ none; }</code></strong> or
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater <strong class="userinput"><code>{ any; }</code></strong> is usually
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater counterproductive, since
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater the responsibility for update access control should rest
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater with the
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater master server, not the slaves.
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater </p>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<p>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater Note that enabling the update forwarding feature on a slave
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater server
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater may expose master servers relying on insecure IP address
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater based
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater access control to attacks; see <a href="Bv9ARM.ch07.html#dynamic_update_security" title="Dynamic Update Security">the section called &#8220;Dynamic Update Security&#8221;</a>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater for more details.
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater </p>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater</dd>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<dt><span class="term"><span><strong class="command">allow-v6-synthesis</strong></span></span></dt>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater<dd><p>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User This option was introduced for the smooth transition from
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User AAAA
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User to A6 and from "nibble labels" to binary labels.
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User However, since both A6 and binary labels were then
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User deprecated,
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User this option was also deprecated.
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User It is now ignored with some warning messages.
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User </p></dd>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<dt><span class="term"><span><strong class="command">allow-transfer</strong></span></span></dt>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<dd><p>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User Specifies which hosts are allowed to
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User receive zone transfers from the server. <span><strong class="command">allow-transfer</strong></span> may
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User also be specified in the <span><strong class="command">zone</strong></span>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User statement, in which
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User case it overrides the <span><strong class="command">options allow-transfer</strong></span> statement.
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User If not specified, the default is to allow transfers to all
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User hosts.
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User </p></dd>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<dt><span class="term"><span><strong class="command">blackhole</strong></span></span></dt>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<dd><p>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User Specifies a list of addresses that the
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User server will not accept queries from or use to resolve a
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User query. Queries
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User from these addresses will not be responded to. The default
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User is <strong class="userinput"><code>none</code></strong>.
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User </p></dd>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User</dl></div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User</div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<div class="sect3" lang="en">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<div class="titlepage"><div><div><h4 class="title">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<a name="id2581277"></a>Interfaces</h4></div></div></div>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<p>
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User The interfaces and ports that the server will answer queries
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User from may be specified using the <span><strong class="command">listen-on</strong></span> option. <span><strong class="command">listen-on</strong></span> takes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein an optional port, and an <code class="varname">address_match_list</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The server will listen on all interfaces allowed by the address
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match list. If a port is not specified, port 53 will be used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater Multiple <span><strong class="command">listen-on</strong></span> statements are
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater allowed.
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater For example,
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater </p>
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater<pre class="programlisting">listen-on { 5.6.7.8; };
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updaterlisten-on port 1234 { !1.2.3.4; 1.2/16; };
82d13321f4dcc79a9aec992c7a1c4aaff8983adaAutomatic Updater</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will enable the name server on port 53 for the IP address
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 5.6.7.8, and on port 1234 of an address on the machine in net
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 1.2 that is not 1.2.3.4.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If no <span><strong class="command">listen-on</strong></span> is specified, the
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews server will listen on port 53 on all interfaces.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">listen-on-v6</strong></span> option is used to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specify the interfaces and the ports on which the server will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein listen
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews for incoming queries sent using IPv6.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">{ any; }</pre>
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews<p> is
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews specified
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater as the <code class="varname">address_match_list</code> for the
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews <span><strong class="command">listen-on-v6</strong></span> option,
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews the server does not bind a separate socket to each IPv6 interface
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews address as it does for IPv4 if the operating system has enough API
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews support for IPv6 (specifically if it conforms to RFC 3493 and RFC
71eeac3530eabb7f70f4b6bdba5addb40a5bca27Mark Andrews 3542).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Instead, it listens on the IPv6 wildcard address.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the system only has incomplete API support for IPv6, however,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the behavior is the same as that for IPv4.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A list of particular IPv6 addresses can also be specified, in
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews which case
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the server listens on a separate socket for each specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein regardless of whether the desired API is supported by the system.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Multiple <span><strong class="command">listen-on-v6</strong></span> options can
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For example,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">listen-on-v6 { any; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinlisten-on-v6 port 1234 { !2001:db8::/32; any; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will enable the name server on port 53 for any IPv6 addresses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (with a single wildcard socket),
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and on port 1234 of IPv6 addresses that is not in the prefix
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 2001:db8::/32 (with separate sockets for each matched address.)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein To make the server not listen on any IPv6 address, use
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">listen-on-v6 { none; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If no <span><strong class="command">listen-on-v6</strong></span> option is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the server will not listen on any IPv6 address.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="query_address"></a>Query Address</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the server doesn't know the answer to a question, it will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein query other name servers. <span><strong class="command">query-source</strong></span> specifies
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the address and port used for such queries. For queries sent over
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IPv6, there is a separate <span><strong class="command">query-source-v6</strong></span> option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <span><strong class="command">address</strong></span> is <span><strong class="command">*</strong></span> (asterisk) or is omitted,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a wildcard IP address (<span><strong class="command">INADDR_ANY</strong></span>)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <span><strong class="command">port</strong></span> is <span><strong class="command">*</strong></span> or is omitted,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a pool of random unprivileged port will be used. See
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">use-queryport-pool</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">queryport-pool-ports</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">queryport-pool-updateinterval</strong></span> for how the pool
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is configured.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">avoid-v4-udp-ports</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and <span><strong class="command">avoid-v6-udp-ports</strong></span> options can be used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to prevent named
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein from selecting certain ports.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The defaults are:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">query-source address * port *;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinquery-source-v6 address * port *;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">use-queryport-pool</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Enable they use of query port pools. By default query port
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein pools are enabled unless there is a explicit port defined
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in <span><strong class="command">query-source</strong></span> or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">query-source-v6</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">queryport-pool-ports</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify how many pool ports to use. The default is 8.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">queryport-pool-updateinterval</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify how often, in minutes, that the queryport pool
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein should be recreated (new ports selected). The default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is 15 minutes.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h3 class="title">Note</h3>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The address specified in the <span><strong class="command">query-source</strong></span> option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is used for both UDP and TCP queries, but the port applies only
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to UDP queries. TCP queries always use a random
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein unprivileged port.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h3 class="title">Note</h3>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Solaris 2.5.1 and earlier does not support setting the source
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address for TCP sockets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h3 class="title">Note</h3>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See also <span><strong class="command">transfer-source</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">notify-source</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="zone_transfers"></a>Zone Transfers</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <acronym class="acronym">BIND</acronym> has mechanisms in place to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein facilitate zone transfers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and set limits on the amount of load that transfers place on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein system. The following options apply to zone transfers.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">also-notify</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Defines a global list of IP addresses of name servers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that are also sent NOTIFY messages whenever a fresh copy of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone is loaded, in addition to the servers listed in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone's NS records.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This helps to ensure that copies of the zones will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein quickly converge on stealth servers. If an <span><strong class="command">also-notify</strong></span> list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is given in a <span><strong class="command">zone</strong></span> statement,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it will override
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the <span><strong class="command">options also-notify</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement. When a <span><strong class="command">zone notify</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is set to <span><strong class="command">no</strong></span>, the IP
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein addresses in the global <span><strong class="command">also-notify</strong></span> list will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein not be sent NOTIFY messages for that zone. The default is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the empty
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein list (no global notification list).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-transfer-time-in</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Inbound zone transfers running longer than
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this many minutes will be terminated. The default is 120
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein minutes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (2 hours). The maximum value is 28 days (40320 minutes).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-transfer-idle-in</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Inbound zone transfers making no progress
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in this many minutes will be terminated. The default is 60
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein minutes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (1 hour). The maximum value is 28 days (40320 minutes).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-transfer-time-out</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Outbound zone transfers running longer than
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this many minutes will be terminated. The default is 120
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein minutes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (2 hours). The maximum value is 28 days (40320 minutes).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-transfer-idle-out</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Outbound zone transfers making no progress
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in this many minutes will be terminated. The default is 60
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein minutes (1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein hour). The maximum value is 28 days (40320 minutes).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">serial-query-rate</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Slave servers will periodically query master servers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to find out if zone serial numbers have changed. Each such
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein query uses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a minute amount of the slave server's network bandwidth. To
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein limit the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein amount of bandwidth used, BIND 9 limits the rate at which
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein queries are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein sent. The value of the <span><strong class="command">serial-query-rate</strong></span> option,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein an integer, is the maximum number of queries sent per
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein second.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is 20.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">serial-queries</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In BIND 8, the <span><strong class="command">serial-queries</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein set the maximum number of concurrent serial number queries
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein allowed to be outstanding at any given time.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein BIND 9 does not limit the number of outstanding
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein serial queries and ignores the <span><strong class="command">serial-queries</strong></span> option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Instead, it limits the rate at which the queries are sent
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as defined using the <span><strong class="command">serial-query-rate</strong></span> option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">transfer-format</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Zone transfers can be sent using two different formats,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">one-answer</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">many-answers</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">transfer-format</strong></span> option is used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on the master server to determine which format it sends.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">one-answer</strong></span> uses one DNS message per
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein resource record transferred.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">many-answers</strong></span> packs as many resource
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein records as possible into a message.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">many-answers</strong></span> is more efficient, but is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein only supported by relatively new slave servers,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein such as <acronym class="acronym">BIND</acronym> 9, <acronym class="acronym">BIND</acronym>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 8.x and <acronym class="acronym">BIND</acronym> 4.9.5 onwards.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">many-answers</strong></span> format is also supported by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein recent Microsoft Windows nameservers.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is <span><strong class="command">many-answers</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-format</strong></span> may be overridden on a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein per-server basis by using the <span><strong class="command">server</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">transfers-in</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum number of inbound zone transfers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that can be running concurrently. The default value is <code class="literal">10</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Increasing <span><strong class="command">transfers-in</strong></span> may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein speed up the convergence
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of slave zones, but it also may increase the load on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein local system.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">transfers-out</strong></span></span></dt>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum number of outbound zone transfers
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews that can be running concurrently. Zone transfer requests in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein excess
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the limit will be refused. The default value is <code class="literal">10</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">transfers-per-ns</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum number of inbound zone transfers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that can be concurrently transferring from a given remote
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default value is <code class="literal">2</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Increasing <span><strong class="command">transfers-per-ns</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein speed up the convergence of slave zones, but it also may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein increase
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the load on the remote name server. <span><strong class="command">transfers-per-ns</strong></span> may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be overridden on a per-server basis by using the <span><strong class="command">transfers</strong></span> phrase
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the <span><strong class="command">server</strong></span> statement.
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">transfer-source</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">transfer-source</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein determines which local address will be bound to IPv4
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein TCP connections used to fetch zones transferred
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein inbound by the server. It also determines the
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews source IPv4 address, and optionally the UDP port,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used for the refresh queries and forwarded dynamic
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein updates. If not set, it defaults to a system
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein controlled value which will usually be the address
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the interface "closest to" the remote end. This
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address must appear in the remote end's
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-transfer</strong></span> option for the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone being transferred, if one is specified. This
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement sets the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source</strong></span> for all zones,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein but can be overridden on a per-view or per-zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein basis by including a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source</strong></span> statement within
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the <span><strong class="command">view</strong></span> or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">zone</strong></span> block in the configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h3 class="title">Note</h3>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Solaris 2.5.1 and earlier does not support setting the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein source address for TCP sockets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">transfer-source-v6</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The same as <span><strong class="command">transfer-source</strong></span>,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews except zone transfers are performed using IPv6.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term"><span><strong class="command">alt-transfer-source</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An alternate transfer source if the one listed in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source</strong></span> fails and
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews <span><strong class="command">use-alt-transfer-source</strong></span> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein set.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<h3 class="title">Note</h3>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you do not wish the alternate transfer source
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be used, you should set
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">use-alt-transfer-source</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein appropriately and you should not depend upon
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein getting a answer back to the first refresh
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein query.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">alt-transfer-source-v6</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An alternate transfer source if the one listed in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source-v6</strong></span> fails and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">use-alt-transfer-source</strong></span> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein set.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">use-alt-transfer-source</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Use the alternate transfer sources or not. If views are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified this defaults to <span><strong class="command">no</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein otherwise it defaults to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">yes</strong></span> (for BIND 8
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein compatibility).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">notify-source</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">notify-source</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein determines which local source address, and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein optionally UDP port, will be used to send NOTIFY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages. This address must appear in the slave
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server's <span><strong class="command">masters</strong></span> zone clause or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in an <span><strong class="command">allow-notify</strong></span> clause. This
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement sets the <span><strong class="command">notify-source</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for all zones, but can be overridden on a per-zone or
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews per-view basis by including a
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews <span><strong class="command">notify-source</strong></span> statement within
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews the <span><strong class="command">zone</strong></span> or
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews <span><strong class="command">view</strong></span> block in the configuration
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews file.
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews </p>
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews<h3 class="title">Note</h3>
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews<p>
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews Solaris 2.5.1 and earlier does not support setting the
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews source address for TCP sockets.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">notify-source-v6</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Like <span><strong class="command">notify-source</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein but applies to notify messages sent to IPv6 addresses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2582245"></a>Bad UDP Port Lists</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">avoid-v4-udp-ports</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and <span><strong class="command">avoid-v6-udp-ports</strong></span> specify a list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of IPv4 and IPv6 UDP ports that will not be used as system
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein assigned source ports for UDP sockets. These lists
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein prevent named from choosing as its random source port a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein port that is blocked by your firewall. If a query went
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User out with such a source port, the answer would not get by
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User the firewall and the name server would have to query
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User again.
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User </p>
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User</div>
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User<div class="sect3" lang="en">
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User<div class="titlepage"><div><div><h4 class="title">
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User<a name="id2582260"></a>Operating System Resource Limits</h4></div></div></div>
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User<p>
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User The server's usage of many system resources can be limited.
53f41dd99da107af4e4e1e673d9c19a185463b24Tinderbox User Scaled values are allowed when specifying resource limits. For
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein example, <span><strong class="command">1G</strong></span> can be used instead of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">1073741824</strong></span> to specify a limit of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein one
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein gigabyte. <span><strong class="command">unlimited</strong></span> requests
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein unlimited use, or the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein maximum available amount. <span><strong class="command">default</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein uses the limit
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that was in force when the server was started. See the description
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of <span><strong class="command">size_spec</strong></span> in <a href="Bv9ARM.ch06.html#configuration_file_elements" title="Configuration File Elements">the section called &#8220;Configuration File Elements&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews The following options set operating system resource limits for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the name server process. Some operating systems don't support
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein some or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein any of the limits. On such systems, a warning will be issued if
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein unsupported limit is used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<dt><span class="term"><span><strong class="command">coresize</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum size of a core dump. The default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is <code class="literal">default</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">datasize</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews The maximum amount of data memory the server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may use. The default is <code class="literal">default</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This is a hard limit on server memory usage.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the server attempts to allocate memory in excess of this
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein limit, the allocation will fail, which may in turn leave
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the server unable to perform DNS service. Therefore,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this option is rarely useful as a way of limiting the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein amount of memory used by the server, but it can be used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to raise an operating system data size limit that is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein too small by default. If you wish to limit the amount
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of memory used by the server, use the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">max-cache-size</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">recursive-clients</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein options instead.
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">files</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum number of files the server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may have open concurrently. The default is <code class="literal">unlimited</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">stacksize</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews The maximum amount of stack memory the server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may use. The default is <code class="literal">default</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></div>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2582512"></a>Server Resource Limits</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The following options set limits on the server's
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews resource consumption that are enforced internally by the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server rather than the operating system.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-ixfr-log-size</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This option is obsolete; it is accepted
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and ignored for BIND 8 compatibility. The option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">max-journal-size</strong></span> performs a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein similar function in BIND 9.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-journal-size</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Sets a maximum size for each journal file
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (see <a href="Bv9ARM.ch04.html#journal" title="The journal file">the section called &#8220;The journal file&#8221;</a>). When the journal file
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein approaches
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the specified size, some of the oldest transactions in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein journal
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be automatically removed. The default is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">unlimited</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">host-statistics-max</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In BIND 8, specifies the maximum number of host statistics
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein entries to be kept.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Not implemented in BIND 9.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">recursive-clients</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum number of simultaneous recursive lookups
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the server will perform on behalf of clients. The default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">1000</code>. Because each recursing
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein client uses a fair
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein bit of memory, on the order of 20 kilobytes, the value of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">recursive-clients</strong></span> option may
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein have to be decreased
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on hosts with limited memory.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">tcp-clients</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum number of simultaneous client TCP
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein connections that the server will accept.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is <code class="literal">100</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-cache-size</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum amount of memory to use for the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server's cache, in bytes. When the amount of data in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein cache
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein reaches this limit, the server will cause records to expire
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein prematurely so that the limit is not exceeded. In a server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein multiple views, the limit applies separately to the cache of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein view. The default is <code class="literal">unlimited</code>, meaning that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein records are purged from the cache only when their TTLs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein expire.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">tcp-listen-queue</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The listen queue depth. The default and minimum is 3.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the kernel supports the accept filter "dataready" this
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein also controls how
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein many TCP connections that will be queued in kernel space
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein waiting for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein some data before being passed to accept. Values less than 3
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein silently raised.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2582645"></a>Periodic Task Intervals</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">cleaning-interval</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The server will remove expired resource records
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein from the cache every <span><strong class="command">cleaning-interval</strong></span> minutes.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is 60 minutes. The maximum value is 28 days
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (40320 minutes).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If set to 0, no periodic cleaning will occur.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater<dt><span class="term"><span><strong class="command">heartbeat-interval</strong></span></span></dt>
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The server will perform zone maintenance tasks
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for all zones marked as <span><strong class="command">dialup</strong></span> whenever this
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein interval expires. The default is 60 minutes. Reasonable
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater values are up
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater to 1 day (1440 minutes). The maximum value is 28 days
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater (40320 minutes).
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater If set to 0, no zone maintenance for these zones will occur.
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater </p></dd>
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater<dt><span class="term"><span><strong class="command">interface-interval</strong></span></span></dt>
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater<dd><p>
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater The server will scan the network interface list
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater every <span><strong class="command">interface-interval</strong></span>
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater minutes. The default
04ecc85ca69027c4d56b4a11ce5bafb21ebf3966Automatic Updater is 60 minutes. The maximum value is 28 days (40320 minutes).
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater If set to 0, interface scanning will only occur when
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater the configuration file is loaded. After the scan, the
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater server will
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater begin listening for queries on any newly discovered
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater interfaces (provided they are allowed by the
cd0df9459e87097d01fc6c0de0a283c7e8d3c401Automatic Updater <span><strong class="command">listen-on</strong></span> configuration), and
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater will
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater stop listening on interfaces that have gone away.
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater </p></dd>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<dt><span class="term"><span><strong class="command">statistics-interval</strong></span></span></dt>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<dd>
996dbb19570bb25601a3611db5d59ccda0a064c5Automatic Updater<p>
996dbb19570bb25601a3611db5d59ccda0a064c5Automatic Updater Name server statistics will be logged
996dbb19570bb25601a3611db5d59ccda0a064c5Automatic Updater every <span><strong class="command">statistics-interval</strong></span>
996dbb19570bb25601a3611db5d59ccda0a064c5Automatic Updater minutes. The default is
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater 60. The maximum value is 28 days (40320 minutes).
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater If set to 0, no statistics will be logged.
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater </p>
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<h3 class="title">Note</h3>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<p>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater Not yet implemented in
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater <acronym class="acronym">BIND</acronym>9.
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater </p>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater</div>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater</dd>
2cc7515f8a0c2f5f86ec85a853c7cb855b3d9536Tinderbox User</dl></div>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater</div>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<div class="sect3" lang="en">
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<div class="titlepage"><div><div><h4 class="title">
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<a name="topology"></a>Topology</h4></div></div></div>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<p>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater All other things being equal, when the server chooses a name
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater server
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater to query from a list of name servers, it prefers the one that is
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater topologically closest to itself. The <span><strong class="command">topology</strong></span> statement
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater takes an <span><strong class="command">address_match_list</strong></span> and
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater interprets it
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater in a special way. Each top-level list element is assigned a
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater distance.
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater Non-negated elements get a distance based on their position in the
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater list, where the closer the match is to the start of the list, the
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater shorter the distance is between it and the server. A negated match
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater will be assigned the maximum distance from the server. If there
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater is no match, the address will get a distance which is further than
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater any non-negated list element, and closer than any negated element.
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater For example,
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater </p>
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater<pre class="programlisting">topology {
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater 10/8;
e4adb07cc1f8253b3c39aeeeb3ea03dc5b7011ccAutomatic Updater !1.2.3/24;
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User { 1.2/16; 3/8; };
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User};</pre>
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User<p>
2cc7515f8a0c2f5f86ec85a853c7cb855b3d9536Tinderbox User will prefer servers on network 10 the most, followed by hosts
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User on network 1.2.0.0 (netmask 255.255.0.0) and network 3, with the
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User exception of hosts on network 1.2.3 (netmask 255.255.255.0), which
4cfb5ea3a5dd28477df37004d6345992d5f41a3fTinderbox User is preferred least of all.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default topology is
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater </p>
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater<pre class="programlisting"> topology { localhost; localnets; };
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater</pre>
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater<h3 class="title">Note</h3>
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater<p>
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater The <span><strong class="command">topology</strong></span> option
2a1d6afad5c725cbc796c10f1d2b9041eda9f077Automatic Updater is not implemented in <acronym class="acronym">BIND</acronym> 9.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="the_sortlist_statement"></a>The <span><strong class="command">sortlist</strong></span> Statement</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The response to a DNS query may consist of multiple resource
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein records (RRs) forming a resource records set (RRset).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The name server will normally return the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein RRs within the RRset in an indeterminate order
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (but see the <span><strong class="command">rrset-order</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement in <a href="Bv9ARM.ch06.html#rrset_ordering" title="RRset Ordering">the section called &#8220;RRset Ordering&#8221;</a>).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The client resolver code should rearrange the RRs as appropriate,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews that is, using any addresses on the local net in preference to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein other addresses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein However, not all resolvers can do this or are correctly
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater configured.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When a client is using a local server, the sorting can be performed
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in the server, based on the client's address. This only requires
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater configuring the name servers, not all the clients.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">sortlist</strong></span> statement (see below)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein takes
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein an <span><strong class="command">address_match_list</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein interprets it even
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater more specifically than the <span><strong class="command">topology</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater does (<a href="Bv9ARM.ch06.html#topology" title="Topology">the section called &#8220;Topology&#8221;</a>).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Each top level statement in the <span><strong class="command">sortlist</strong></span> must
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein itself be an explicit <span><strong class="command">address_match_list</strong></span> with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein one or two elements. The first element (which may be an IP
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein an IP prefix, an ACL name or a nested <span><strong class="command">address_match_list</strong></span>)
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater of each top level list is checked against the source address of
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater the query until a match is found.
f051d76c87e055c6ea3879e0c97a76609df915ccMark Andrews </p>
f051d76c87e055c6ea3879e0c97a76609df915ccMark Andrews<p>
f051d76c87e055c6ea3879e0c97a76609df915ccMark Andrews Once the source address of the query has been matched, if
f051d76c87e055c6ea3879e0c97a76609df915ccMark Andrews the top level statement contains only one element, the actual
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater primitive
f051d76c87e055c6ea3879e0c97a76609df915ccMark Andrews element that matched the source address is used to select the
f051d76c87e055c6ea3879e0c97a76609df915ccMark Andrews address
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater in the response to move to the beginning of the response. If the
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater statement is a list of two elements, then the second element is
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater treated the same as the <span><strong class="command">address_match_list</strong></span> in
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater a <span><strong class="command">topology</strong></span> statement. Each top
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater level element
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater is assigned a distance and the address in the response with the
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater minimum
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater distance is moved to the beginning of the response.
ebabe300b615154d08f5577822cfd8726d2643c8Automatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews In the following example, any queries received from any of
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews the addresses of the host itself will get responses preferring
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews addresses
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews on any of the locally connected networks. Next most preferred are
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater addresses
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater on the 192.168.1/24 network, and after that either the
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater 192.168.2/24
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 192.168.3/24 network with no preference shown between these two
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein networks. Queries received from a host on the 192.168.1/24 network
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater will prefer other addresses on that network to the 192.168.2/24
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews and
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews 192.168.3/24 networks. Queries received from a host on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 192.168.4/24
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or the 192.168.5/24 network will only prefer other addresses on
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein their directly connected networks.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">sortlist {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { localhost; // IF the local host
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { localnets; // THEN first fit on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 192.168.1/24; // following nets
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.2/24; 192.168.3/24; }; }; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.1/24; // IF on class C 192.168.1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.1/24; // THEN use .1, or .2 or .3
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.2/24; 192.168.3/24; }; }; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.2/24; // IF on class C 192.168.2
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.2/24; // THEN use .2, or .1 or .3
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.1/24; 192.168.3/24; }; }; };
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews { 192.168.3/24; // IF on class C 192.168.3
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.3/24; // THEN use .3, or .1 or .2
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { 192.168.1/24; 192.168.2/24; }; }; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein { { 192.168.4/24; 192.168.5/24; }; // if .4 or .5, prefer that net
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews };
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews};</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The following example will give reasonable behavior for the
f02216f5b390ff0a589fa080f29350fd7794bf5cMark Andrews local host and hosts on directly connected networks. It is similar
72628d3a5ef809d995c759130a81a1b1ae1395e0Automatic Updater to the behavior of the address sort in <acronym class="acronym">BIND</acronym> 4.9.x. Responses sent
72628d3a5ef809d995c759130a81a1b1ae1395e0Automatic Updater to queries from the local host will favor any of the directly
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews connected
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews networks. Responses sent to queries from any other hosts on a
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews directly
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein connected network will prefer addresses on that same network.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Responses
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater to other queries will not be sorted.
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater </p>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater<pre class="programlisting">sortlist {
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater { localhost; localnets; };
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater { localnets; };
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater};
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater</pre>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater</div>
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater<div class="sect3" lang="en">
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews<div class="titlepage"><div><div><h4 class="title">
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<a name="rrset_ordering"></a>RRset Ordering</h4></div></div></div>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews When multiple records are returned in an answer it may be
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews useful to configure the order of the records placed into the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews response.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">rrset-order</strong></span> statement permits
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the ordering of the records in a multiple record response.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See also the <span><strong class="command">sortlist</strong></span> statement,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <a href="Bv9ARM.ch06.html#the_sortlist_statement" title="The sortlist Statement">the section called &#8220;The <span><strong class="command">sortlist</strong></span> Statement&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An <span><strong class="command">order_spec</strong></span> is defined as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein follows:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews<p>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User [<span class="optional">class <em class="replaceable"><code>class_name</code></em></span>]
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User [<span class="optional">type <em class="replaceable"><code>type_name</code></em></span>]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [<span class="optional">name <em class="replaceable"><code>"domain_name"</code></em></span>]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews order <em class="replaceable"><code>ordering</code></em>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews If no class is specified, the default is <span><strong class="command">ANY</strong></span>.
dc91524e4b73ee70908a295e3f2f62305680c5c2Automatic Updater If no type is specified, the default is <span><strong class="command">ANY</strong></span>.
dc91524e4b73ee70908a295e3f2f62305680c5c2Automatic Updater If no name is specified, the default is "<span><strong class="command">*</strong></span>" (asterisk).
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
a1b05dea35aa30b152a47115e18bbe679d3fcf19Mark Andrews<p>
dc91524e4b73ee70908a295e3f2f62305680c5c2Automatic Updater The legal values for <span><strong class="command">ordering</strong></span> are:
dc91524e4b73ee70908a295e3f2f62305680c5c2Automatic Updater </p>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<div class="informaltable"><table border="1">
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<colgroup>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<col>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User<col>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User</colgroup>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User<tbody>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User<tr>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<td>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User <p><span><strong class="command">fixed</strong></span></p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </td>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<td>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Records are returned in the order they
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews are defined in the zone file.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </td>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews</tr>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<tr>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<td>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <p><span><strong class="command">random</strong></span></p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </td>
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews<td>
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews <p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews Records are returned in some random order.
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews </p>
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews </td>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User</tr>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<tr>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User<td>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User <p><span><strong class="command">cyclic</strong></span></p>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User </td>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User<td>
299e3f18eb4f9297e6f06ca373806b07bec13a02Tinderbox User <p>
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User Records are returned in a round-robin
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews order.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </td>
01b18d4c7c14ccb93708ab7ffdece3ac67b15a7cAutomatic Updater</tr>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews</tbody>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews</table></div>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews For example:
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<pre class="programlisting">rrset-order {
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews class IN type A name "host.example.com" order random;
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews order cyclic;
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews};
083a5588a3488b6335ee7bafa505d00644c7c58dMark Andrews</pre>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater will cause any responses for type A records in class IN that
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater have "<code class="literal">host.example.com</code>" as a
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater suffix, to always be returned
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater in random order. All other records are returned in cyclic order.
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater </p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater If multiple <span><strong class="command">rrset-order</strong></span> statements
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater appear,
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater they are not combined &#8212; the last one applies.
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater </p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<h3 class="title">Note</h3>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater The <span><strong class="command">rrset-order</strong></span> statement
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater is not yet fully implemented in <acronym class="acronym">BIND</acronym> 9.
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater BIND 9 currently does not fully support "fixed" ordering.
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater </p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater</div>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater</div>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<div class="sect3" lang="en">
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<div class="titlepage"><div><div><h4 class="title">
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<a name="tuning"></a>Tuning</h4></div></div></div>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<div class="variablelist"><dl>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<dt><span class="term"><span><strong class="command">lame-ttl</strong></span></span></dt>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<dd><p>
089c63b69cdf6803aa8901aae3f2fbae58969511Automatic Updater Sets the number of seconds to cache a
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater lame server indication. 0 disables caching. (This is
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater <span class="bold"><strong>NOT</strong></span> recommended.)
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater The default is <code class="literal">600</code> (10 minutes) and the
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater maximum value is
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater <code class="literal">1800</code> (30 minutes).
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater </p></dd>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<dt><span class="term"><span><strong class="command">max-ncache-ttl</strong></span></span></dt>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater<dd><p>
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater To reduce network traffic and increase performance,
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater the server stores negative answers. <span><strong class="command">max-ncache-ttl</strong></span> is
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater used to set a maximum retention time for these answers in
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater the server
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater in seconds. The default
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater <span><strong class="command">max-ncache-ttl</strong></span> is <code class="literal">10800</code> seconds (3 hours).
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater <span><strong class="command">max-ncache-ttl</strong></span> cannot exceed
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater 7 days and will
3b2c6af63e0367c6eabe0a21ca23841ca87cd22fAutomatic Updater be silently truncated to 7 days if set to a greater value.
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater </p></dd>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater<dt><span class="term"><span><strong class="command">max-cache-ttl</strong></span></span></dt>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater<dd><p>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater Sets the maximum time for which the server will
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater cache ordinary (positive) answers. The default is
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater one week (7 days).
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater </p></dd>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater<dt><span class="term"><span><strong class="command">min-roots</strong></span></span></dt>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater<dd>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater<p>
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater The minimum number of root servers that
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater is required for a request for the root servers to be
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater accepted. The default
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater is <strong class="userinput"><code>2</code></strong>.
db6353c9b89628e16f6e729ce57baabad3460c49Automatic Updater </p>
6bf6622b7b9053dc52527478473b572f042c4b5bMark Andrews<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
6bf6622b7b9053dc52527478473b572f042c4b5bMark Andrews<h3 class="title">Note</h3>
6bf6622b7b9053dc52527478473b572f042c4b5bMark Andrews<p>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews Not implemented in <acronym class="acronym">BIND</acronym> 9.
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews </p>
6bf6622b7b9053dc52527478473b572f042c4b5bMark Andrews</div>
089c63b69cdf6803aa8901aae3f2fbae58969511Automatic Updater</dd>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater<dt><span class="term"><span><strong class="command">sig-validity-interval</strong></span></span></dt>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater<dd><p>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater Specifies the number of days into the
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater future when DNSSEC signatures automatically generated as a
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater result
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater of dynamic updates (<a href="Bv9ARM.ch04.html#dynamic_update" title="Dynamic Update">the section called &#8220;Dynamic Update&#8221;</a>)
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater will expire. The default is <code class="literal">30</code> days.
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater The maximum value is 10 years (3660 days). The signature
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater inception time is unconditionally set to one hour before the
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater current time
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater to allow for a limited amount of clock skew.
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater </p></dd>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater<dt>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater<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>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater</dt>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater<dd>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater<p>
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater These options control the server's behavior on refreshing a
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater zone
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater (querying for SOA changes) or retrying failed transfers.
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater Usually the SOA values for the zone are used, but these
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater values
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater are set by the master, giving slave server administrators
7a0d680aa507f1b9beaa5c350e4d562aab534323Automatic Updater little
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein control over their contents.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein These options allow the administrator to set a minimum and
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User maximum
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein refresh and retry time either per-zone, per-view, or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein globally.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein These options are valid for slave and stub zones,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and clamp the SOA refresh and retry times to the specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein values.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">edns-udp-size</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Sets the advertised EDNS UDP buffer size in bytes. Valid
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein values are 512 to 4096 (values outside this range
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be silently adjusted). The default value is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 4096. The usual reason for setting edns-udp-size to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a non-default value it to get UDP answers to pass
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein through broken firewalls that block fragmented
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein packets and/or block UDP packets that are greater
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews than 512 bytes.
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-udp-size</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Sets the maximum EDNS UDP message size named will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein send in bytes. Valid values are 512 to 4096 (values outside
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this range will be silently adjusted). The default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein value is 4096. The usual reason for setting
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein max-udp-size to a non-default value is to get UDP
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein answers to pass through broken firewalls that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein block fragmented packets and/or block UDP packets
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that are greater than 512 bytes.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">masterfile-format</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>Specifies
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the file format of zone files (see
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <a href="Bv9ARM.ch06.html#zonefile_format" title="Additional File Formats">the section called &#8220;Additional File Formats&#8221;</a>).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default value is <code class="constant">text</code>, which is the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein standard textual representation. Files in other formats
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein than <code class="constant">text</code> are typically expected
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be generated by the <span><strong class="command">named-compilezone</strong></span> tool.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Note that when a zone file in a different format than
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="constant">text</code> is loaded, <span><strong class="command">named</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein may omit some of the checks which would be performed for a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file in the <code class="constant">text</code> format. In particular,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">check-names</strong></span> checks do not apply
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for the <code class="constant">raw</code> format. This means
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User a zone file in the <code class="constant">raw</code> format
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein must be generated with the same check level as that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified in the <span><strong class="command">named</strong></span> configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file. This statement sets the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">masterfile-format</strong></span> for all zones,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein but can be overridden on a per-zone or per-view basis
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein by including a <span><strong class="command">masterfile-format</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement within the <span><strong class="command">zone</strong></span> or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">view</strong></span> block in the configuration
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<dt>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<span class="term"><span><strong class="command">clients-per-query</strong></span>, </span><span class="term"><span><strong class="command">max-clients-per-query</strong></span></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>These set the
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews initial value (minimum) and maximum number of recursive
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein simultanious clients for any given query
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (&lt;qname,qtype,qclass&gt;) that the server will accept
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein before dropping additional clients. named will attempt to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein self tune this value and changes will be logged. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default values are 10 and 100.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This value should reflect how many queries come in for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a given name in the time it takes to resolve that name.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If the number of queries exceed this value, named will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein assume that it is dealing with a non-responsive zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and will drop additional queries. If it gets a response
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein after dropping queries, it will raise the estimate. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein estimate will then be lowered in 20 minutes if it has
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein remained unchanged.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <span><strong class="command">clients-per-query</strong></span> is set to zero,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein then there is no limit on the number of clients per query
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and no queries will be dropped.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <span><strong class="command">max-clients-per-query</strong></span> is set to zero,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein then there is no upper bound other than imposed by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">recursive-clients</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="builtin"></a>Built-in server information zones</h4></div></div></div>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews<p>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews The server provides some helpful diagnostic information
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews through a number of built-in zones under the
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews pseudo-top-level-domain <code class="literal">bind</code> in the
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews <span><strong class="command">CHAOS</strong></span> class. These zones are part
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews of a
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews built-in view (see <a href="Bv9ARM.ch06.html#view_statement_grammar" title="view Statement Grammar">the section called &#8220;<span><strong class="command">view</strong></span> Statement Grammar&#8221;</a>) of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein class
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">CHAOS</strong></span> which is separate from the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default view of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein class <span><strong class="command">IN</strong></span>; therefore, any global
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews server options
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews such as <span><strong class="command">allow-query</strong></span> do not apply
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the these zones.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you feel the need to disable these zones, use the options
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein below, or hide the built-in <span><strong class="command">CHAOS</strong></span>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews view by
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews defining an explicit view of class <span><strong class="command">CHAOS</strong></span>
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews that matches all clients.
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews </p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<div class="variablelist"><dl>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<dt><span class="term"><span><strong class="command">version</strong></span></span></dt>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<dd><p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews The version the server should report
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews via a query of the name <code class="literal">version.bind</code>
21e01d1a464c9b3c694534a5e283bcde361e72bdTinderbox User with type <span><strong class="command">TXT</strong></span>, class <span><strong class="command">CHAOS</strong></span>.
21e01d1a464c9b3c694534a5e283bcde361e72bdTinderbox User The default is the real version number of this server.
21e01d1a464c9b3c694534a5e283bcde361e72bdTinderbox User Specifying <span><strong class="command">version none</strong></span>
21e01d1a464c9b3c694534a5e283bcde361e72bdTinderbox User disables processing of the queries.
21e01d1a464c9b3c694534a5e283bcde361e72bdTinderbox User </p></dd>
21e01d1a464c9b3c694534a5e283bcde361e72bdTinderbox User<dt><span class="term"><span><strong class="command">hostname</strong></span></span></dt>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<dd><p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews The hostname the server should report via a query of
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews the name <code class="filename">hostname.bind</code>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews with type <span><strong class="command">TXT</strong></span>, class <span><strong class="command">CHAOS</strong></span>.
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews This defaults to the hostname of the machine hosting the
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews name server as
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews found by the gethostname() function. The primary purpose of such queries
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews is to
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews identify which of a group of anycast servers is actually
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews answering your queries. Specifying <span><strong class="command">hostname none;</strong></span>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews disables processing of the queries.
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews </p></dd>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<dt><span class="term"><span><strong class="command">server-id</strong></span></span></dt>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<dd><p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews The ID of the server should report via a query of
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews the name <code class="filename">ID.SERVER</code>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews with type <span><strong class="command">TXT</strong></span>, class <span><strong class="command">CHAOS</strong></span>.
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews The primary purpose of such queries is to
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews identify which of a group of anycast servers is actually
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews answering your queries. Specifying <span><strong class="command">server-id none;</strong></span>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews disables processing of the queries.
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews Specifying <span><strong class="command">server-id hostname;</strong></span> will cause named to
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews use the hostname as found by the gethostname() function.
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews The default <span><strong class="command">server-id</strong></span> is <span><strong class="command">none</strong></span>.
8ae3bbdd860f8abe3d47ec02d1f4d2008bf46f63Automatic Updater </p></dd>
8ae3bbdd860f8abe3d47ec02d1f4d2008bf46f63Automatic Updater</dl></div>
8ae3bbdd860f8abe3d47ec02d1f4d2008bf46f63Automatic Updater</div>
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews<div class="sect3" lang="en">
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews<div class="titlepage"><div><div><h4 class="title">
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<a name="empty"></a>Built-in Empty Zones</h4></div></div></div>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews Named has some built-in empty zones (SOA and NS records only).
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews These are for zones that should normally be answered locally
a404eb87dc8f91fe81bedce8bb3957fc3c7684a5Mark Andrews and which queries should not be sent to the Internet's root
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews servers. The offical servers which cover these namespaces
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews return NXDOMAIN responses to these queries. In particular,
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews these cover the reverse namespace for addresses from RFC 1918 and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein RFC 3330. They also include the reverse namespace for IPv6 local
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address (locally assigned), IPv6 link local addresses, the IPv6
035992291cb70ec3be4046fcea921b4a6acb1c77Mark Andrews loopback address and the IPv6 unknown addresss.
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews </p>
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews<p>
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews Named will attempt to determine if a built in zone already exists
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews or is active (covered by a forward-only forwarding declaration)
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews and will not not create a empty zone in that case.
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews </p>
bddb70a27123e31020438cff811d898d44b42c71Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The current list of empty zones is:
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews </p>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<div class="itemizedlist"><ul type="disc">
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<li>10.IN-ADDR.ARPA</li>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<li>127.IN-ADDR.ARPA</li>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<li>254.169.IN-ADDR.ARPA</li>
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews<li>16.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>17.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>18.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>19.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>20.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>21.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>22.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>23.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>24.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>25.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>26.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>27.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>28.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>29.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>30.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>31.172.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>168.192.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>2.0.192.IN-ADDR.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>D.F.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>8.E.F.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>9.E.F.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>A.E.F.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<li>B.E.F.IP6.ARPA</li>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</ul></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Empty zones are settable at the view level and only apply to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein views of class IN. Disabled empty zones are only inherited
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein from options if there are no disabled empty zones specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein at the view level. To override the options list of disabled
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zones, you can disable the root zone at the view level, for example:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein disable-empty-zone ".";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you are using the address ranges covered here, you should
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein already have reverse zones covering the addresses you use.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In practice this appears to not be the case with many queries
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein being made to the infrustructure servers for names in these
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein spaces. So many in fact that sacrificial servers were needed
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be deployed to channel the query load away from the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein infrustructure servers.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<h3 class="title">Note</h3>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The real parent servers for these zones should disable all
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein empty zone under the parent zone they serve. For the real
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein root servers, this is all built in empty zones. This will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein enable them to return referrals to deeper in the tree.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">empty-server</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify what server name will appear in the returned
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein SOA record for empty zones. If none is specified, then
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the zone's name will be used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">empty-contact</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specify what contact name will appear in the returned
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater SOA record for empty zones. If none is specified, then
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater "." will be used.
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater </p></dd>
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater<dt><span class="term"><span><strong class="command">empty-zones-enable</strong></span></span></dt>
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater<dd><p>
07ee99c7d0c2cd7f3e72263c29bd76ebd6d7ed43Automatic Updater Enable or disable all empty zones. By default they
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater are enabled.
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater </p></dd>
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater<dt><span class="term"><span><strong class="command">disable-empty-zone</strong></span></span></dt>
e7ac7921af0a875c17af3e8cb8cca46d1776ffe7Tinderbox User<dd><p>
e7ac7921af0a875c17af3e8cb8cca46d1776ffe7Tinderbox User Disable individual empty zones. By default none are
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater disabled. This option can be specified multiple times.
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater </p></dd>
79cf9524b15ca65f55fd6913e6cf01b5581c588aAutomatic Updater</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="statsfile"></a>The Statistics File</h4></div></div></div>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The statistics file generated by <acronym class="acronym">BIND</acronym> 9
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is similar, but not identical, to that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein generated by <acronym class="acronym">BIND</acronym> 8.
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The statistics dump begins with a line, like:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">+++ Statistics Dump +++ (973798949)</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The number in parentheses is a standard
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Unix-style timestamp, measured as seconds since January 1, 1970.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce Following
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that line are a series of lines containing a counter type, the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein value of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein counter, optionally a zone name, and optionally a view name.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The lines without view and zone listed are global statistics for
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the entire server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Lines with a zone and view name for the given view and zone (the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein view name is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein omitted for the default view).
24e79a68e1b16324e17364fcd8959379ff6e20e9Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The statistics dump ends with the line where the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein number is identical to the number in the beginning line; for example:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User<p>
f9aef05653eeb454c489d5bd2bde6daab774ad4aTinderbox User <span><strong class="command">--- Statistics Dump --- (973798949)</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The following statistics counters are maintained:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">success</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The number of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein successful queries made to the server or zone. A
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein successful query
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is defined as query which returns a NOERROR response
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with at least
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein one answer RR.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">referral</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
3eb9ec750c9088869170dda63e8899b2ba462823Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The number of queries which resulted
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in referral responses.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">nxrrset</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The number of queries which resulted in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein NOERROR responses with no data.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">nxdomain</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The number
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater of queries which resulted in NXDOMAIN responses.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p><span><strong class="command">failure</strong></span></p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater The number of queries which resulted in a
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater failure response other than those above.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">recursion</strong></span></p>
3970098dcd2a7122541667b4b56cea8abce8ccf2Mark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater The number of queries which caused the server
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater to perform recursion in order to find the final answer.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </td>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</tr>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</tbody>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</table></div>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Each query received by the server will cause exactly one of
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">success</strong></span>,
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">referral</strong></span>,
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">nxrrset</strong></span>,
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">nxdomain</strong></span>, or
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">failure</strong></span>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater to be incremented, and may additionally cause the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">recursion</strong></span> counter to be
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater incremented.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</div>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<div class="sect3" lang="en">
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<div class="titlepage"><div><div><h4 class="title">
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<a name="acache"></a>Additional Section Caching</h4></div></div></div>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater The additional section cache, also called <span><strong class="command">acache</strong></span>,
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater is an internal cache to improve the response performance of BIND 9.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater When additional section caching is enabled, BIND 9 will
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater cache an internal short-cut to the additional section content for
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater each answer RR.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Note that <span><strong class="command">acache</strong></span> is an internal caching
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater mechanism of BIND 9, and is not related to the DNS caching
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater server function.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Additional section caching does not change the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater response content (except the RRsets ordering of the additional
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater section, see below), but can improve the response performance
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater significantly.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater It is particularly effective when BIND 9 acts as an authoritative
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater server for a zone that has many delegations with many glue RRs.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater In order to obtain the maximum performance improvement
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater from additional section caching, setting
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">additional-from-cache</strong></span>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater to <span><strong class="command">no</strong></span> is recommended, since the current
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater implementation of <span><strong class="command">acache</strong></span>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater does not short-cut of additional section information from the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater DNS cache data.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater One obvious disadvantage of <span><strong class="command">acache</strong></span> is
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater that it requires much more
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater memory for the internal cached data.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Thus, if the response performance does not matter and memory
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater consumption is much more critical, the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">acache</strong></span> mechanism can be
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater disabled by setting <span><strong class="command">acache-enable</strong></span> to
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">no</strong></span>.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater It is also possible to specify the upper limit of memory
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater consumption
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews for acache by using <span><strong class="command">max-acache-size</strong></span>.
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews </p>
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Additional section caching also has a minor effect on the
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews RRset ordering in the additional section.
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews Without <span><strong class="command">acache</strong></span>,
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews <span><strong class="command">cyclic</strong></span> order is effective for the additional
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater section as well as the answer and authority sections.
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews However, additional section caching fixes the ordering when it
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews first caches an RRset for the additional section, and the same
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews ordering will be kept in succeeding responses, regardless of the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater setting of <span><strong class="command">rrset-order</strong></span>.
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews The effect of this should be minor, however, since an
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews RRset in the additional section
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein typically only contains a small number of RRs (and in many cases
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it only contains a single RR), in which case the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein ordering does not matter much.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews The following is a summary of options related to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">acache</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">acache-enable</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews If <span><strong class="command">yes</strong></span>, additional section caching is
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews enabled. The default value is <span><strong class="command">no</strong></span>.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p></dd>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<dt><span class="term"><span><strong class="command">acache-cleaning-interval</strong></span></span></dt>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<dd><p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews The server will remove stale cache entries, based on an LRU
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews based
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein algorithm, every <span><strong class="command">acache-cleaning-interval</strong></span> minutes.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is 60 minutes.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If set to 0, no periodic cleaning will occur.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">max-acache-size</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The maximum amount of memory in bytes to use for the server's acache.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When the amount of data in the acache reaches this limit,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will clean more aggressively so that the limit is not
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews exceeded.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In a server with multiple views, the limit applies
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein separately to the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein acache of each view.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is <code class="literal">unlimited</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein meaning that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein entries are purged from the acache only at the
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater periodic cleaning time.
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</dl></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="server_statement_grammar"></a><span><strong class="command">server</strong></span> Statement Grammar</h3></div></div></div>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater<pre class="programlisting">server <em class="replaceable"><code>ip_addr[/prefixlen]</code></em> {
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<span class="optional"> bogus <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<span class="optional"> provide-ixfr <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<span class="optional"> request-ixfr <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<span class="optional"> edns <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<span class="optional"> edns-udp-size <em class="replaceable"><code>number</code></em> ; </span>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<span class="optional"> max-udp-size <em class="replaceable"><code>number</code></em> ; </span>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<span class="optional"> transfers <em class="replaceable"><code>number</code></em> ; </span>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<span class="optional"> transfer-format <em class="replaceable"><code>( one-answer | many-answers )</code></em> ; ]</span>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<span class="optional"> keys <em class="replaceable"><code>{ string ; [<span class="optional"> string ; [<span class="optional">...</span>]</span>] }</code></em> ; </span>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<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>]
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater [<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>]
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> use-queryport-pool <em class="replaceable"><code>yse_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> queryport-pool-ports <em class="replaceable"><code>number</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> queryport-pool-interval <em class="replaceable"><code>number</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater<div class="titlepage"><div><div><h3 class="title">
d9c707589ade5d69fb59b6837555adc4cd24d34fAutomatic Updater<a name="server_statement_definition_and_usage"></a><span><strong class="command">server</strong></span> Statement Definition and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Usage</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">server</strong></span> statement defines
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein characteristics
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be associated with a remote name server. If a prefix length is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified, then a range of servers is covered. Only the most
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specific
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein server clause applies regardless of the order in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">named.conf</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">server</strong></span> statement can occur at
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the top level of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configuration file or inside a <span><strong class="command">view</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If a <span><strong class="command">view</strong></span> statement contains
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein one or more <span><strong class="command">server</strong></span> statements, only
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein those
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein apply to the view and any top-level ones are ignored.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If a view contains no <span><strong class="command">server</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statements,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein any top-level <span><strong class="command">server</strong></span> statements are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein defaults.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If you discover that a remote server is giving out bad data,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein marking it as bogus will prevent further queries to it. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater value of <span><strong class="command">bogus</strong></span> is <span><strong class="command">no</strong></span>.
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater </p>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater<p>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater The <span><strong class="command">provide-ixfr</strong></span> clause determines
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater whether
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater the local server, acting as master, will respond with an
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater incremental
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater zone transfer when the given remote server, a slave, requests it.
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater If set to <span><strong class="command">yes</strong></span>, incremental transfer
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater will be provided
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater whenever possible. If set to <span><strong class="command">no</strong></span>,
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater all transfers
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater to the remote server will be non-incremental. If not set, the
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater value
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater of the <span><strong class="command">provide-ixfr</strong></span> option in the
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater view or
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater global options block is used as a default.
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater </p>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater<p>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater The <span><strong class="command">request-ixfr</strong></span> clause determines
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein whether
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the local server, acting as a slave, will request incremental zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein transfers from the given remote server, a master. If not set, the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein value of the <span><strong class="command">request-ixfr</strong></span> option in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the view or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein global options block is used as a default.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IXFR requests to servers that do not support IXFR will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein automatically
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein fall back to AXFR. Therefore, there is no need to manually list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein which servers support IXFR and which ones do not; the global
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein default
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of <span><strong class="command">yes</strong></span> should always work.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The purpose of the <span><strong class="command">provide-ixfr</strong></span> and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">request-ixfr</strong></span> clauses is
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews to make it possible to disable the use of IXFR even when both
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein master
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews and slave claim to support it, for example if one of the servers
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is buggy and crashes or corrupts data when IXFR is used.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The <span><strong class="command">edns</strong></span> clause determines whether
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews the local server will attempt to use EDNS when communicating
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews with the remote server. The default is <span><strong class="command">yes</strong></span>.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </p>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The <span><strong class="command">edns-udp-size</strong></span> option sets the EDNS UDP size
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews that is advertised by named when querying the remote server.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews Valid values are 512 to 4096 bytes (values outside this range will be
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews silently adjusted). This option is useful when you wish to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews advertises a different value to this server than the value you
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein advertise globally, for example, when there is a firewall at the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein remote site that is blocking large replies.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">max-udp-size</strong></span> option sets the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein maximum EDNS UDP message size named will send. Valid
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein values are 512 to 4096 bytes (values outside this range will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be silently adjusted). This option is useful when you
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein know that there is a firewall that is blocking large
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein replies from named.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The server supports two zone transfer methods. The first, <span><strong class="command">one-answer</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein uses one DNS message per resource record transferred. <span><strong class="command">many-answers</strong></span> packs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as many resource records as possible into a message. <span><strong class="command">many-answers</strong></span> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein more efficient, but is only known to be understood by <acronym class="acronym">BIND</acronym> 9, <acronym class="acronym">BIND</acronym>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 8.x, and patched versions of <acronym class="acronym">BIND</acronym>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 4.9.5. You can specify which method
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to use for a server with the <span><strong class="command">transfer-format</strong></span> option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If <span><strong class="command">transfer-format</strong></span> is not
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified, the <span><strong class="command">transfer-format</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein by the <span><strong class="command">options</strong></span> statement will be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p><span><strong class="command">transfers</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is used to limit the number of concurrent inbound zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein transfers from the specified server. If no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfers</strong></span> clause is specified, the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein limit is set according to the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfers-per-ns</strong></span> option.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews The <span><strong class="command">keys</strong></span> clause identifies a
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">key_id</strong></span> defined by the <span><strong class="command">key</strong></span> statement,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be used for transaction security (TSIG, <a href="Bv9ARM.ch04.html#tsig" title="TSIG">the section called &#8220;TSIG&#8221;</a>)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein when talking to the remote server.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When a request is sent to the remote server, a request signature
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein will be generated using the key specified here and appended to the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein message. A request originating from the remote server is not
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein required
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be signed by this key.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Although the grammar of the <span><strong class="command">keys</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein clause
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein allows for multiple keys, only a single key per server is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein currently
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein supported.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">transfer-source</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source-v6</strong></span> clauses specify
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews the IPv4 and IPv6 source
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews address to be used for zone transfer with the remote server,
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews respectively.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews For an IPv4 remote server, only <span><strong class="command">transfer-source</strong></span> can
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews be specified.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews Similarly, for an IPv6 remote server, only
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <span><strong class="command">transfer-source-v6</strong></span> can be
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews specified.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews For more details, see the description of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source</strong></span> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">transfer-source-v6</strong></span> in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">notify-source</strong></span> and
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews <span><strong class="command">notify-source-v6</strong></span> clauses specify the
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews IPv4 and IPv6 source address to be used for notify
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages sent to remote servers, respectively. For an
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IPv4 remote server, only <span><strong class="command">notify-source</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein can be specified. Similarly, for an IPv6 remote server,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein only <span><strong class="command">notify-source-v6</strong></span> can be specified.
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews </p>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews<p>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews The <span><strong class="command">query-source</strong></span> and
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">query-source-v6</strong></span> clauses specify the
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews IPv4 and IPv6 source address to be used for queries
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews sent to remote servers, respectively. For an IPv4
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews remote server, only <span><strong class="command">query-source</strong></span> can
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater be specified. Similarly, for an IPv6 remote server,
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews only <span><strong class="command">query-source-v6</strong></span> can be specified.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2585505"></a><span><strong class="command">trusted-keys</strong></span> Statement Grammar</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">trusted-keys {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <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> ;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2585554"></a><span><strong class="command">trusted-keys</strong></span> Statement Definition
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and Usage</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">trusted-keys</strong></span> statement defines
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein DNSSEC security roots. DNSSEC is described in <a href="Bv9ARM.ch04.html#DNSSEC" title="DNSSEC">the section called &#8220;DNSSEC&#8221;</a>. A security root is defined when the
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews public key for a non-authoritative zone is known, but
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews cannot be securely obtained through DNS, either because
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews it is the DNS root zone or because its parent zone is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein unsigned. Once a key has been configured as a trusted
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein key, it is treated as if it had been validated and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein proven secure. The resolver attempts DNSSEC validation
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein on all DNS data in subdomains of a security root.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein All keys (and corresponding zones) listed in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">trusted-keys</strong></span> are deemed to exist regardless
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of what parent zones say. Similarly for all keys listed in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">trusted-keys</strong></span> only those keys are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein used to validate the DNSKEY RRset. The parent's DS RRset
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews will not be used.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews The <span><strong class="command">trusted-keys</strong></span> statement can contain
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews multiple key entries, each consisting of the key's
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews domain name, flags, protocol, algorithm, and the Base-64
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews representation of the key data.
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="view_statement_grammar"></a><span><strong class="command">view</strong></span> Statement Grammar</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">view <em class="replaceable"><code>view_name</code></em>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match-clients { <em class="replaceable"><code>address_match_list</code></em> };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match-destinations { <em class="replaceable"><code>address_match_list</code></em> };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match-recursive-only <em class="replaceable"><code>yes_or_no</code></em> ;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> <em class="replaceable"><code>view_option</code></em>; ...</span>]
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User [<span class="optional"> <em class="replaceable"><code>zone_statement</code></em>; ...</span>]
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater};
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</pre>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater</div>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<div class="sect2" lang="en">
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<div class="titlepage"><div><div><h3 class="title">
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<a name="id2585634"></a><span><strong class="command">view</strong></span> Statement Definition and Usage</h3></div></div></div>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater The <span><strong class="command">view</strong></span> statement is a powerful
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater feature
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater of <acronym class="acronym">BIND</acronym> 9 that lets a name server
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein answer a DNS query differently
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater depending on who is asking. It is particularly useful for
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater implementing
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater split DNS setups without having to run multiple servers.
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater </p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater<p>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater Each <span><strong class="command">view</strong></span> statement defines a view
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater of the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater DNS namespace that will be seen by a subset of clients. A client
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater matches
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater a view if its source IP address matches the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <code class="varname">address_match_list</code> of the view's
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">match-clients</strong></span> clause and its
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater destination IP address matches
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater the <code class="varname">address_match_list</code> of the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater view's
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">match-destinations</strong></span> clause. If not
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater specified, both
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">match-clients</strong></span> and <span><strong class="command">match-destinations</strong></span>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater default to matching all addresses. In addition to checking IP
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater addresses
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater <span><strong class="command">match-clients</strong></span> and <span><strong class="command">match-destinations</strong></span>
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater can also take <span><strong class="command">keys</strong></span> which provide an
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater mechanism for the
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater client to select the view. A view can also be specified
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater as <span><strong class="command">match-recursive-only</strong></span>, which
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater means that only recursive
984c2e9f76e66e86f7d9aca99a774836ddf196eaAutomatic Updater requests from matching clients will match that view.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The order of the <span><strong class="command">view</strong></span> statements is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein significant &#8212;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a client request will be resolved in the context of the first
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User <span><strong class="command">view</strong></span> that it matches.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Zones defined within a <span><strong class="command">view</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be only be accessible to clients that match the <span><strong class="command">view</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein By defining a zone of the same name in multiple views, different
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone data can be given to different clients, for example,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein "internal"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and "external" clients in a split DNS setup.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews Many of the options given in the <span><strong class="command">options</strong></span> statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein can also be used within a <span><strong class="command">view</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement, and then
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein apply only when resolving queries with that view. When no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein view-specific
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein value is given, the value in the <span><strong class="command">options</strong></span> statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is used as a default. Also, zone options can have default values
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in the <span><strong class="command">view</strong></span> statement; these
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein view-specific defaults
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein take precedence over those in the <span><strong class="command">options</strong></span> statement.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Views are class specific. If no class is given, class IN
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is assumed. Note that all non-IN views must contain a hint zone,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein since only the IN class has compiled-in default hints.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If there are no <span><strong class="command">view</strong></span> statements in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the config
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file, a default view that matches any client is automatically
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein created
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in class IN. Any <span><strong class="command">zone</strong></span> statements
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified on
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the top level of the configuration file are considered to be part
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein this default view, and the <span><strong class="command">options</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement will
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein apply to the default view. If any explicit <span><strong class="command">view</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statements are present, all <span><strong class="command">zone</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statements must
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein occur inside <span><strong class="command">view</strong></span> statements.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Here is an example of a typical split DNS setup implemented
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein using <span><strong class="command">view</strong></span> statements:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<pre class="programlisting">view "internal" {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // This should match our internal networks.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match-clients { 10.0.0.0/8; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // Provide recursive service to internal clients only.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein recursion yes;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // Provide a complete view of the example.com zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // including addresses of internal hosts.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone "example.com" {
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater type master;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file "example-internal.db";
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinview "external" {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // Match all clients not matched by the previous view.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein match-clients { any; };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // Refuse recursive service to external clients.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein recursion no;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews // Provide a restricted view of the example.com zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein // containing only publicly accessible hosts.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone "example.com" {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein type master;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file "example-external.db";
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews };
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="sect2" lang="en">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<div class="titlepage"><div><div><h3 class="title">
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User<a name="zone_statement_grammar"></a><span><strong class="command">zone</strong></span>
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User Statement Grammar</h3></div></div></div>
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater<pre class="programlisting">zone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein type master;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query-on { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews [<span class="optional"> allow-transfer { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-update { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> update-policy { <em class="replaceable"><code>update_policy_rule</code></em> [<span class="optional">...</span>] }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-names (<code class="constant">warn</code>|<code class="constant">fail</code>|<code class="constant">ignore</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-mx (<code class="constant">warn</code>|<code class="constant">fail</code>|<code class="constant">ignore</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-wildcard <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-integrity <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dialup <em class="replaceable"><code>dialup_option</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> file <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> masterfile-format (<code class="constant">text</code>|<code class="constant">raw</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> journal <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> forward (<code class="constant">only</code>|<code class="constant">first</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> ixfr-base <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> ixfr-tmp-file <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> maintain-ixfr-base <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-ixfr-log-size <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-idle-out <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-time-out <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> notify <em class="replaceable"><code>yes_or_no</code></em> | <em class="replaceable"><code>explicit</code></em> | <em class="replaceable"><code>master-only</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<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>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> zone-statistics <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> sig-validity-interval <em class="replaceable"><code>number</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> database <em class="replaceable"><code>string</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> min-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater [<span class="optional"> max-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> min-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> max-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> key-directory <em class="replaceable"><code>path_name</code></em>; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> zero-no-soa-ttl <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater};
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updaterzone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater type slave;
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> allow-notify { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
4a71c59d2bf32585c5dd18f4630d5f10e56a1ab3Automatic Updater [<span class="optional"> allow-query { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query-on { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-transfer { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-update-forwarding { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
8b1cba45ade83893c009b37f47d5478e97eb61d2Automatic Updater [<span class="optional"> update-check-ksk <em class="replaceable"><code>yes_or_no</code></em>; </span>]
8b1cba45ade83893c009b37f47d5478e97eb61d2Automatic Updater [<span class="optional"> try-tcp-refresh <em class="replaceable"><code>yes_or_no</code></em>; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<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>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> check-names (<code class="constant">warn</code>|<code class="constant">fail</code>|<code class="constant">ignore</code>) ; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> dialup <em class="replaceable"><code>dialup_option</code></em> ; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> file <em class="replaceable"><code>string</code></em> ; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> masterfile-format (<code class="constant">text</code>|<code class="constant">raw</code>) ; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> journal <em class="replaceable"><code>string</code></em> ; </span>]
8b1cba45ade83893c009b37f47d5478e97eb61d2Automatic Updater [<span class="optional"> forward (<code class="constant">only</code>|<code class="constant">first</code>) ; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<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>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<span class="optional"> ixfr-base <em class="replaceable"><code>string</code></em> ; </span>]
8b1cba45ade83893c009b37f47d5478e97eb61d2Automatic Updater [<span class="optional"> ixfr-tmp-file <em class="replaceable"><code>string</code></em> ; </span>]
8b1cba45ade83893c009b37f47d5478e97eb61d2Automatic Updater [<span class="optional"> maintain-ixfr-base <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
bae169ea64bf736d6ea6074c2af3d7c117079972Tinderbox User [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-ixfr-log-size <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-idle-in <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-idle-out <em class="replaceable"><code>number</code></em> ; </span>]
85d259b3cf22bdbf7c1c1dadd95dfea4d5a84375Tinderbox User [<span class="optional"> max-transfer-time-in <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-time-out <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> notify <em class="replaceable"><code>yes_or_no</code></em> | <em class="replaceable"><code>explicit</code></em> | <em class="replaceable"><code>master-only</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
85d259b3cf22bdbf7c1c1dadd95dfea4d5a84375Tinderbox User [<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>]
85d259b3cf22bdbf7c1c1dadd95dfea4d5a84375Tinderbox User [<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>]
85d259b3cf22bdbf7c1c1dadd95dfea4d5a84375Tinderbox User [<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>]
85d259b3cf22bdbf7c1c1dadd95dfea4d5a84375Tinderbox User [<span class="optional"> use-alt-transfer-source <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> zone-statistics <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> database <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> min-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User [<span class="optional"> max-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> min-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> multi-master <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updater [<span class="optional"> zero-no-soa-ttl <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updater};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updaterzone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updater type hint;
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updater file <em class="replaceable"><code>string</code></em> ;
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updater [<span class="optional"> delegation-only <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
2a9a5e1871710510cdbba67c13ce21e75296b451Automatic Updater [<span class="optional"> check-names (<code class="constant">warn</code>|<code class="constant">fail</code>|<code class="constant">ignore</code>) ; // Not Implemented. </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinzone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein type stub;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> allow-query-on { <em class="replaceable"><code>address_match_list</code></em> }; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> check-names (<code class="constant">warn</code>|<code class="constant">fail</code>|<code class="constant">ignore</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> dialup <em class="replaceable"><code>dialup_option</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> delegation-only <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> file <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> masterfile-format (<code class="constant">text</code>|<code class="constant">raw</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> forward (<code class="constant">only</code>|<code class="constant">first</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-idle-in <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-transfer-time-in <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> use-alt-transfer-source <em class="replaceable"><code>yes_or_no</code></em>; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> zone-statistics <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> database <em class="replaceable"><code>string</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> min-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-refresh-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> min-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> max-retry-time <em class="replaceable"><code>number</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> multi-master <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinzone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein type forward;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> forward (<code class="constant">only</code>|<code class="constant">first</code>) ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<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>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein [<span class="optional"> delegation-only <em class="replaceable"><code>yes_or_no</code></em> ; </span>]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austeinzone <em class="replaceable"><code>zone_name</code></em> [<span class="optional"><em class="replaceable"><code>class</code></em></span>] {
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews type delegation-only;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein};
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</pre>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h3 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2587098"></a><span><strong class="command">zone</strong></span> Statement Definition and Usage</h3></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2587106"></a>Zone Types</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">master</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The server has a master copy of the data
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for the zone and will be able to provide authoritative
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce answers for
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce it.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">slave</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A slave zone is a replica of a master
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone. The <span><strong class="command">masters</strong></span> list
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specifies one or more IP addresses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of master servers that the slave contacts to update
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein its copy of the zone.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Masters list elements can also be names of other
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews masters lists.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein By default, transfers are made from port 53 on the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein servers; this can
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein be changed for all servers by specifying a port number
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein before the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein list of IP addresses, or on a per-server basis after
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the IP address.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Authentication to the master can also be done with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein per-server TSIG keys.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If a file is specified, then the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein replica will be written to this file whenever the zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is changed,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and reloaded from this file on a server restart. Use
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of a file is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein recommended, since it often speeds server startup and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein eliminates
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a needless waste of bandwidth. Note that for large
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein numbers (in the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein tens or hundreds of thousands) of zones per server, it
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews is best to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use a two-level naming scheme for zone file names. For
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein example,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a slave server for the zone <code class="literal">example.com</code> might place
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the zone contents into a file called
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="filename">ex/example.com</code> where <code class="filename">ex/</code> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein just the first two letters of the zone name. (Most
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein operating systems
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein behave very slowly if you put 100 000 files into
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a single directory.)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">stub</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A stub zone is similar to a slave zone,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein except that it replicates only the NS records of a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein master zone instead
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the entire zone. Stub zones are not a standard part
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the DNS;
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein they are a feature specific to the <acronym class="acronym">BIND</acronym> implementation.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Stub zones can be used to eliminate the need for glue
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein NS record
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in a parent zone at the expense of maintaining a stub
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone entry and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a set of name server addresses in <code class="filename">named.conf</code>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This usage is not recommended for new configurations,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and BIND 9
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein supports it only in a limited way.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein In <acronym class="acronym">BIND</acronym> 4/8, zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein transfers of a parent zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein included the NS records from stub children of that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone. This meant
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein that, in some cases, users could get away with
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configuring child stubs
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein only in the master server for the parent zone. <acronym class="acronym">BIND</acronym>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 9 never mixes together zone data from different zones
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in this
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein way. Therefore, if a <acronym class="acronym">BIND</acronym> 9 master serving a parent
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone has child stub zones configured, all the slave
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein servers for the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein parent zone also need to have the same child stub
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zones
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein configured.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater Stub zones can also be used as a way of forcing the
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater resolution
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater of a given domain to use a particular set of
4e243fdc6b33a6371208b48d64912d8e327b4f5cAndreas Gustafsson authoritative servers.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater For example, the caching name servers on a private
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater network using
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater RFC1918 addressing may be configured with stub zones
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce for
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <code class="literal">10.in-addr.arpa</code>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater to use a set of internal name servers as the
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater authoritative
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce servers for that domain.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</tr>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<tr>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater <p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <code class="varname">forward</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews A "forward zone" is a way to configure
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein forwarding on a per-domain basis. A <span><strong class="command">zone</strong></span> statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of type <span><strong class="command">forward</strong></span> can
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein contain a <span><strong class="command">forward</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and/or <span><strong class="command">forwarders</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein which will apply to queries within the domain given by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name. If no <span><strong class="command">forwarders</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein statement is present or
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce an empty list for <span><strong class="command">forwarders</strong></span> is given, then no
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce forwarding will be done for the domain, canceling the
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce effects of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein any forwarders in the <span><strong class="command">options</strong></span> statement. Thus
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein if you want to use this type of zone to change the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein behavior of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein global <span><strong class="command">forward</strong></span> option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (that is, "forward first"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to, then "forward only", or vice versa, but want to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein use the same
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein servers as set globally) you need to re-specify the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein global forwarders.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">hint</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The initial set of root name servers is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified using a "hint zone". When the server starts
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein up, it uses
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews the root hints to find a root name server and get the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews most recent
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein list of root name servers. If no hint zone is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified for class
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IN, the server uses a compiled-in default set of root
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews servers hints.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Classes other than IN have no built-in defaults hints.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">delegation-only</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This is used to enforce the delegation-only
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein status of infrastructure zones (e.g. COM, NET, ORG).
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Any answer that
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is received without an explicit or implicit delegation
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in the authority
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein section will be treated as NXDOMAIN. This does not
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein apply to the zone
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein apex. This should not be applied to leaf zones.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">delegation-only</code> has no
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein effect on answers received
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein from forwarders.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect3" lang="en">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="titlepage"><div><div><h4 class="title">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<a name="id2587525"></a>Class</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The zone's name may optionally be followed by a class. If
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a class is not specified, class <code class="literal">IN</code> (for <code class="varname">Internet</code>),
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater is assumed. This is correct for the vast majority of cases.
767c53c304b86460d72eeec7d3304172cdd904bdEvan Hunt </p>
767c53c304b86460d72eeec7d3304172cdd904bdEvan Hunt<p>
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater The <code class="literal">hesiod</code> class is
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater named for an information service from MIT's Project Athena. It
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater is
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater used to share information about various systems databases, such
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein as users, groups, printers and so on. The keyword
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">HS</code> is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a synonym for hesiod.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Another MIT development is CHAOSnet, a LAN protocol created
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in the mid-1970s. Zone data for it can be specified with the <code class="literal">CHAOS</code> class.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</div>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<div class="sect3" lang="en">
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<div class="titlepage"><div><div><h4 class="title">
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<a name="id2587558"></a>Zone Options</h4></div></div></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="variablelist"><dl>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">allow-notify</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-notify</strong></span> in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called &#8220;Access Control&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">allow-query</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
c92c50783e4e93699f2a42643b8f200b9b719c87Automatic Updater <span><strong class="command">allow-query</strong></span> in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called &#8220;Access Control&#8221;</a>.
c92c50783e4e93699f2a42643b8f200b9b719c87Automatic Updater </p></dd>
c92c50783e4e93699f2a42643b8f200b9b719c87Automatic Updater<dt><span class="term"><span><strong class="command">allow-query-on</strong></span></span></dt>
c92c50783e4e93699f2a42643b8f200b9b719c87Automatic Updater<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-query-on</strong></span> in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called &#8220;Access Control&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">allow-transfer</strong></span></span></dt>
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater<dd><p>
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater See the description of <span><strong class="command">allow-transfer</strong></span>
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called &#8220;Access Control&#8221;</a>.
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater </p></dd>
9ef82979c49da3dd3647273b1cd6ed7d3352c003Automatic Updater<dt><span class="term"><span><strong class="command">allow-update</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of <span><strong class="command">allow-update</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called &#8220;Access Control&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">update-policy</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specifies a "Simple Secure Update" policy. See
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <a href="Bv9ARM.ch06.html#dynamic_update_policies" title="Dynamic Update Policies">the section called &#8220;Dynamic Update Policies&#8221;</a>.
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater </p></dd>
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater<dt><span class="term"><span><strong class="command">allow-update-forwarding</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of <span><strong class="command">allow-update-forwarding</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein in <a href="Bv9ARM.ch06.html#access_control" title="Access Control">the section called &#8220;Access Control&#8221;</a>.
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews </p></dd>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<dt><span class="term"><span><strong class="command">also-notify</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater Only meaningful if <span><strong class="command">notify</strong></span>
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater is
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater active for this zone. The set of machines that will
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater receive a
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater <code class="literal">DNS NOTIFY</code> message
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater for this zone is made up of all the listed name servers
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater (other than
49853562e29e3813e49c251cde132d7be6a6475eAutomatic Updater the primary master) for the zone plus any IP addresses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with <span><strong class="command">also-notify</strong></span>. A port
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews may be specified
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein with each <span><strong class="command">also-notify</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address to send the notify
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein messages to a port other than the default of 53.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">also-notify</strong></span> is not
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein meaningful for stub zones.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The default is the empty list.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-names</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This option is used to restrict the character set and
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews syntax of
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews certain domain names in master files and/or DNS responses
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein received from the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 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>
cd3ee12f1d34107678bde7be68b1d7f0f45cf2c9Automatic Updater zones the default is <span><strong class="command">warn</strong></span>.
cd3ee12f1d34107678bde7be68b1d7f0f45cf2c9Automatic Updater </p></dd>
cd3ee12f1d34107678bde7be68b1d7f0f45cf2c9Automatic Updater<dt><span class="term"><span><strong class="command">check-mx</strong></span></span></dt>
cd3ee12f1d34107678bde7be68b1d7f0f45cf2c9Automatic Updater<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">check-mx</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-wildcard</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews <span><strong class="command">check-wildcard</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-integrity</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">check-integrity</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">check-sibling</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">check-sibling</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p></dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">zero-no-soa-ttl</strong></span></span></dt>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dd><p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater See the description of
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater <span><strong class="command">zero-no-soa-ttl</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
d3907d27cc138f45772d3d63082ae02c7659148aAutomatic Updater </p></dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">update-check-ksk</strong></span></span></dt>
9fbbfb5757a1e3e86d7dea62c4e63ffc2303ca2bAutomatic Updater<dd><p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater See the description of
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater <span><strong class="command">update-check-ksk</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p></dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">try-tcp-refresh</strong></span></span></dt>
2914684df93e6c3aa4d402b5a14fbe6137f538aeAutomatic Updater<dd><p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater See the description of
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater <span><strong class="command">try-tcp-refresh</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p></dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">database</strong></span></span></dt>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater Specify the type of database to be used for storing the
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater zone data. The string following the <span><strong class="command">database</strong></span> keyword
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater is interpreted as a list of whitespace-delimited words.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater The first word
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater identifies the database type, and any subsequent words are
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater passed
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater as arguments to the database to be interpreted in a way
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater specific
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater to the database type.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p>
2914684df93e6c3aa4d402b5a14fbe6137f538aeAutomatic Updater<p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater The default is <strong class="userinput"><code>"rbt"</code></strong>, BIND 9's
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater native in-memory
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater red-black-tree database. This database does not take
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater arguments.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater Other values are possible if additional database drivers
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater have been linked into the server. Some sample drivers are
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater included
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater with the distribution but none are linked in by default.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater</dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">dialup</strong></span></span></dt>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dd><p>
2914684df93e6c3aa4d402b5a14fbe6137f538aeAutomatic Updater See the description of
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater <span><strong class="command">dialup</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
54e57d8ff46096e9c6a9af95f2522b56cb3877b2Automatic Updater </p></dd>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dt><span class="term"><span><strong class="command">delegation-only</strong></span></span></dt>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<dd><p>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater The flag only applies to hint and stub zones. If set
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater to <strong class="userinput"><code>yes</code></strong>, then the zone will also be
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater treated as if it
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater is also a delegation-only type zone.
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater </p></dd>
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater<dt><span class="term"><span><strong class="command">forward</strong></span></span></dt>
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater<dd><p>
23967fcd6e214ac5194222a6b7f41fe869db4f9cAutomatic Updater Only meaningful if the zone has a forwarders
23967fcd6e214ac5194222a6b7f41fe869db4f9cAutomatic Updater list. The <span><strong class="command">only</strong></span> value causes
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater the lookup to fail
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater after trying the forwarders and getting no answer, while <span><strong class="command">first</strong></span> would
e839bf134fb138920d4833cf05cb8b8906787a8dAutomatic Updater allow a normal lookup to be tried.
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">forwarders</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Used to override the list of global forwarders.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein If it is not specified in a zone of type <span><strong class="command">forward</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein no forwarding is done for the zone and the global options are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein not used.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">ixfr-base</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Was used in <acronym class="acronym">BIND</acronym> 8 to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specify the name
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein of the transaction log (journal) file for dynamic update
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and IXFR.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <acronym class="acronym">BIND</acronym> 9 ignores the option
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and constructs the name of the journal
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein file by appending "<code class="filename">.jnl</code>"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to the name of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone file.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p></dd>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dt><span class="term"><span><strong class="command">ixfr-tmp-file</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Was an undocumented option in <acronym class="acronym">BIND</acronym> 8.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Ignored in <acronym class="acronym">BIND</acronym> 9.
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater </p></dd>
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater<dt><span class="term"><span><strong class="command">journal</strong></span></span></dt>
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater<dd><p>
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater Allow the default journal's file name to be overridden.
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater The default is the zone's file with "<code class="filename">.jnl</code>" appended.
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater This is applicable to <span><strong class="command">master</strong></span> and <span><strong class="command">slave</strong></span> zones.
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater </p></dd>
fde6bfde6ec1d7a5f9907aeea8618db9dbd02f4cAutomatic Updater<dt><span class="term"><span><strong class="command">max-transfer-time-in</strong></span></span></dt>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<dd><p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein See the description of
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater <span><strong class="command">max-transfer-time-in</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater </p></dd>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater<dt><span class="term"><span><strong class="command">max-transfer-idle-in</strong></span></span></dt>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater<dd><p>
87ff79ee66e85519d7f75195a5345e5f5e09c895Automatic Updater See the description of
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater <span><strong class="command">max-transfer-idle-in</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater </p></dd>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater<dt><span class="term"><span><strong class="command">max-transfer-time-out</strong></span></span></dt>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater<dd><p>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater See the description of
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater <span><strong class="command">max-transfer-time-out</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater </p></dd>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dt><span class="term"><span><strong class="command">max-transfer-idle-out</strong></span></span></dt>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dd><p>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater See the description of
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater <span><strong class="command">max-transfer-idle-out</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater </p></dd>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dt><span class="term"><span><strong class="command">notify</strong></span></span></dt>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dd><p>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater See the description of
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <span><strong class="command">notify</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater </p></dd>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dt><span class="term"><span><strong class="command">pubkey</strong></span></span></dt>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dd><p>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater In <acronym class="acronym">BIND</acronym> 8, this option was
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater intended for specifying
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater a public zone key for verification of signatures in DNSSEC
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews signed
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater zones when they are loaded from disk. <acronym class="acronym">BIND</acronym> 9 does not verify signatures
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater on load and ignores the option.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater </p></dd>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dt><span class="term"><span><strong class="command">zone-statistics</strong></span></span></dt>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews<dd><p>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews If <strong class="userinput"><code>yes</code></strong>, the server will keep
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater statistical
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater information for this zone, which can be dumped to the
f7b2875691497b292eacb60609be23a813d14e63Automatic Updater <span><strong class="command">statistics-file</strong></span> defined in
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater the server options.
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater </p></dd>
2cbb4ab75757fbb656997a82c14ca07db37d481aAutomatic Updater<dt><span class="term"><span><strong class="command">sig-validity-interval</strong></span></span></dt>
7208386cd37a2092c70eddf80cf29519b16c4c80Mark Andrews<dd><p>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater See the description of
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater <span><strong class="command">sig-validity-interval</strong></span> in <a href="Bv9ARM.ch06.html#tuning" title="Tuning">the section called &#8220;Tuning&#8221;</a>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term"><span><strong class="command">transfer-source</strong></span></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dd><p>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater See the description of
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater <span><strong class="command">transfer-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater </p></dd>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater<dt><span class="term"><span><strong class="command">transfer-source-v6</strong></span></span></dt>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater<dd><p>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater See the description of
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater <span><strong class="command">transfer-source-v6</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term"><span><strong class="command">alt-transfer-source</strong></span></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dd><p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews See the description of
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">alt-transfer-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term"><span><strong class="command">alt-transfer-source-v6</strong></span></span></dt>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dd><p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews See the description of
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">alt-transfer-source-v6</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
43b94483957d3168796a816ed86cf097518817dcTinderbox User </p></dd>
dba3c818ae00b10388d31703e86a28415db398acTinderbox User<dt><span class="term"><span><strong class="command">use-alt-transfer-source</strong></span></span></dt>
dba3c818ae00b10388d31703e86a28415db398acTinderbox User<dd><p>
dba3c818ae00b10388d31703e86a28415db398acTinderbox User See the description of
dba3c818ae00b10388d31703e86a28415db398acTinderbox User <span><strong class="command">use-alt-transfer-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
dba3c818ae00b10388d31703e86a28415db398acTinderbox User </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term"><span><strong class="command">notify-source</strong></span></span></dt>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<dd><p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews See the description of
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">notify-source</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p></dd>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<dt><span class="term"><span><strong class="command">notify-source-v6</strong></span></span></dt>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater<dd><p>
be75fd4f49dc3e96e43fdcd6bacf8d3b8749a0e0Automatic Updater See the description of
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews <span><strong class="command">notify-source-v6</strong></span> in <a href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called &#8220;Zone Transfers&#8221;</a>.
ea21c734ff027f23f289f8c6507a4e79984e4830Automatic Updater </p></dd>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dt>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<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>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews</dt>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dd><p>
2914684df93e6c3aa4d402b5a14fbe6137f538aeAutomatic Updater See the description in <a href="Bv9ARM.ch06.html#tuning" title="Tuning">the section called &#8220;Tuning&#8221;</a>.
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews </p></dd>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater<dt><span class="term"><span><strong class="command">ixfr-from-differences</strong></span></span></dt>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dd><p>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews See the description of
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews <span><strong class="command">ixfr-from-differences</strong></span> in <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews </p></dd>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dt><span class="term"><span><strong class="command">key-directory</strong></span></span></dt>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dd><p>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater See the description of
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews <span><strong class="command">key-directory</strong></span> in <a href="Bv9ARM.ch06.html#options" title="options Statement Definition and
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews Usage">the section called &#8220;<span><strong class="command">options</strong></span> Statement Definition and
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews Usage&#8221;</a>.
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews </p></dd>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dt><span class="term"><span><strong class="command">multi-master</strong></span></span></dt>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dd><p>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews See the description of <span><strong class="command">multi-master</strong></span> in
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews <a href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called &#8220;Boolean Options&#8221;</a>.
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews </p></dd>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dt><span class="term"><span><strong class="command">masterfile-format</strong></span></span></dt>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<dd><p>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews See the description of <span><strong class="command">masterfile-format</strong></span>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews in <a href="Bv9ARM.ch06.html#tuning" title="Tuning">the section called &#8220;Tuning&#8221;</a>.
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews </p></dd>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews</dl></div>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews</div>
68abac6cb23aa2c6489ccc16663e051d7aad3ad9Mark Andrews<div class="sect3" lang="en">
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews<div class="titlepage"><div><div><h4 class="title">
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater<a name="dynamic_update_policies"></a>Dynamic Update Policies</h4></div></div></div>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater<p><acronym class="acronym">BIND</acronym> 9 supports two alternative
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews methods of granting clients the right to perform
4a5d8786edaff5f9f022c117b4da084bcb4a0b71Automatic Updater dynamic updates to a zone, configured by the
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater <span><strong class="command">allow-update</strong></span> and
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater <span><strong class="command">update-policy</strong></span> option, respectively.
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater </p>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater<p>
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater The <span><strong class="command">allow-update</strong></span> clause works the
6100dfd774ab9b4040b6f348ef1de01bc902ae07Automatic Updater same way as in previous versions of <acronym class="acronym">BIND</acronym>.
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User It grants given clients the permission to update any
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User record of any name in the zone.
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User </p>
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User<p>
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User The <span><strong class="command">update-policy</strong></span> clause is new
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User in <acronym class="acronym">BIND</acronym> 9 and allows more fine-grained
edaa0648858316d9f4ad2a4093f16e05dbf2fe50Tinderbox User control over what updates are allowed. A set of rules
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is specified, where each rule either grants or denies
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein permissions for one or more names to be updated by
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein one or more identities. If the dynamic update request
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein message is signed (that is, it includes either a TSIG
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or SIG(0) record), the identity of the signer can be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein determined.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Rules are specified in the <span><strong class="command">update-policy</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein zone option, and are only meaningful for master zones.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein When the <span><strong class="command">update-policy</strong></span> statement
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is present, it is a configuration error for the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">allow-update</strong></span> statement to be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein present. The <span><strong class="command">update-policy</strong></span> statement
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User only examines the signer of a message; the source
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User address is not relevant.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User This is how a rule definition looks:
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<pre class="programlisting">
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User( <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>]
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</pre>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User Each rule grants or denies privileges. Once a message has
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User successfully matched a rule, the operation is immediately
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein granted
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or denied and no further rules are examined. A rule is matched
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein when the signer matches the identity field, the name matches the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name field in accordance with the nametype field, and the type
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein matches
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the types specified in the type field.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The identity field specifies a name or a wildcard
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name. Normally, this is the name of the TSIG or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein SIG(0) key used to sign the update request. When a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein TKEY exchange has been used to create a shared secret,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the identity of the shared secret is the same as the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein identity of the key used to authenticate the TKEY
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein exchange. TKEY is also the negotiation method used
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein by GSS-TSIG, which establishes an identity that is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the Kerberos principal of the client, such as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <strong class="userinput"><code>"user@host.domain"</code></strong>. When the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <em class="replaceable"><code>identity</code></em> field specifies
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a wildcard name, it is subject to DNS wildcard
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein expansion, so the rule will apply to multiple identities.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <em class="replaceable"><code>identity</code></em> field must
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews contain a fully qualified domain name.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <em class="replaceable"><code>nametype</code></em> field has 6
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein values:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">name</code>, <code class="varname">subdomain</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">wildcard</code>, <code class="varname">self</code>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">selfsub</code>, and <code class="varname">selfwild</code>.
9011c72c568aedd03709f56f21d639fd55944a74Automatic Updater </p>
9011c72c568aedd03709f56f21d639fd55944a74Automatic Updater<div class="informaltable"><table border="1">
9011c72c568aedd03709f56f21d639fd55944a74Automatic Updater<colgroup>
9011c72c568aedd03709f56f21d639fd55944a74Automatic Updater<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater<td>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="varname">name</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Exact-match semantics. This rule matches
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews when the name being updated is identical
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews to the contents of the
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <em class="replaceable"><code>name</code></em> field.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </td>
a1b05dea35aa30b152a47115e18bbe679d3fcf19Mark Andrews</tr>
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews<tr>
77dccf2a5d9327d16b4374a135cdb99bdd48620eAutomatic Updater<td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <p>
77dccf2a5d9327d16b4374a135cdb99bdd48620eAutomatic Updater <code class="varname">subdomain</code>
77dccf2a5d9327d16b4374a135cdb99bdd48620eAutomatic Updater </p>
77dccf2a5d9327d16b4374a135cdb99bdd48620eAutomatic Updater </td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <p>
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater This rule matches when the name being updated
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews is a subdomain of, or identical to, the
d3907d27cc138f45772d3d63082ae02c7659148aAutomatic Updater contents of the <em class="replaceable"><code>name</code></em>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews field.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews</tr>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<tr>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater<td>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater <p>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater <code class="varname">wildcard</code>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater </p>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater </td>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater<td>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater <p>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater The <em class="replaceable"><code>name</code></em> field
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater is subject to DNS wildcard expansion, and
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater this rule matches when the name being updated
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater name is a valid expansion of the wildcard.
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater </p>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater </td>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater</tr>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater<tr>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater<td>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater <p>
9d5a84057d77e1de7ccdcf3cfdeff78db4706fb8Automatic Updater <code class="varname">self</code>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User This rule matches when the name being updated
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User matches the contents of the
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <em class="replaceable"><code>identity</code></em> field.
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User The <em class="replaceable"><code>name</code></em> field
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User is ignored, but should be the same as the
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <em class="replaceable"><code>identity</code></em> field.
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User The <code class="varname">self</code> nametype is
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User most useful when allowing using one key per
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User name to update, where the key has the same
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User name as the name to be updated. The
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <em class="replaceable"><code>identity</code></em> would
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User be specified as <code class="constant">*</code> (an asterisk) in
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User this case.
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User</tr>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<tr>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <code class="varname">selfsub</code>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User This rule is similar to <code class="varname">self</code>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User except that subdomains of <code class="varname">self</code>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User can also be updated.
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User</tr>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<tr>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <code class="varname">selfwild</code>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User This rule is similar to <code class="varname">self</code>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User except that only subdomains of
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User <code class="varname">self</code> can be updated.
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </td>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User</tr>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User</tbody>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User</table></div>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User In all cases, the <em class="replaceable"><code>name</code></em>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User field must
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User specify a fully qualified domain name.
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User </p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User<p>
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User If no types are explicitly specified, this rule matches all
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User types except
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User RRSIG, NS, SOA, and NSEC. Types may be specified by name, including
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User "ANY" (ANY matches all types except NSEC, which can never be
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User updated).
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User Note that when an attempt is made to delete all records
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User associated with a
e67b52444aa179d82a1dea2da9bd4388ce7ded52Tinderbox User name, the rules are checked for each existing record type.
824f38c0310fddef55f0f691580154022a7852f5Automatic Updater </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews</div>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews</div>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews</div>
c25877b3630eee1da5b942aaa924cba831b89328Automatic Updater<div class="sect1" lang="en">
c25877b3630eee1da5b942aaa924cba831b89328Automatic Updater<div class="titlepage"><div><div><h2 class="title" style="clear: both">
824f38c0310fddef55f0f691580154022a7852f5Automatic Updater<a name="id2589334"></a>Zone File</h2></div></div></div>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<div class="sect2" lang="en">
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<div class="titlepage"><div><div><h3 class="title">
c25877b3630eee1da5b942aaa924cba831b89328Automatic Updater<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>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews This section, largely borrowed from RFC 1034, describes the
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews concept of a Resource Record (RR) and explains when each is used.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews Since the publication of RFC 1034, several new RRs have been
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews identified
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews and implemented in the DNS. These are also included.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<div class="sect3" lang="en">
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<div class="titlepage"><div><div><h4 class="title">
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<a name="id2589352"></a>Resource Records</h4></div></div></div>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews A domain name identifies a node. Each node has a set of
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews resource information, which may be empty. The set of resource
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews information associated with a particular name is composed of
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews separate RRs. The order of RRs in a set is not significant and
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews need not be preserved by name servers, resolvers, or other
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews parts of the DNS. However, sorting of multiple RRs is
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews permitted for optimization purposes, for example, to specify
47012ae6dbf18a2503d7b33c1c9583dc38625cb7Mark Andrews that a particular nearby server be tried first. See <a href="Bv9ARM.ch06.html#the_sortlist_statement" title="The sortlist Statement">the section called &#8220;The <span><strong class="command">sortlist</strong></span> Statement&#8221;</a> and <a href="Bv9ARM.ch06.html#rrset_ordering" title="RRset Ordering">the section called &#8220;RRset Ordering&#8221;</a>.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews The components of a Resource Record are:
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<div class="informaltable"><table border="1">
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews<colgroup>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<col>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<col>
bea931e17b7567f09107f93ab7e25c7f00abeb9cMark Andrews</colgroup>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<tbody>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<tr>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews owner name
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews The domain name where the RR is found.
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </td>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews</tr>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<tr>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews type
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews </td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews An encoded 16-bit value that specifies
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews the type of the resource record.
9fbbfb5757a1e3e86d7dea62c4e63ffc2303ca2bAutomatic Updater </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews</tr>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<tr>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
9fbbfb5757a1e3e86d7dea62c4e63ffc2303ca2bAutomatic Updater <p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews TTL
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews </td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews<td>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews <p>
1586d8cbac5d73031716561386f60758c6c332d5Mark Andrews The time-to-live of the RR. This field
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is a 32-bit integer in units of seconds, and is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein primarily used by
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews resolvers when they cache RRs. The TTL describes how
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews long a RR can
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews be cached before it should be discarded.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein class
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein An encoded 16-bit value that identifies
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews a protocol family or instance of a protocol.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews RDATA
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews The resource data. The format of the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews data is type (and sometimes class) specific.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</tbody>
df6faef67126d1277b0f21defd41c54994bf6fcfMark Andrews</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The following are <span class="emphasis"><em>types</em></span> of valid RRs:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<col>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews</colgroup>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tbody>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein A host address. In the IN class, this is a
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews 32-bit IP address. Described in RFC 1035.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein AAAA
df6faef67126d1277b0f21defd41c54994bf6fcfMark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
df6faef67126d1277b0f21defd41c54994bf6fcfMark Andrews<td>
df6faef67126d1277b0f21defd41c54994bf6fcfMark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IPv6 address. Described in RFC 1886.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews A6
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein IPv6 address. This can be a partial
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address (a suffix) and an indirection to the name
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews where the rest of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein address (the prefix) can be found. Experimental.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Described in RFC 2874.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
276e28f813ffef042d5a6e9f3373ef4e2ad37996Mark Andrews</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater AFSDB
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Location of AFS database servers.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Experimental. Described in RFC 1183.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater APL
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Address prefix list. Experimental.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Described in RFC 3123.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater CERT
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Holds a digital certificate.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Described in RFC 2538.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater CNAME
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Identifies the canonical name of an alias.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Described in RFC 1035.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater DNAME
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
e31a258ca6ef845faf483fa8f04921e8841d3213Tinderbox User<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Replaces the domain name specified with
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater another name to be looked up, effectively aliasing an
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater entire
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater subtree of the domain name space rather than a single
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater record
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater as in the case of the CNAME RR.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Described in RFC 2672.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater DNSKEY
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Stores a public key associated with a signed
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater DNS zone. Described in RFC 4034.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater DS
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Stores the hash of a public key associated with a
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater signed DNS zone. Described in RFC 4034.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater GPOS
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Specifies the global position. Superseded by LOC.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater HINFO
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Identifies the CPU and OS used by a host.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater Described in RFC 1035.
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater</tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<tr>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater<td>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater <p>
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater ISDN
afb33f777af856f8c3382604a7a8ffdfe2b512c5Automatic Updater </p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater </td>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<td>
0ccb0e98c77a9b9636a036f8f64f5679a430aaf4Tinderbox User <p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater Representation of ISDN addresses.
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User Experimental. Described in RFC 1183.
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater</tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater <p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater KEY
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
f0da471019f224ba88dc2f4b3f2209c6102855f6Automatic Updater Stores a public key associated with a
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater DNS name. Used in original DNSSEC; replaced
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater by DNSKEY in DNSSECbis, but still used with
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater SIG(0). Described in RFCs 2535 and 2931.
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User KX
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Identifies a key exchanger for this
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User DNS name. Described in RFC 2230.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User LOC
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User For storing GPS info. Described in RFC 1876.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Experimental.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User MX
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Identifies a mail exchange for the domain with
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User a 16-bit preference value (lower is better)
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User followed by the host name of the mail exchange.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Described in RFC 974, RFC 1035.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User NAPTR
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Name authority pointer. Described in RFC 2915.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User NSAP
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User A network service access point.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Described in RFC 1706.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User NS
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User The authoritative name server for the
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User domain. Described in RFC 1035.
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User NSEC
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater Used in DNSSECbis to securely indicate that
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User RRs with an owner name in a certain name interval do
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User not exist in
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater a zone and indicate what RR types are present for an
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User existing name.
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater Described in RFC 4034.
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </td>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User</tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater NXT
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User <p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User Used in DNSSEC to securely indicate that
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User RRs with an owner name in a certain name interval do
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User not exist in
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater a zone and indicate what RR types are present for an
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater existing name.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Used in original DNSSEC; replaced by NSEC in
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User DNSSECbis.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Described in RFC 2535.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User PTR
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User A pointer to another part of the domain
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User name space. Described in RFC 1035.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User PX
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Provides mappings between RFC 822 and X.400
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User addresses. Described in RFC 2163.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User RP
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Information on persons responsible
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User for the domain. Experimental. Described in RFC 1183.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User RRSIG
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Contains DNSSECbis signature data. Described
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User in RFC 4034.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User RT
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Route-through binding for hosts that
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User do not have their own direct wide area network
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User addresses.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User Experimental. Described in RFC 1183.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User SIG
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Contains DNSSEC signature data. Used in
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User original DNSSEC; replaced by RRSIG in
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User DNSSECbis, but still used for SIG(0).
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Described in RFCs 2535 and 2931.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User SOA
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Identifies the start of a zone of authority.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Described in RFC 1035.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater <p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User SRV
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User Information about well known network
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User services (replaces WKS). Described in RFC 2782.
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </td>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User</tr>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User<tr>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User TXT
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User Text records. Described in RFC 1035.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User WKS
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User Information about which well known
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User network services, such as SMTP, that a domain
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User supports. Historical.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User X25
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User Representation of X.25 network addresses.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Experimental. Described in RFC 1183.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User</tr>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User</tbody>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User</table></div>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User<p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User The following <span class="emphasis"><em>classes</em></span> of resource records
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User are currently valid in the DNS:
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User </p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User<div class="informaltable"><table border="1">
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<colgroup>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<col>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<col>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater</colgroup>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<tbody>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<tr>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater IN
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater </p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater </td>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater The Internet.
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater</tr>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<tr>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater CH
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User CHAOSnet, a LAN protocol created at MIT in the
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater mid-1970s.
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater Rarely used for its historical purpose, but reused for
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater BIND's
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater built-in server information zones, e.g.,
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater <code class="literal">version.bind</code>.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater</tr>
29651c3a80835482fa1612c24653c9b0c0e2e205Tinderbox User<tr>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<td>
6f64d4ab8e68f9b2333bcbfc755396d29a4a9d7cAutomatic Updater <p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater HS
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<td>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User Hesiod, an information service
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User developed by MIT's Project Athena. It is used to share
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User information
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User about various systems databases, such as users,
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User groups, printers
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User and so on.
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </p>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater </td>
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tbody>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</table></div>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User The owner name is often implicit, rather than forming an
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User integral
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User part of the RR. For example, many name servers internally form
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User tree
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User or hash structures for the name space, and chain RRs off nodes.
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User The remaining RR parts are the fixed header (type, class, TTL)
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User which is consistent for all RRs, and a variable part (RDATA)
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User that
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User fits the needs of the resource being described.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User The meaning of the TTL field is a time limit on how long an
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User RR can be kept in a cache. This limit does not apply to
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User authoritative
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User data in zones; it is also timed out, but by the refreshing
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User policies
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User for the zone. The TTL is assigned by the administrator for the
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User zone where the data originates. While short TTLs can be used to
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User minimize caching, and a zero TTL prohibits caching, the
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User realities
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User of Internet performance suggest that these times should be on
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User the
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User order of days for the typical host. If a change can be
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User anticipated,
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User the TTL can be reduced prior to the change to minimize
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User inconsistency
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User during the change, and then increased back to its former value
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User following
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User the change.
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User The data in the RDATA section of RRs is carried as a combination
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User of binary strings and domain names. The domain names are
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User frequently
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User used as "pointers" to other data in the DNS.
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User</div>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<div class="sect3" lang="en">
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<div class="titlepage"><div><div><h4 class="title">
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<a name="id2590630"></a>Textual expression of RRs</h4></div></div></div>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User RRs are represented in binary form in the packets of the DNS
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User protocol, and are usually represented in highly encoded form
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User when
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User stored in a name server or resolver. In the examples provided
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User in
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User RFC 1034, a style similar to that used in master files was
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User employed
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User in order to show the contents of RRs. In this format, most RRs
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User are shown on a single line, although continuation lines are
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User possible
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User using parentheses.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User The start of the line gives the owner of the RR. If a line
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User begins with a blank, then the owner is assumed to be the same as
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User that of the previous RR. Blank lines are often included for
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User readability.
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User Following the owner, we list the TTL, type, and class of the
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User RR. Class and type use the mnemonics defined above, and TTL is
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User an integer before the type field. In order to avoid ambiguity
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User in
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User parsing, type and class mnemonics are disjoint, TTLs are
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User integers,
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User and the type mnemonic is always last. The IN class and TTL
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User values
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User are often omitted from examples in the interests of clarity.
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User The resource data or RDATA section of the RR are given using
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User knowledge of the typical representation for the data.
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User For example, we might show the RRs carried in a message as:
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<div class="informaltable"><table border="1">
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<colgroup>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<col>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<col>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<col>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User</colgroup>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<tbody>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<tr>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <code class="literal">ISI.EDU.</code>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">MX</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <code class="literal">10 VENERA.ISI.EDU.</code>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User</tr>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<tr>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <p></p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">MX</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">10 VAXA.ISI.EDU</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tr>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <code class="literal">VENERA.ISI.EDU</code>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User <code class="literal">A</code>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">128.9.0.32</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p></p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">A</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">10.1.0.52</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">VAXA.ISI.EDU</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User </td>
d0d1dbab0fe2b940ffb4354dcadb30885f160770Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">A</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">10.2.0.27</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p></p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">A</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">128.9.0.33</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tbody>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</table></div>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User The MX RRs have an RDATA section which consists of a 16-bit
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User number followed by a domain name. The address RRs use a
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User standard
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User IP address format to contain a 32-bit internet address.
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User The above example shows six RRs, with two RRs at each of three
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User domain names.
d133989e6610d218d8ea6cee95acf790ee47f331Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User Similarly we might see:
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<div class="informaltable"><table border="1">
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<colgroup>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<col>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<col>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<col>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</colgroup>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tbody>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<tr>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">XX.LCS.MIT.EDU.</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">IN A</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User<td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User <code class="literal">10.0.0.44</code>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </p>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User </td>
c7f299247ca4460807f44b43f84ba19719646cc9Tinderbox User</tr>
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User<tr>
5329b4137e5c0c309e589d1b019014dc6a383e3dAutomatic Updater<td>�</td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">CH A</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">MIT.EDU. 2420</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews </td>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User This example shows two addresses for
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User <code class="literal">XX.LCS.MIT.EDU</code>, each of a different class.
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User</div>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</div>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<div class="sect2" lang="en">
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<div class="titlepage"><div><div><h3 class="title">
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<a name="id2591287"></a>Discussion of MX Records</h3></div></div></div>
a404eb87dc8f91fe81bedce8bb3957fc3c7684a5Mark Andrews<p>
89bc48260b64a8859ae717e9e5bae380e275fef4Mark Andrews As described above, domain servers store information as a
b3c2030de4cc02b8e881ca4e6f62b385d4b41b0fAutomatic Updater series of resource records, each of which contains a particular
a404eb87dc8f91fe81bedce8bb3957fc3c7684a5Mark Andrews piece of information about a given domain name (which is usually,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein but not always, a host). The simplest way to think of a RR is as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein a typed pair of data, a domain name matched with a relevant datum,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and stored with some additional type information to help systems
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein determine when the RR is relevant.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein MX records are used to control delivery of email. The data
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified in the record is a priority and a domain name. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein priority
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein controls the order in which email delivery is attempted, with the
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews lowest number first. If two priorities are the same, a server is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein chosen randomly. If no servers at a given priority are responding,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the mail transport agent will fall back to the next largest
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein priority.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Priority numbers do not have any absolute meaning &#8212; they are
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein relevant
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein only respective to other MX records for that domain name. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein domain
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein name given is the machine to which the mail will be delivered.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein It <span class="emphasis"><em>must</em></span> have an associated address record
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (A or AAAA) &#8212; CNAME is not sufficient.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For a given domain, if there is both a CNAME record and an
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein MX record, the MX record is in error, and will be ignored.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Instead,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein the mail will be delivered to the server specified in the MX
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein record
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein pointed to by the CNAME.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For example:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">example.com.</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">IN</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">MX</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
eea6be913f9928255cab5f58ff27da41c1e8e23aAutomatic Updater<td>
eea6be913f9928255cab5f58ff27da41c1e8e23aAutomatic Updater <p>
eea6be913f9928255cab5f58ff27da41c1e8e23aAutomatic Updater <code class="literal">10</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">mail.example.com.</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">IN</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews <code class="literal">MX</code>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews </p>
00124ad0406365d39f4b2d1011ef6a76706e9df0Mark Andrews </td>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater<td>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews <p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <code class="literal">10</code>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews <code class="literal">mail2.example.com.</code>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </p>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater </td>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews</tr>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<tr>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews<td>
58d9e9169e7ab4355a0b0bfc13bc616bc5247dfeAutomatic Updater <p></p>
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">IN</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews </td>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">MX</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">20</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">mail.backup.org.</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">mail.example.com.</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">IN</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">A</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">10.0.0.1</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">mail2.example.com.</code>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">IN</code>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </p>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews<td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews <p>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews <code class="literal">A</code>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </p>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews<td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews <p>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews <code class="literal">10.0.0.2</code>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </p>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews<td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews <p></p>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews </td>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews</tr>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews</tbody>
dca44b90c96352111e0f1cdfdeccde1a13732161Mark Andrews</table></div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Mail delivery will be attempted to <code class="literal">mail.example.com</code> and
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">mail2.example.com</code> (in
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater any order), and if neither of those succeed, delivery to <code class="literal">mail.backup.org</code> will
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater be attempted.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</div>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<div class="sect2" lang="en">
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<div class="titlepage"><div><div><h3 class="title">
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<a name="Setting_TTLs"></a>Setting TTLs</h3></div></div></div>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater The time-to-live of the RR field is a 32-bit integer represented
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater in units of seconds, and is primarily used by resolvers when they
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User cache RRs. The TTL describes how long a RR can be cached before it
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater should be discarded. The following three types of TTL are
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater currently
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater used in a zone file.
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<div class="informaltable"><table border="1">
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<colgroup>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<col>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<col>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater</colgroup>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<tbody>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<tr>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User<td>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User <p>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User SOA
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater <p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater The last field in the SOA is the negative
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater caching TTL. This controls how long other servers will
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater cache no-such-domain
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User (NXDOMAIN) responses from you.
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User </p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater <p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater The maximum time for
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater negative caching is 3 hours (3h).
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater</tr>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<tr>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater <p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater $TTL
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater <p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater The $TTL directive at the top of the
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater zone file (before the SOA) gives a default TTL for every
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater RR without
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater a specific TTL set.
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater</tr>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<tr>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<td>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater <p>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater RR TTLs
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater </p>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User </td>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User<td>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User <p>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User Each RR can have a TTL as the second
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User field in the RR, which will control how long other
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User servers can cache
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User the it.
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User </p>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User </td>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User</tr>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User</tbody>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User</table></div>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User<p>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User All of these TTLs default to units of seconds, though units
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User can be explicitly specified, for example, <code class="literal">1h30m</code>.
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User </p>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User</div>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User<div class="sect2" lang="en">
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User<div class="titlepage"><div><div><h3 class="title">
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User<a name="id2591838"></a>Inverse Mapping in IPv4</h3></div></div></div>
9c1210a508fa246d62ca7d9a52f1d8b19d0ccf48Tinderbox User<p>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User Reverse name resolution (that is, translation from IP address
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User to name) is achieved by means of the <span class="emphasis"><em>in-addr.arpa</em></span> domain
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User and PTR records. Entries in the in-addr.arpa domain are made in
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User least-to-most significant order, read left to right. This is the
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User opposite order to the way IP addresses are usually written. Thus,
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User a machine with an IP address of 10.1.2.3 would have a
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User corresponding
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User in-addr.arpa name of
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User 3.2.1.10.in-addr.arpa. This name should have a PTR resource record
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User whose data field is the name of the machine or, optionally,
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User multiple
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User PTR records if the machine has more than one name. For example,
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User in the [<span class="optional">example.com</span>] domain:
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User </p>
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User<div class="informaltable"><table border="1">
b2f07642fd712c8fda81a116bcdde229ab291f33Tinderbox User<colgroup>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<col>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater<col>
a1ad6695ed6f988406cf155aa26376f84f73bcb9Automatic Updater</colgroup>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater<tbody>
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <code class="literal">$ORIGIN</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User <code class="literal">2.1.10.in-addr.arpa</code>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews</tr>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews<tr>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews<td>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews <p>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews <code class="literal">3</code>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews </p>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews </td>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews<td>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <code class="literal">IN PTR foo.example.com.</code>
dcb551033f0b33eb5c113169750a61084d8250a1Mark Andrews </p>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews </td>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews</tr>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews</tbody>
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews</table></div>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews<h3 class="title">Note</h3>
dcb551033f0b33eb5c113169750a61084d8250a1Mark Andrews<p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein The <span><strong class="command">$ORIGIN</strong></span> lines in the examples
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews are for providing context to the examples only-they do not
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews necessarily
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews appear in the actual usage. They are only used here to indicate
6101b9f0d904a708e900a74abc16d1e0eda67264Mark Andrews that the example is relative to the listed origin.
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater </p>
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater</div>
0c6ada0a814f3c5417daa1654129bc2af56ed504Automatic Updater</div>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<div class="sect2" lang="en">
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<div class="titlepage"><div><div><h3 class="title">
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<a name="id2592102"></a>Other Zone File Directives</h3></div></div></div>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<p>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater The Master File Format was initially defined in RFC 1035 and
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater has subsequently been extended. While the Master File Format
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater itself
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater is class independent all records in a Master File must be of the
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater same
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater class.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Master File Directives include <span><strong class="command">$ORIGIN</strong></span>, <span><strong class="command">$INCLUDE</strong></span>,
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User and <span><strong class="command">$TTL.</strong></span>
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="sect3" lang="en">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="titlepage"><div><div><h4 class="title">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<a name="id2592124"></a>The <span><strong class="command">$ORIGIN</strong></span> Directive</h4></div></div></div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Syntax: <span><strong class="command">$ORIGIN</strong></span>
44d0f0256fbdce130a18655023c3b06bacacbd61Automatic Updater <em class="replaceable"><code>domain-name</code></em>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater [<span class="optional"><em class="replaceable"><code>comment</code></em></span>]
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p><span><strong class="command">$ORIGIN</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater sets the domain name that will be appended to any
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater unqualified records. When a zone is first read in there
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater is an implicit <span><strong class="command">$ORIGIN</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater &lt;<code class="varname">zone-name</code>&gt;<span><strong class="command">.</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater The current <span><strong class="command">$ORIGIN</strong></span> is appended to
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater the domain specified in the <span><strong class="command">$ORIGIN</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater argument if it is not absolute.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<pre class="programlisting">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater$ORIGIN example.com.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterWWW CNAME MAIN-SERVER
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</pre>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater is equivalent to
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<pre class="programlisting">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic UpdaterWWW.EXAMPLE.COM. CNAME MAIN-SERVER.EXAMPLE.COM.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</pre>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="sect3" lang="en">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="titlepage"><div><div><h4 class="title">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<a name="id2592185"></a>The <span><strong class="command">$INCLUDE</strong></span> Directive</h4></div></div></div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Syntax: <span><strong class="command">$INCLUDE</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater <em class="replaceable"><code>filename</code></em>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater [<span class="optional">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<em class="replaceable"><code>origin</code></em> </span>]
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater [<span class="optional"> <em class="replaceable"><code>comment</code></em> </span>]
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Read and process the file <code class="filename">filename</code> as
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater if it were included into the file at this point. If <span><strong class="command">origin</strong></span> is
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater specified the file is processed with <span><strong class="command">$ORIGIN</strong></span> set
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater to that value, otherwise the current <span><strong class="command">$ORIGIN</strong></span> is
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater used.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater The origin and the current domain name
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater revert to the values they had prior to the <span><strong class="command">$INCLUDE</strong></span> once
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater the file has been read.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<h3 class="title">Note</h3>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater RFC 1035 specifies that the current origin should be restored
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater after
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater an <span><strong class="command">$INCLUDE</strong></span>, but it is silent
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater on whether the current
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater domain name should also be restored. BIND 9 restores both of
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater them.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater This could be construed as a deviation from RFC 1035, a
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater feature, or both.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="sect3" lang="en">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="titlepage"><div><div><h4 class="title">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<a name="id2592323"></a>The <span><strong class="command">$TTL</strong></span> Directive</h4></div></div></div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Syntax: <span><strong class="command">$TTL</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater <em class="replaceable"><code>default-ttl</code></em>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater [<span class="optional">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<em class="replaceable"><code>comment</code></em> </span>]
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Set the default Time To Live (TTL) for subsequent records
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater with undefined TTLs. Valid TTLs are of the range 0-2147483647
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater seconds.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p><span><strong class="command">$TTL</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater is defined in RFC 2308.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater </p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater</div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="sect2" lang="en">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<div class="titlepage"><div><div><h3 class="title">
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<a name="id2592427"></a><acronym class="acronym">BIND</acronym> Master File Extension: the <span><strong class="command">$GENERATE</strong></span> Directive</h3></div></div></div>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater<p>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater Syntax: <span><strong class="command">$GENERATE</strong></span>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater <em class="replaceable"><code>range</code></em>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater <em class="replaceable"><code>lhs</code></em>
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater [<span class="optional"><em class="replaceable"><code>ttl</code></em></span>]
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater [<span class="optional"><em class="replaceable"><code>class</code></em></span>]
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater <em class="replaceable"><code>type</code></em>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater <em class="replaceable"><code>rhs</code></em>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater [<span class="optional"><em class="replaceable"><code>comment</code></em></span>]
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater </p>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater<p><span><strong class="command">$GENERATE</strong></span>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater is used to create a series of resource records that only
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater differ from each other by an
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater iterator. <span><strong class="command">$GENERATE</strong></span> can be used to
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater easily generate the sets of records required to support
f7b2875691497b292eacb60609be23a813d14e63Automatic Updater sub /24 reverse delegations described in RFC 2317:
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater Classless IN-ADDR.ARPA delegation.
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater </p>
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater<pre class="programlisting">$ORIGIN 0.0.192.IN-ADDR.ARPA.
8e821eea5f57ac47a94305aa7ab0c3570d92a311Automatic Updater$GENERATE 1-2 0 NS SERVER$.EXAMPLE.
2895f101b5585a19015ac2c2c1e1812ac467fa12Automatic Updater$GENERATE 1-127 $ CNAME $.0</pre>
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User<p>
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater is equivalent to
102ccdd2c0ade46f2d668c4b4d3fbbe668a44994Automatic Updater </p>
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User<pre class="programlisting">0.0.0.192.IN-ADDR.ARPA NS SERVER1.EXAMPLE.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User0.0.0.192.IN-ADDR.ARPA. NS SERVER2.EXAMPLE.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User1.0.0.192.IN-ADDR.ARPA. CNAME 1.0.0.0.192.IN-ADDR.ARPA.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User2.0.0.192.IN-ADDR.ARPA. CNAME 2.0.0.0.192.IN-ADDR.ARPA.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User...
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User127.0.0.192.IN-ADDR.ARPA. CNAME 127.0.0.0.192.IN-ADDR.ARPA.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User</pre>
7a7a44400d49122d4cc207b43922a7b9c5afe443Automatic Updater<div class="informaltable"><table border="1">
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<colgroup>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<col>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</colgroup>
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews<tbody>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <p><span><strong class="command">range</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce This can be one of two forms: start-stop
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein or start-stop/step. If the first form is used, then step
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein is set to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein 1. All of start, stop and step must be positive.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
c11135d39e82f0cd1c67869c535f4af77cd8eda6Tinderbox User </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews<td>
71c66a876ecca77923638d3f94cc0783152b2f03Mark Andrews <p><span><strong class="command">lhs</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">lhs</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein describes the owner name of the resource records
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to be created. Any single <span><strong class="command">$</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (dollar sign)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein symbols within the <span><strong class="command">lhs</strong></span> side
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein are replaced by the iterator value.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein To get a $ in the output you need to escape the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">$</strong></span> using a backslash
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">\</strong></span>,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein e.g. <span><strong class="command">\$</strong></span>. The
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">$</strong></span> may optionally be followed
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein by modifiers which change the offset from the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein iterator, field width and base.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Modifiers are introduced by a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">{</strong></span> immediately following the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">$</strong></span> as
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">${offset[,width[,base]]}</strong></span>.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For example, <span><strong class="command">${-20,3,d}</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein subtracts 20 from the current value, prints the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein result as a decimal in a zero-padded field of
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein width 3.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Available output forms are decimal
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (<span><strong class="command">d</strong></span>), octal
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (<span><strong class="command">o</strong></span>) and hexadecimal
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein (<span><strong class="command">x</strong></span> or <span><strong class="command">X</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein for uppercase). The default modifier is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">${0,0,d}</strong></span>. If the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <span><strong class="command">lhs</strong></span> is not absolute, the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein current <span><strong class="command">$ORIGIN</strong></span> is appended
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein to the name.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
d01e14dc0bfc700a8d72e9676fc8aa66c237151fAutomatic Updater <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein For compatibility with earlier versions, <span><strong class="command">$$</strong></span> is still
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein recognized as indicating a literal $ in the output.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">ttl</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specifies the time-to-live of the generated records. If
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein not specified this will be inherited using the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein normal ttl inheritance rules.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">class</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and <span><strong class="command">ttl</strong></span> can be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein entered in either order.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">class</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein Specifies the class of the generated records.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein This must match the zone class if it is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein specified.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">class</strong></span>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein and <span><strong class="command">ttl</strong></span> can be
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein entered in either order.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein</tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<tr>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p><span><strong class="command">type</strong></span></p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein </td>
b05bdb520d83f7ecaad708fe305268c3420be01dMark Andrews<td>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein <p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein At present the only supported types are
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson PTR, CNAME, DNAME, A, AAAA and NS.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </p>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</tr>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<tr>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<td>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson <p><span><strong class="command">rhs</strong></span></p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </td>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<td>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce <p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce A domain name. It is processed
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce similarly to lhs.
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce </td>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson</tr>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce</tbody>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</table></div>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater<p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce The <span><strong class="command">$GENERATE</strong></span> directive is a <acronym class="acronym">BIND</acronym> extension
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson and not part of the standard zone file format.
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson </p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<p>
727f5b8846457a33d06f515a10a7e1aa849ddf18Andreas Gustafsson BIND 8 does not support the optional TTL and CLASS fields.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater </p>
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater</div>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<div class="sect2" lang="en">
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<div class="titlepage"><div><div><h3 class="title">
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<a name="zonefile_format"></a>Additional File Formats</h3></div></div></div>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce<p>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce In addition to the standard textual format, BIND 9
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein supports the ability to read or dump to zone files in
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein other formats. The <code class="constant">raw</code> format is
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein currently available as an additional format. It is a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein binary format representing BIND 9's internal data
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein structure directly, thereby remarkably improving the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein loading time.
a53c45b2b8e778663ea51834272169dc946b6672Mark Andrews </p>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<p>
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews For a primary server, a zone file in the
68b30890ebd441a6a1ae3fdf71744d07d02cd030Mark Andrews <code class="constant">raw</code> format is expected to be
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews generated from a textual zone file by the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews <span><strong class="command">named-compilezone</strong></span> command. For a
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User secondary server or for a dynamic zone, it is automatically
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User generated (if this format is specified by the
15d29ab5fe89ad45b13ab8dcb74093f682a95986Tinderbox User <span><strong class="command">masterfile-format</strong></span> option) when
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater <span><strong class="command">named</strong></span> dumps the zone contents after
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User zone transfer or when applying prior updates.
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User </p>
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein<p>
3a3705ef7747327df182bf8d009333d2472253d5Mark Andrews If a zone file in a binary format needs manual modification,
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein it first must be converted to a textual form by the
7be2f6d5df28b207e3e385c555eb4f740150528dTinderbox User <span><strong class="command">named-compilezone</strong></span> command. All
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews necessary modification should go to the text file, which
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein should then be converted to the binary form by the
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews <span><strong class="command">named-compilezone</strong></span> command again.
43b94483957d3168796a816ed86cf097518817dcTinderbox User </p>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<p>
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater Although the <code class="constant">raw</code> format uses the
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews network byte order and avoids architecture-dependent
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User data alignment so that it is as much portable as
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews possible, it is primarily expected to be used inside
ccc383f3a74bdf3559650c630bbca24b11d8f8aeAutomatic Updater the same single system. In order to export a zone
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews file in the <code class="constant">raw</code> format or make a
eea6be913f9928255cab5f58ff27da41c1e8e23aAutomatic Updater portable backup of the file, it is recommended to
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews convert the file to the standard textual representation.
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews </p>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews</div>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews</div>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews</div>
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews<div class="navfooter">
7526edc7677371c366232de5f39a678b7dcda747Mark Andrews<hr>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<table width="100%" summary="Navigation footer">
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<tr>
3a32ac2a720653083c7a22cb654b86c398f6d4c8Tinderbox User<td width="40%" align="left">
dad65f7c93330a10705384739dff3a6d4dfe1e70Tinderbox User<a accesskey="p" href="Bv9ARM.ch05.html">Prev</a>�</td>
3cddb2c552ee6582e8db0849c28747f6b6ca57feAutomatic Updater<td width="20%" align="center">�</td>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater<td width="40%" align="right">�<a accesskey="n" href="Bv9ARM.ch07.html">Next</a>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater</td>
aeb7938001b22e811a910e1b36cdf452f9193865Automatic Updater</tr>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<tr>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<td width="40%" align="left" valign="top">Chapter�5.�The <acronym class="acronym">BIND</acronym> 9 Lightweight Resolver�</td>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews<td width="40%" align="right" valign="top">�Chapter�7.�<acronym class="acronym">BIND</acronym> 9 Security Considerations</td>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews</tr>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews</table>
9ce6056d520aaf5241560fab6ab096c0d4e87b36Automatic Updater</div>
a17029519ef25b7cb545d574b728dc81b0ab74fdTinderbox User</body>
885c1096e0c296b0188f01ca7511df1f70a6cddaMark Andrews</html>
06ac94d81a56d4acc2590cc98c1bae5c89b8eeebAutomatic Updater