Bv9ARM.ch01.html revision f00c53aafe031bb7ef2e3b03934701ac44dfe258
69fe9aaafdd6a141610e86a777d325db75422070Mark Andrews<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews<!--
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence - Copyright (C) 2000-2017 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews -
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews - License, v. 2.0. If a copy of the MPL was not distributed with this
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff - file, You can obtain one at http://mozilla.org/MPL/2.0/.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff-->
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater<html lang="en">
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence<head>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
29747dfe5e073a299b3681e01f5c55540f8bfed7Mark Andrews<title>Chapter�1.�Introduction</title>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<link rel="home" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<link rel="prev" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<link rel="next" href="Bv9ARM.ch02.html" title="Chapter�2.�BIND Resource Requirements">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</head>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="navheader">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<table width="100%" summary="Navigation header">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr><th colspan="3" align="center">Chapter�1.�Introduction</th></tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td width="20%" align="left">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a accesskey="p" href="Bv9ARM.html">Prev</a>�</td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<th width="60%" align="center">�</th>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td width="20%" align="right">�<a accesskey="n" href="Bv9ARM.ch02.html">Next</a>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</table>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<hr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="chapter">
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence<div class="titlepage"><div><div><h1 class="title">
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence<a name="Bv9ARM.ch01"></a>Chapter�1.�Introduction</h1></div></div></div>
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence<div class="toc">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<p><b>Table of Contents</b></p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<dl class="toc">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#doc_scope">Scope of Document</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#organization">Organization of This Document</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#conventions">Conventions Used in This Document</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#dns_overview">The Domain Name System (<acronym class="acronym">DNS</acronym>)</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dd><dl>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#dns_fundamentals">DNS Fundamentals</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#domain_names">Domains and Domain Names</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#zones">Zones</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#auth_servers">Authoritative Name Servers</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#cache_servers">Caching Name Servers</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<dt><span class="section"><a href="Bv9ARM.ch01.html#multi_role">Name Servers in Multiple Roles</a></span></dt>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</dl></dd>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</dl>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff The Internet Domain Name System (<acronym class="acronym">DNS</acronym>)
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein consists of the syntax
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff to specify the names of entities in the Internet in a hierarchical
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff manner, the rules used for delegating authority over names, and the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff system implementation that actually maps names to Internet
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein addresses. <acronym class="acronym">DNS</acronym> data is maintained in a
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff group of distributed
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff hierarchical databases.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="titlepage"><div><div><h2 class="title" style="clear: both">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a name="doc_scope"></a>Scope of Document</h2></div></div></div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff The Berkeley Internet Name Domain
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein (<acronym class="acronym">BIND</acronym>) implements a
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff domain name server for a number of operating systems. This
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein document provides basic information about the installation and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff care of the Internet Systems Consortium (<acronym class="acronym">ISC</acronym>)
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <acronym class="acronym">BIND</acronym> version 9 software package for
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff system administrators.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>This version of the manual corresponds to BIND version 9.11.</p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </div>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="titlepage"><div><div><h2 class="title" style="clear: both">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<a name="organization"></a>Organization of This Document</h2></div></div></div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein In this document, <span class="emphasis"><em>Chapter 1</em></span> introduces
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff the basic <acronym class="acronym">DNS</acronym> and <acronym class="acronym">BIND</acronym> concepts. <span class="emphasis"><em>Chapter 2</em></span>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff describes resource requirements for running <acronym class="acronym">BIND</acronym> in various
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff environments. Information in <span class="emphasis"><em>Chapter 3</em></span> is
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <span class="emphasis"><em>task-oriented</em></span> in its presentation and is
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein organized functionally, to aid in the process of installing the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <acronym class="acronym">BIND</acronym> 9 software. The task-oriented
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff section is followed by
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>Chapter 4</em></span>, which contains more advanced
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff concepts that the system administrator may need for implementing
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff certain options. <span class="emphasis"><em>Chapter 5</em></span>
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff describes the <acronym class="acronym">BIND</acronym> 9 lightweight
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff resolver. The contents of <span class="emphasis"><em>Chapter 6</em></span> are
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff organized as in a reference manual to aid in the ongoing
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff maintenance of the software. <span class="emphasis"><em>Chapter 7</em></span> addresses
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff security considerations, and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>Chapter 8</em></span> contains troubleshooting help. The
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff main body of the document is followed by several
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>appendices</em></span> which contain useful reference
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff information, such as a <span class="emphasis"><em>bibliography</em></span> and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff historic information related to <acronym class="acronym">BIND</acronym>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff and the Domain Name
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff System.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="titlepage"><div><div><h2 class="title" style="clear: both">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a name="conventions"></a>Conventions Used in This Document</h2></div></div></div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff In this document, we use the following general typographic
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein conventions:
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="informaltable">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <table border="1">
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein<colgroup>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<col width="3.000in" class="1">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<col width="2.625in" class="2">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</colgroup>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tbody>
658db10162f779c8a5ed4e40c77111a7e18492beMichael Graff<tr>
658db10162f779c8a5ed4e40c77111a7e18492beMichael Graff<td>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>To describe:</em></span>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>We use the style:</em></span>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </td>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
6448ffb2b9ec7ebf79897941629b225ec1431666Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff a pathname, filename, URL, hostname,
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff mailing list name, or new term or concept
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="filename">Fixed width</code>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein literal user
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff input
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <strong class="userinput"><code>Fixed Width Bold</code></strong>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein program output
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="computeroutput">Fixed Width</code>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tbody>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence</table>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff The following conventions are used in descriptions of the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <acronym class="acronym">BIND</acronym> configuration file:</p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="informaltable">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <table border="1">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<colgroup>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<col width="3.000in" class="1">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<col width="2.625in" class="2">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</colgroup>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tbody>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <span class="emphasis"><em>To describe:</em></span>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>We use the style:</em></span>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff keywords
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="literal">Fixed Width</code>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff variables
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="varname">Fixed Width</code>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff Optional input
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<td>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff [<span class="optional">Text is enclosed in square brackets</span>]
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </td>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein</tr>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</tbody>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff</table>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="titlepage"><div><div><h2 class="title" style="clear: both">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a name="dns_overview"></a>The Domain Name System (<acronym class="acronym">DNS</acronym>)</h2></div></div></div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff The purpose of this document is to explain the installation
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein and upkeep of the <acronym class="acronym">BIND</acronym> (Berkeley Internet
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff Name Domain) software package, and we
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff begin by reviewing the fundamentals of the Domain Name System
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff (<acronym class="acronym">DNS</acronym>) as they relate to <acronym class="acronym">BIND</acronym>.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="titlepage"><div><div><h3 class="title">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a name="dns_fundamentals"></a>DNS Fundamentals</h3></div></div></div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff The Domain Name System (DNS) is a hierarchical, distributed
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff database. It stores information for mapping Internet host names to
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein IP
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff addresses and vice versa, mail routing information, and other data
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff used by Internet applications.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff Clients look up information in the DNS by calling a
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>resolver</em></span> library, which sends queries to one or
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff more <span class="emphasis"><em>name servers</em></span> and interprets the responses.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff The <acronym class="acronym">BIND</acronym> 9 software distribution
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff contains a name server, <span class="command"><strong>named</strong></span>, and a
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff resolver library, <span class="command"><strong>liblwres</strong></span>.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<div class="titlepage"><div><div><h3 class="title">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a name="domain_names"></a>Domains and Domain Names</h3></div></div></div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein The data stored in the DNS is identified by <span class="emphasis"><em>domain names</em></span> that are organized as a tree according to
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff organizational or administrative boundaries. Each node of the tree,
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff called a <span class="emphasis"><em>domain</em></span>, is given a label. The domain
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff name of the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff node is the concatenation of all the labels on the path from the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff node to the <span class="emphasis"><em>root</em></span> node. This is represented
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff in written form as a string of labels listed from right to left and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff separated by dots. A label need only be unique within its parent
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff domain.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff For example, a domain name for a host at the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff company <span class="emphasis"><em>Example, Inc.</em></span> could be
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein <code class="literal">ourhost.example.com</code>,
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff where <code class="literal">com</code> is the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff top level domain to which
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="literal">ourhost.example.com</code> belongs,
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="literal">example</code> is
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff a subdomain of <code class="literal">com</code>, and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="literal">ourhost</code> is the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff name of the host.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff For administrative purposes, the name space is partitioned into
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff areas called <span class="emphasis"><em>zones</em></span>, each starting at a node and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff extending down to the leaf nodes or to nodes where other zones
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff start.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff The data for each zone is stored in a <span class="emphasis"><em>name server</em></span>, which answers queries about the zone using the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>DNS protocol</em></span>.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff The data associated with each domain name is stored in the
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein form of <span class="emphasis"><em>resource records</em></span> (<acronym class="acronym">RR</acronym>s).
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff Some of the supported resource record types are described in
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <a class="xref" href="Bv9ARM.ch06.html#types_of_resource_records_and_when_to_use_them" title="Types of Resource Records and When to Use Them">the section called &#8220;Types of Resource Records and When to Use Them&#8221;</a>.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff For more detailed information about the design of the DNS and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff the DNS protocol, please refer to the standards documents listed in
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <a class="xref" href="Bv9ARM.ch11.html#rfcs" title="Request for Comments (RFCs)">the section called &#8220;Request for Comments (RFCs)&#8221;</a>.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </div>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <div class="section">
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff<div class="titlepage"><div><div><h3 class="title">
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff<a name="zones"></a>Zones</h3></div></div></div>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff To properly operate a name server, it is important to understand
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff the difference between a <span class="emphasis"><em>zone</em></span>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff and a <span class="emphasis"><em>domain</em></span>.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff As stated previously, a zone is a point of delegation in
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff the <acronym class="acronym">DNS</acronym> tree. A zone consists of
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff those contiguous parts of the domain
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff tree for which a name server has complete information and over which
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff it has authority. It contains all domain names from a certain point
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff downward in the domain tree except those which are delegated to
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff other zones. A delegation point is marked by one or more
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>NS records</em></span> in the
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff parent zone, which should be matched by equivalent NS records at
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff the root of the delegated zone.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff <p>
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein For instance, consider the <code class="literal">example.com</code>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff domain which includes names
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff such as <code class="literal">host.aaa.example.com</code> and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="literal">host.bbb.example.com</code> even though
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff the <code class="literal">example.com</code> zone includes
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff only delegations for the <code class="literal">aaa.example.com</code> and
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <code class="literal">bbb.example.com</code> zones. A zone can
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff map
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff exactly to a single domain, but could also include only part of a
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff domain, the rest of which could be delegated to other
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff name servers. Every name in the <acronym class="acronym">DNS</acronym>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff tree is a
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>domain</em></span>, even if it is
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <span class="emphasis"><em>terminal</em></span>, that is, has no
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff <span class="emphasis"><em>subdomains</em></span>. Every subdomain is a domain and
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff every domain except the root is also a subdomain. The terminology is
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein not intuitive and we suggest that you read RFCs 1033, 1034 and 1035
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff to
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff gain a complete understanding of this difficult and subtle
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff topic.
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff </p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff <p>
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff Though <acronym class="acronym">BIND</acronym> is called a "domain name
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff server",
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff it deals primarily in terms of zones. The master and slave
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff declarations in the <code class="filename">named.conf</code> file
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff specify
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff zones, not domains. When you ask some other site if it is willing to
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein be a slave server for your <span class="emphasis"><em>domain</em></span>, you are
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff actually asking for slave service for some collection of zones.
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff </p>
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff </div>
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff <div class="section">
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff<div class="titlepage"><div><div><h3 class="title">
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff<a name="auth_servers"></a>Authoritative Name Servers</h3></div></div></div>
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff <p>
915723e4007e177b10c0e1c9d1bfe77ac2bfe853Michael Graff Each zone is served by at least
7a166c5c61a5aaa6eeb929bed152dc0a6b128e3dMichael Graff one <span class="emphasis"><em>authoritative name server</em></span>,
f9fdb43a912a53c44627449ace57921b143eef60Michael Graff which contains the complete data for the zone.
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence To make the DNS tolerant of server and network failures,
most zones have two or more authoritative servers, on
different networks.
</p>
<p>
Responses from authoritative servers have the "authoritative
answer" (AA) bit set in the response packets. This makes them
easy to identify when debugging DNS configurations using tools like
<span class="command"><strong>dig</strong></span> (<a class="xref" href="Bv9ARM.ch03.html#diagnostic_tools" title="Diagnostic Tools">the section called &#8220;Diagnostic Tools&#8221;</a>).
</p>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="primary_master"></a>The Primary Master</h4></div></div></div>
<p>
The authoritative server where the master copy of the zone
data is maintained is called the
<span class="emphasis"><em>primary master</em></span> server, or simply the
<span class="emphasis"><em>primary</em></span>. Typically it loads the zone
contents from some local file edited by humans or perhaps
generated mechanically from some other local file which is
edited by humans. This file is called the
<span class="emphasis"><em>zone file</em></span> or
<span class="emphasis"><em>master file</em></span>.
</p>
<p>
In some cases, however, the master file may not be edited
by humans at all, but may instead be the result of
<span class="emphasis"><em>dynamic update</em></span> operations.
</p>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="slave_server"></a>Slave Servers</h4></div></div></div>
<p>
The other authoritative servers, the <span class="emphasis"><em>slave</em></span>
servers (also known as <span class="emphasis"><em>secondary</em></span> servers)
load
the zone contents from another server using a replication process
known as a <span class="emphasis"><em>zone transfer</em></span>. Typically the data
are
transferred directly from the primary master, but it is also
possible
to transfer it from another slave. In other words, a slave server
may itself act as a master to a subordinate slave server.
</p>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="stealth_server"></a>Stealth Servers</h4></div></div></div>
<p>
Usually all of the zone's authoritative servers are listed in
NS records in the parent zone. These NS records constitute
a <span class="emphasis"><em>delegation</em></span> of the zone from the parent.
The authoritative servers are also listed in the zone file itself,
at the <span class="emphasis"><em>top level</em></span> or <span class="emphasis"><em>apex</em></span>
of the zone. You can list servers in the zone's top-level NS
records that are not in the parent's NS delegation, but you cannot
list servers in the parent's delegation that are not present at
the zone's top level.
</p>
<p>
A <span class="emphasis"><em>stealth server</em></span> is a server that is
authoritative for a zone but is not listed in that zone's NS
records. Stealth servers can be used for keeping a local copy of
a
zone to speed up access to the zone's records or to make sure that
the
zone is available even if all the "official" servers for the zone
are
inaccessible.
</p>
<p>
A configuration where the primary master server itself is a
stealth server is often referred to as a "hidden primary"
configuration. One use for this configuration is when the primary
master
is behind a firewall and therefore unable to communicate directly
with the outside world.
</p>
</div>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="cache_servers"></a>Caching Name Servers</h3></div></div></div>
<p>
The resolver libraries provided by most operating systems are
<span class="emphasis"><em>stub resolvers</em></span>, meaning that they are not
capable of
performing the full DNS resolution process by themselves by talking
directly to the authoritative servers. Instead, they rely on a
local
name server to perform the resolution on their behalf. Such a
server
is called a <span class="emphasis"><em>recursive</em></span> name server; it performs
<span class="emphasis"><em>recursive lookups</em></span> for local clients.
</p>
<p>
To improve performance, recursive servers cache the results of
the lookups they perform. Since the processes of recursion and
caching are intimately connected, the terms
<span class="emphasis"><em>recursive server</em></span> and
<span class="emphasis"><em>caching server</em></span> are often used synonymously.
</p>
<p>
The length of time for which a record may be retained in
the cache of a caching name server is controlled by the
Time To Live (TTL) field associated with each resource record.
</p>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="forwarder"></a>Forwarding</h4></div></div></div>
<p>
Even a caching name server does not necessarily perform
the complete recursive lookup itself. Instead, it can
<span class="emphasis"><em>forward</em></span> some or all of the queries
that it cannot satisfy from its cache to another caching name
server,
commonly referred to as a <span class="emphasis"><em>forwarder</em></span>.
</p>
<p>
There may be one or more forwarders,
and they are queried in turn until the list is exhausted or an
answer
is found. Forwarders are typically used when you do not
wish all the servers at a given site to interact directly with the
rest of
the Internet servers. A typical scenario would involve a number
of internal <acronym class="acronym">DNS</acronym> servers and an
Internet firewall. Servers unable
to pass packets through the firewall would forward to the server
that can do it, and that server would query the Internet <acronym class="acronym">DNS</acronym> servers
on the internal server's behalf.
</p>
</div>
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
<a name="multi_role"></a>Name Servers in Multiple Roles</h3></div></div></div>
<p>
The <acronym class="acronym">BIND</acronym> name server can
simultaneously act as
a master for some zones, a slave for other zones, and as a caching
(recursive) server for a set of local clients.
</p>
<p>
However, since the functions of authoritative name service
and caching/recursive name service are logically separate, it is
often advantageous to run them on separate server machines.
A server that only provides authoritative name service
(an <span class="emphasis"><em>authoritative-only</em></span> server) can run with
recursion disabled, improving reliability and security.
A server that is not authoritative for any zones and only provides
recursive service to local
clients (a <span class="emphasis"><em>caching-only</em></span> server)
does not need to be reachable from the Internet at large and can
be placed inside a firewall.
</p>
</div>
</div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="Bv9ARM.html">Prev</a>�</td>
<td width="20%" align="center">�</td>
<td width="40%" align="right">�<a accesskey="n" href="Bv9ARM.ch02.html">Next</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">BIND 9 Administrator Reference Manual�</td>
<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td>
<td width="40%" align="right" valign="top">�Chapter�2.�<acronym class="acronym">BIND</acronym> Resource Requirements</td>
</tr>
</table>
</div>
<p xmlns:db="http://docbook.org/ns/docbook" style="text-align: center;">BIND 9.11.2b1</p>
</body>
</html>