Bv9ARM.ch04.html revision c313914d0e66b20969215e519bbf2ab4ecf39512
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek - Copyright (C) 2000-2018 Internet Systems Consortium, Inc. ("ISC")
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek - This Source Code Form is subject to the terms of the Mozilla Public
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek - License, v. 2.0. If a copy of the MPL was not distributed with this
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek - file, You can obtain one at http://mozilla.org/MPL/2.0/.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<link rel="prev" href="Bv9ARM.ch03.html" title="Chapter�3.�Name Server Configuration">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<link rel="next" href="Bv9ARM.ch05.html" title="Chapter�5.�The BIND 9 Lightweight Resolver">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<table width="100%" summary="Navigation header">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<tr><th colspan="3" align="center">Chapter�4.�Advanced DNS Features</th></tr>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<a accesskey="p" href="Bv9ARM.ch03.html">Prev</a>�</td>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<td width="20%" align="right">�<a accesskey="n" href="Bv9ARM.ch05.html">Next</a>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<div class="titlepage"><div><div><h1 class="title">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<a name="Bv9ARM.ch04"></a>Chapter�4.�Advanced DNS Features</h1></div></div></div>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#notify">Notify</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dynamic_update">Dynamic Update</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dd><dl><dt><span class="section"><a href="Bv9ARM.ch04.html#journal">The journal file</a></span></dt></dl></dd>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#incremental_zone_transfers">Incremental Zone Transfers (IXFR)</a></span></dt>
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik<dt><span class="section"><a href="Bv9ARM.ch04.html#split_dns">Split DNS</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dd><dl><dt><span class="section"><a href="Bv9ARM.ch04.html#split_dns_sample">Example split DNS setup</a></span></dt></dl></dd>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#tsig">TSIG</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.6.5">Generating a Shared Key</a></span></dt>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.6.6">Loading A New Key</a></span></dt>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.6.7">Instructing the Server to Use a Key</a></span></dt>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.6.8">TSIG-Based Access Control</a></span></dt>
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.6.9">Errors</a></span></dt>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#tkey">TKEY</a></span></dt>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#sig0">SIG(0)</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#DNSSEC">DNSSEC</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dnssec_keys">Generating Keys</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dnssec_signing">Signing the Zone</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dnssec_config">Configuring Servers</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dnssec.dynamic.zones">DNSSEC, Dynamic Zones, and Automatic Signing</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.2">Converting from insecure to secure</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.7">Dynamic DNS update method</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.15">Fully automatic zone signing</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.24">Private-type records</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.31">DNSKEY rollovers</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.33">Dynamic DNS update method</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.38">Automatic key rollovers</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.40">NSEC3PARAM rollovers via UPDATE</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.42">Converting from NSEC to NSEC3</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.44">Converting from NSEC3 to NSEC</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.46">Converting from secure to insecure</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.50">Periodic re-signing</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.10.52">NSEC3 and OPTOUT</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#rfc5011.support">Dynamic Trust Anchor Management</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.11.3">Validating Resolver</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.11.4">Authoritative Server</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#pkcs11">PKCS#11 (Cryptoki) support</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.6">Prerequisites</a></span></dt>
933314e53fac878d1a9b126af216454172cb945aJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.7">Native PKCS#11</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.8">OpenSSL-based PKCS#11</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.9">PKCS#11 Tools</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.10">Using the HSM</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.11">Specifying the engine on the command line</a></span></dt>
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.12.12">Running named with automatic zone re-signing</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dlz-info">DLZ (Dynamically Loadable Zones)</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.13.6">Configuring DLZ</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.13.7">Sample DLZ Driver</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#dyndb-info">DynDB (Dynamic Database)</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.14.5">Configuring DynDB</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.14.6">Sample DynDB Module</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#catz-info">Catalog Zones</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.15.4">Principle of Operation</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.15.5">Configuring Catalog Zones</a></span></dt>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.15.6">Catalog Zone format</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#ipv6">IPv6 Support in <acronym class="acronym">BIND</acronym> 9</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.16.6">Address Lookups Using AAAA Records</a></span></dt>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<dt><span class="section"><a href="Bv9ARM.ch04.html#id-1.5.16.7">Address to Name Lookups Using Nibble Format</a></span></dt>
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik<div class="titlepage"><div><div><h2 class="title" style="clear: both">
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<a name="notify"></a>Notify</h2></div></div></div>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <acronym class="acronym">DNS</acronym> NOTIFY is a mechanism that allows master
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek servers to notify their slave servers of changes to a zone's data. In
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek response to a <span class="command"><strong>NOTIFY</strong></span> from a master server, the
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek slave will check to see that its version of the zone is the
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek current version and, if not, initiate a zone transfer.
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik For more information about <acronym class="acronym">DNS</acronym>
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik <span class="command"><strong>NOTIFY</strong></span>, see the description of the
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <span class="command"><strong>notify</strong></span> option in <a class="xref" href="Bv9ARM.ch06.html#boolean_options" title="Boolean Options">the section called “Boolean Options”</a> and
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek the description of the zone option <span class="command"><strong>also-notify</strong></span> in
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <a class="xref" href="Bv9ARM.ch06.html#zone_transfers" title="Zone Transfers">the section called “Zone Transfers”</a>. The <span class="command"><strong>NOTIFY</strong></span>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek protocol is specified in RFC 1996.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek As a slave zone can also be a master to other slaves, <span class="command"><strong>named</strong></span>,
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek by default, sends <span class="command"><strong>NOTIFY</strong></span> messages for every zone
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek it loads. Specifying <span class="command"><strong>notify master-only;</strong></span> will
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek cause <span class="command"><strong>named</strong></span> to only send <span class="command"><strong>NOTIFY</strong></span> for master
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek zones that it loads.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<div class="titlepage"><div><div><h2 class="title" style="clear: both">
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<a name="dynamic_update"></a>Dynamic Update</h2></div></div></div>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek Dynamic Update is a method for adding, replacing or deleting
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek records in a master server by sending it a special form of DNS
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek messages. The format and meaning of these messages is specified
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek in RFC 2136.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek Dynamic update is enabled by including an
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek <span class="command"><strong>allow-update</strong></span> or an <span class="command"><strong>update-policy</strong></span>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek clause in the <span class="command"><strong>zone</strong></span> statement.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek If the zone's <span class="command"><strong>update-policy</strong></span> is set to
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek <strong class="userinput"><code>local</code></strong>, updates to the zone
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek will be permitted for the key <code class="varname">local-ddns</code>,
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek which will be generated by <span class="command"><strong>named</strong></span> at startup.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek See <a class="xref" href="Bv9ARM.ch06.html#dynamic_update_policies" title="Dynamic Update Policies">the section called “Dynamic Update Policies”</a> for more details.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek Dynamic updates using Kerberos signed requests can be made
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek using the TKEY/GSS protocol by setting either the
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek <span class="command"><strong>tkey-gssapi-keytab</strong></span> option, or alternatively
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek by setting both the <span class="command"><strong>tkey-gssapi-credential</strong></span>
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek and <span class="command"><strong>tkey-domain</strong></span> options. Once enabled,
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek Kerberos signed requests will be matched against the update
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek policies for the zone, using the Kerberos principal as the
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek signer for the request.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek Updating of secure zones (zones using DNSSEC) follows RFC
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek 3007: RRSIG, NSEC and NSEC3 records affected by updates are
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek automatically regenerated by the server using an online
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek zone key. Update authorization is based on transaction
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek signatures and an explicit server policy.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<div class="titlepage"><div><div><h3 class="title">
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek<a name="journal"></a>The journal file</h3></div></div></div>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek All changes made to a zone using dynamic update are stored
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek in the zone's journal file. This file is automatically created
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek by the server when the first dynamic update takes place.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek The name of the journal file is formed by appending the extension
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <code class="filename">.jnl</code> to the name of the
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek corresponding zone
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek file unless specifically overridden. The journal file is in a
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek binary format and should not be edited manually.
de2bad8ae08f09964834bda0f88db9de39f47c5cJakub Hrozek The server will also occasionally write ("dump")
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek the complete contents of the updated zone to its zone file.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek This is not done immediately after
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek each dynamic update, because that would be too slow when a large
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek zone is updated frequently. Instead, the dump is delayed by
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek up to 15 minutes, allowing additional updates to take place.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek During the dump process, transient files will be created
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek with the extensions <code class="filename">.jnw</code> and
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <code class="filename">.jbk</code>; under ordinary circumstances, these
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek will be removed when the dump is complete, and can be safely
de2bad8ae08f09964834bda0f88db9de39f47c5cJakub Hrozek When a server is restarted after a shutdown or crash, it will replay
de2bad8ae08f09964834bda0f88db9de39f47c5cJakub Hrozek the journal file to incorporate into the zone any updates that
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek place after the last zone dump.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Changes that result from incoming incremental zone transfers are
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek journalled in a similar way.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek The zone files of dynamic zones cannot normally be edited by
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek hand because they are not guaranteed to contain the most recent
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek dynamic changes — those are only in the journal file.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek The only way to ensure that the zone file of a dynamic zone
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek is up to date is to run <span class="command"><strong>rndc stop</strong></span>.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek If you have to make changes to a dynamic zone
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek manually, the following procedure will work:
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Disable dynamic updates to the zone using
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <span class="command"><strong>rndc freeze <em class="replaceable"><code>zone</code></em></strong></span>.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek This will update the zone's master file with the changes
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek stored in its <code class="filename">.jnl</code> file.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Edit the zone file. Run
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik <span class="command"><strong>rndc thaw <em class="replaceable"><code>zone</code></em></strong></span>
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik to reload the changed zone and re-enable dynamic updates.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <span class="command"><strong>rndc sync <em class="replaceable"><code>zone</code></em></strong></span>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek will update the zone file with changes from the journal file
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek without stopping dynamic updates; this may be useful for viewing
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek the current zone state. To remove the <code class="filename">.jnl</code>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek file after updating the zone file, use
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <span class="command"><strong>rndc sync -clean</strong></span>.
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik<div class="titlepage"><div><div><h2 class="title" style="clear: both">
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<a name="incremental_zone_transfers"></a>Incremental Zone Transfers (IXFR)</h2></div></div></div>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek The incremental zone transfer (IXFR) protocol is a way for
de2bad8ae08f09964834bda0f88db9de39f47c5cJakub Hrozek slave servers to transfer only changed data, instead of having to
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek transfer the entire zone. The IXFR protocol is specified in RFC
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek 1995. See <a class="xref" href="Bv9ARM.ch11.html#proposed_standards" title="Proposed Standards">Proposed Standards</a>.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek When acting as a master, <acronym class="acronym">BIND</acronym> 9
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek supports IXFR for those zones
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek where the necessary change history information is available. These
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek include master zones maintained by dynamic update and slave zones
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek whose data was obtained by IXFR. For manually maintained master
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek zones, and for slave zones obtained by performing a full zone
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek transfer (AXFR), IXFR is supported only if the option
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <span class="command"><strong>ixfr-from-differences</strong></span> is set
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek to <strong class="userinput"><code>yes</code></strong>.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek When acting as a slave, <acronym class="acronym">BIND</acronym> 9 will
e2bd4f8a41b72aea0712ad21ad02ccebb707f536Stephen Gallagher attempt to use IXFR unless
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek it is explicitly disabled. For more information about disabling
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek IXFR, see the description of the <span class="command"><strong>request-ixfr</strong></span> clause
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek of the <span class="command"><strong>server</strong></span> statement.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<div class="titlepage"><div><div><h2 class="title" style="clear: both">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek<a name="split_dns"></a>Split DNS</h2></div></div></div>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Setting up different views, or visibility, of the DNS space to
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek internal and external resolvers is usually referred to as a
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <span class="emphasis"><em>Split DNS</em></span> setup. There are several
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek reasons an organization would want to set up its DNS this way.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek One common reason for setting up a DNS system this way is
4e5e846de22407f825fe3b4040d79606818a2419Jakub Hrozek to hide "internal" DNS information from "external" clients on the
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Internet. There is some debate as to whether or not this is actually
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Internal DNS information leaks out in many ways (via email headers,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek for example) and most savvy "attackers" can find the information
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek they need using other means.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek However, since listing addresses of internal servers that
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik external clients cannot possibly reach can result in
295c8e301e31f9bf27d921f80c14dfa5864b2383Lukas Slebodnik connection delays and other annoyances, an organization may
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek choose to use a Split DNS to present a consistent view of itself
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek to the outside world.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Another common reason for setting up a Split DNS system is
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek to allow internal networks that are behind filters or in RFC 1918
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek space (reserved IP space, as documented in RFC 1918) to resolve DNS
4e5e846de22407f825fe3b4040d79606818a2419Jakub Hrozek on the Internet. Split DNS can also be used to allow mail from outside
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek back in to the internal network.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<div class="titlepage"><div><div><h3 class="title">
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek<a name="split_dns_sample"></a>Example split DNS setup</h3></div></div></div>
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Let's say a company named <span class="emphasis"><em>Example, Inc.</em></span>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek has several corporate sites that have an internal network with
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Internet Protocol (IP) space and an external demilitarized zone (DMZ),
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek or "outside" section of a network, that is available to the public.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <span class="emphasis"><em>Example, Inc.</em></span> wants its internal clients
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek to be able to resolve external hostnames and to exchange mail with
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek people on the outside. The company also wants its internal resolvers
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek to have access to certain internal-only zones that are not available
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek at all outside of the internal network.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek In order to accomplish this, the company will set up two sets
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek of name servers. One set will be on the inside network (in the
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek IP space) and the other set will be on bastion hosts, which are
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek hosts that can talk to both sides of its network, in the DMZ.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek The internal servers will be configured to forward all queries,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek except queries for <code class="filename">site1.internal</code>, <code class="filename">site2.internal</code>, <code class="filename">site1.example.com</code>,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek and <code class="filename">site2.example.com</code>, to the servers
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek DMZ. These internal servers will have complete sets of information
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek for <code class="filename">site1.example.com</code>, <code class="filename">site2.example.com</code>, <code class="filename">site1.internal</code>,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek and <code class="filename">site2.internal</code>.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek To protect the <code class="filename">site1.internal</code> and <code class="filename">site2.internal</code> domains,
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek the internal name servers must be configured to disallow all queries
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek to these domains from any external hosts, including the bastion
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek The external servers, which are on the bastion hosts, will
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek be configured to serve the "public" version of the <code class="filename">site1</code> and <code class="filename">site2.example.com</code> zones.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek This could include things such as the host records for public servers
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek (<code class="filename">www.example.com</code> and <code class="filename">ftp.example.com</code>),
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek and mail exchange (MX) records (<code class="filename">a.mx.example.com</code> and <code class="filename">b.mx.example.com</code>).
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek In addition, the public <code class="filename">site1</code> and <code class="filename">site2.example.com</code> zones
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek should have special MX records that contain wildcard (`*') records
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek pointing to the bastion hosts. This is needed because external mail
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek servers do not have any other way of looking up how to deliver mail
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek to those internal hosts. With the wildcard records, the mail will
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek be delivered to the bastion host, which can then forward it on to
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek internal hosts.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Here's an example of a wildcard MX record:
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <pre class="programlisting">* IN MX 10 external1.example.com.</pre>
266110fa0f6eb086f8f88787bb167cea416fe108Jakub Hrozek Now that they accept mail on behalf of anything in the internal
266110fa0f6eb086f8f88787bb167cea416fe108Jakub Hrozek network, the bastion hosts will need to know how to deliver mail
266110fa0f6eb086f8f88787bb167cea416fe108Jakub Hrozek to internal hosts. In order for this to work properly, the resolvers
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek the bastion hosts will need to be configured to point to the internal
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek name servers for DNS resolution.
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek Queries for internal hostnames will be answered by the internal
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek servers, and queries for external hostnames will be forwarded back
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek out to the DNS servers on the bastion hosts.
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek In order for all this to work properly, internal clients will
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek need to be configured to query <span class="emphasis"><em>only</em></span> the internal
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek name servers for DNS queries. This could also be enforced via
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek filtering on the network.
266110fa0f6eb086f8f88787bb167cea416fe108Jakub Hrozek If everything has been set properly, <span class="emphasis"><em>Example, Inc.</em></span>'s
ba4a81e933deebb416603369b447ead6ebaa040dJakub Hrozek internal clients will now be able to:
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Look up any hostnames in the <code class="literal">site1</code>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <code class="literal">site2.example.com</code> zones.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Look up any hostnames in the <code class="literal">site1.internal</code> and
4e5e846de22407f825fe3b4040d79606818a2419Jakub Hrozek <code class="literal">site2.internal</code> domains.
30dd3f3e063dded0ec9f58bc2535a94727d8e96dJakub Hrozek Look up any hostnames on the Internet.
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek Exchange mail with both internal and external people.
4e5e846de22407f825fe3b4040d79606818a2419Jakub Hrozek Hosts on the Internet will be able to:
51b5e1475b3e0b7acac34ed382cfaca8411883a4Jakub Hrozek <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Look up any hostnames in the <code class="literal">site1</code>
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <code class="literal">site2.example.com</code> zones.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Exchange mail with anyone in the <code class="literal">site1</code> and
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek <code class="literal">site2.example.com</code> zones.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Here is an example configuration for the setup we just
6b57784f0f175275fd900eca21c77415e3a5ea52Jakub Hrozek described above. Note that this is only configuration information;
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek for information on how to configure your zone files, see <a class="xref" href="Bv9ARM.ch03.html#sample_configuration" title="Sample Configurations">the section called “Sample Configurations”</a>.
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozek Internal DNS server config:
zone "site1.example.com" {
zone "site2.example.com" {
zone "site1.internal" {
zone "site2.internal" {
zone "site1.example.com" {
zone "site2.example.com" {
certain server functions (e.g., recursive queries) to authorized
<a class="xref" href="man.nsupdate.html" title="nsupdate"><span class="refentrytitle"><span class="application">nsupdate</span></span>(1)</a> supports TSIG via the
<a class="xref" href="man.dig.html" title="dig"><span class="refentrytitle">dig</span>(1)</a> supports TSIG via the
$ tsig-keygen host1-host2. > host1-host2.key
<span class="command"><strong>named</strong></span>. See <a class="xref" href="man.ddns-confgen.html" title="ddns-confgen"><span class="refentrytitle"><span class="application">ddns-confgen</span></span>(8)</a>
cause <span class="emphasis"><em>all</em></span> requests from <span class="emphasis"><em>host1</em></span>
Requests sent by <span class="emphasis"><em>host2</em></span> to <span class="emphasis"><em>host1</em></span>
<span class="command"><strong>server</strong></span> directive were in <span class="emphasis"><em>host2</em></span>'s
such as <span class="command"><strong>allow-query</strong></span>, <span class="command"><strong>allow-transfer</strong></span>
See <a class="xref" href="Bv9ARM.ch06.html#dynamic_update_policies" title="Dynamic Update Policies">the section called “Dynamic Update Policies”</a> for a discussion of
that the tools shipped with BIND 9.2.x and earlier are not compatible
<strong class="userinput"><code>dnssec-keygen -a RSASHA1 -b 768 -n ZONE child.example.</code></strong>
<strong class="userinput"><code>yes</code></strong> or <strong class="userinput"><code>auto</code></strong>.
example.com. 257 3 5 "AwEAAaxPMcR2x0HbQV4WeZB6oEDX+r0QM6
<a name="dnssec.dynamic.zones"></a>DNSSEC, Dynamic Zones, and Automatic Signing</h2></div></div></div>
zone example.net {
> update add example.net DNSKEY 256 3 7 AwEAAZn17pUF0KpbPA2c7Gz76Vb18v0teKT3EyAGfBfL8eQ8al35zz3Y I1m/SAQBxIqMfLtIwqWPdgthsu36azGQAX8=
> update add example.net DNSKEY 257 3 7 AwEAAd/7odU/64o2LGsifbLtQmtO8dFDtTAZXSX2+X3e/UNlq9IHq3Y0 XtC0Iuawl/qkaKVxXe2lo8Ct+dM6UehyCqk=
> update add example.net DNSKEY 256 3 7 AwEAAZn17pUF0KpbPA2c7Gz76Vb18v0teKT3EyAGfBfL8eQ8al35zz3Y I1m/SAQBxIqMfLtIwqWPdgthsu36azGQAX8=
> update add example.net DNSKEY 257 3 7 AwEAAd/7odU/64o2LGsifbLtQmtO8dFDtTAZXSX2+X3e/UNlq9IHq3Y0 XtC0Iuawl/qkaKVxXe2lo8Ct+dM6UehyCqk=
> update add example.net NSEC3PARAM 1 1 100 1234567890
(See <a class="xref" href="man.dnssec-keygen.html" title="dnssec-keygen"><span class="refentrytitle"><span class="application">dnssec-keygen</span></span>(8)</a> and
<a class="xref" href="man.dnssec-settime.html" title="dnssec-settime"><span class="refentrytitle"><span class="application">dnssec-settime</span></span>(8)</a> for more information.)
<span class="command"><strong>rndc sign</strong></span> or <span class="command"><strong>rndc loadkeys</strong></span>
<span class="command"><strong>dnssec-keygen</strong></span> or <span class="command"><strong>dnssec-settime</strong></span>),
<p>In any secure zone which supports dynamic updates, <span class="command"><strong>named</strong></span>
<a class="xref" href="Bv9ARM.ch06.html#managed-keys" title="managed-keys Statement Definition and Usage">the section called “<span class="command"><strong>managed-keys</strong></span> Statement Definition
$ <strong class="userinput"><code>dnssec-keygen -K keys -f KSK -P now -A now+2y example.net</code></strong>
and the <span class="command"><strong>dnssec-*</strong></span> and <span class="command"><strong>pkcs11-*</strong></span>
<span class="command"><strong>dnssec-*</strong></span> tools, or the <code class="option">-m</code> in
$ <strong class="userinput"><code> configure --with-crypto-backend=openssl --prefix=/opt/pkcs11/usr --enable-gost </code></strong>
$ <strong class="userinput"><code> /opt/pkcs11/usr/bin/softhsm-util --init-token 0 --slot 0 --label softhsmv2 </code></strong>
$ <strong class="userinput"><code>wget <a class="link" href="" target="_top">http://www.openssl.org/source/openssl-0.9.8zc.tar.gz</a></code></strong>
$ <strong class="userinput"><code>cp pkcs11.GCC4.0.2.so.4.05 /opt/pkcs11/usr/lib/libpkcs11.so</code></strong>
and "<span class="command"><strong>make test</strong></span>". If "<span class="command"><strong>make
$ <strong class="userinput"><code> echo "0:/opt/pkcs11/softhsm.db" > $SOFTHSM_CONF </code></strong>
$ <strong class="userinput"><code> /opt/pkcs11/usr/bin/softhsm --init-token 0 --slot 0 --label softhsm </code></strong>
<span class="quote">“<span class="quote"><code class="literal">[ available ]</code></span>”</span>.
<a name="id-1.5.12.8.18"></a>Configuring BIND 9 for Linux with the AEP Keyper</h4></div></div></div>
<a name="id-1.5.12.8.19"></a>Configuring BIND 9 for Solaris with the SCA 6000</h4></div></div></div>
$ <strong class="userinput"><code>export LD_LIBRARY_PATH=/opt/pkcs11/usr/lib:${LD_LIBRARY_PATH}</code></strong>
$ <strong class="userinput"><code>export KEYPER_LIBRARY_PATH=/opt/Keyper/PKCS11Provider</code></strong>
"sample-ksk" as the key-signing key for "example.net":
$ <strong class="userinput"><code>dnssec-keyfromlabel -l sample-ksk -f KSK example.net</code></strong>
<a class="xref" href="man.dnssec-keyfromlabel.html" title="dnssec-keyfromlabel"><span class="refentrytitle"><span class="application">dnssec-keyfromlabel</span></span>(8)</a> for details.)
then <span class="command"><strong>named</strong></span> must have access to the HSM PIN. In OpenSSL-based PKCS#11,
this is accomplished by placing the PIN into the openssl.cnf file
The location of the openssl.cnf file can be overridden by
Historically, DLZ drivers had to be statically linked with the <span class="command"><strong>named</strong></span>
"dlopen" driver is linked into <span class="command"><strong>named</strong></span> by default, so configure options
When the DLZ module provides data to <span class="command"><strong>named</strong></span>, it does so in text format.
The response is converted to DNS wire format by <span class="command"><strong>named</strong></span>. This
dynamically-linkable DLZ module--i.e., one which can be
"example.nil", which can answer queries and AXFR requests, and
example.nil. 1800 IN A 10.53.0.1
e.g., by providing different address records for a particular name
(see <a class="xref" href="Bv9ARM.ch04.html#dlz-info" title="DLZ (Dynamically Loadable Zones)">the section called “DLZ (Dynamically Loadable Zones)”</a>), allows zone data to be
<a class="link" href="https://fedorahosted.org/bind-dyndb-ldap/" target="_top">https://fedorahosted.org/bind-dyndb-ldap/</a>.
dyndb example "driver.so" {
"example.nil", which can answer queries and AXFR requests, and
example.nil. 86400 IN A 127.0.0.1
whether the updated RR is an address (i.e., type A or AAAA) and if
zone "catalog.example"
means <span class="command"><strong>rndc addzone</strong></span> and <span class="command"><strong>rndc delzone</strong></span>
catalog.example. IN SOA . . 2016022901 900 600 86400 1
catalog.example. IN NS nsexample.
version.catalog.example. IN TXT "1"
Global options are set at the apex of the catalog zone, e.g.:
masters.catalog.example. IN AAAA 2001:db8::1
masters.catalog.example. IN A 192.0.2.1
label.masters.catalog.example. IN A 192.0.2.2
label.masters.catalog.example. IN TXT "tsig_key_name"
label.masters.5960775ba382e7a4e09263fc06e7c00569b6a05c.zones.catalog.example. IN AAAA 2001:db8::2
see <a class="xref" href="Bv9ARM.ch11.html#ipv6addresses" title="IPv6 addresses (AAAA)">the section called “IPv6 addresses (AAAA)”</a>.
$ORIGIN example.com.
<td width="40%" align="right" valign="top">�Chapter�5.�The <acronym class="acronym">BIND</acronym> 9 Lightweight Resolver</td>
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.3 (Extended Support Version)</p>