Bv9ARM.ch03.html revision 5f09ce124cad9712a9675f17f83ddc915e734909
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp<HTML
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><HEAD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TITLE
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Nameserver Configuration</TITLE
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><META
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="GENERATOR"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippREL="HOME"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.html"><LINK
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippREL="PREVIOUS"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippTITLE="BIND Resource Requirements"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch02.html"><LINK
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippREL="NEXT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippTITLE="Advanced Concepts"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch04.html"></HEAD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><BODY
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippBGCOLOR="#FFFFFF"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippTEXT="#000000"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippLINK="#0000FF"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVLINK="#840084"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALINK="#0000FF"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="NAVHEADER"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TABLE
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="100%"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippBORDER="0"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCELLPADDING="0"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCELLSPACING="0"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TH
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCOLSPAN="3"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="center"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TH
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="10%"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="left"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="bottom"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch02.html"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Prev</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="80%"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="center"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="bottom"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="10%"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="right"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="bottom"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch04.html"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Next</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TABLE
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><HR
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="100%"></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="chapter"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="ch03"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Chapter 3. Nameserver Configuration</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="TOC"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DL
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Table of Contents</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1. <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch03.html#sample_configuration"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Sample Configurations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.2. <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch03.html#AEN285"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Load Balancing</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.3. <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch03.html#notify"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Notify</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4. <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch03.html#AEN373"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Nameserver Operations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DL
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>In this section we provide some suggested configurations along
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippwith guidelines for their use. We also address the topic of reasonable
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippoption setting.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H1
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="sample_configuration"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1. Sample Configurations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H2
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN275"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1.1. A Caching-only Nameserver</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H2
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>The following sample configuration is appropriate for a caching-only
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippname server for use by clients internal to a corporation. All queries
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippfrom outside clients are refused.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><PRE
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="programlisting"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>&#13;// Two corporate subnets we wish to allow queries from.
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippacl "corpnets" { 192.168.4.0/24; 192.168.7.0/24; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippoptions {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp directory "/etc/namedb"; // Working directory
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp pid-file "named.pid"; // Put pid file in working dir
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp allow-query { "corpnets"; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp};
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Root server hints
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "." { type hint; file "root.hint"; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Provide a reverse mapping for the loopback address 127.0.0.1
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "0.0.127.in-addr.arpa" {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type master;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp file "localhost.rev";
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp notify no;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp};
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp</PRE
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H2
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN279"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1.2. An Authoritative-only Nameserver</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H2
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>This sample configuration is for an authoritative-only server
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippthat is the master server for "<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="filename"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>example.com</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>"
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippand a slave for the subdomain "<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="filename"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>eng.example.com</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>".</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><PRE
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="programlisting"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>&#13;options {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp directory "/etc/namedb"; // Working directory
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp pid-file "named.pid"; // Put pid file in working dir
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp allow-query { any; }; // This is the default
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp recursion no; // Do not provide recursive service
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp};
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Root server hints
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "." { type hint; file "root.hint"; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Provide a reverse mapping for the loopback address 127.0.0.1
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "0.0.127.in-addr.arpa" {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type master;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp file "localhost.rev";
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp notify no;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp};
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// We are the master server for example.com
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "example.com" {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type master;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp file "example.com.db";
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp // IP addresses of slave servers allowed to transfer example.com
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp allow-transfer {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp 192.168.4.14;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp 192.168.5.53;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp};
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// We are a slave server for eng.example.com
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "eng.example.com" {
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type slave;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp file "eng.example.com.bk";
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp // IP address of eng.example.com master server
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp masters { 192.168.4.12; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp};
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp</PRE
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H1
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN285"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.2. Load Balancing</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Primitive load balancing can be achieved in <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>DNS</SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> using multiple
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippA records for one name.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>For example, if you have three WWW servers with network addresses
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof 10.0.0.1, 10.0.0.2 and 10.0.0.3, a set of records such as the
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippfollowing means that clients will connect to each machine one third
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof the time:</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="informaltable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TABLE
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippBORDER="1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="CALSTABLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="84"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Name</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="48"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>TTL</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>CLASS</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>TYPE</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="195"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Resource Record (RR) Data</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="84"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>www</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="48"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>600</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>IN</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>A</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="195"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>10.0.0.1</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="84"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="48"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>600</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>IN</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>A</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="195"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>10.0.0.2</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="84"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="48"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>600</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>IN</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="72"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>A</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TD
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="195"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>10.0.0.3</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TR
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TABLE
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>When a resolver queries for these records, <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>BIND</SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> will rotate
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp them and respond to the query with the records in a different
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp order. In the example above, clients will randomly receive
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp records in the order 1, 2, 3; 2, 3, 1; and 3, 1, 2. Most clients
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp will use the first record returned and discard the rest.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>For more detail on ordering responses, check the
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>rrset-order</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> substatement in the
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>options</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> statement, see <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch06.html#rrset_ordering"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>RRset Ordering</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>. This substatement is not supported in
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>BIND</SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> 9, and only the ordering scheme described above is
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp available.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H1
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="notify"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.3. Notify</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>DNS</SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> Notify is a mechanism that allows master nameservers to
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp notify their slave servers of changes to a zone's data. In
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp response to a <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>NOTIFY</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> from a master server, the
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp slave will check to see that its version of the zone is the
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp current version and, if not, initiate a transfer.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>DNS</SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp Notify is fully documented in RFC 1996. See also the description
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp of the zone option <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>also-notify</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>, see <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch06.html#zone_transfers"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Section 6.2.12.7</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>. For more information about
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>notify</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>, see <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch06.html#boolean_options"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Section 6.2.12.1</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H1
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN373"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4. Nameserver Operations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H2
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN375"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4.1. Tools for Use With the Nameserver Daemon</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H2
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>There are several indispensable diagnostic, administrative
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippand monitoring tools available to the system administrator for controlling
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippand debugging the nameserver daemon. We describe several in this
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippsection </P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H3
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN378"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4.1.1. Diagnostic Tools</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H3
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DL
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>The domain information groper (<B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>) is
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippa command line tool that can be used to gather information from
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippthe Domain Name System servers. Dig has two modes: simple interactive
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippmode for a single query, and batch mode which executes a query for
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippeach in a list of several query lines. All query options are accessible
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippfrom the command line.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [@<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>server</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>domain</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>query-type</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>query-class</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [+<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>query-option</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [-<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig-option</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [%<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>comment</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>]</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>The usual simple use of dig will take the form</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig @server domain query-type query-class</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>For more information and a list of available commands and
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippoptions, see the <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> man page.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>host</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>The <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>host</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> utility
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippprovides a simple <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>DNS</SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> lookup using a command-line interface for
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripplooking up Internet hostnames. By default, the utility converts
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippbetween host names and Internet addresses, but its functionality
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippcan be extended with the use of options.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>host</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [-aCdlrTwv] [-c <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>class</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [-N <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>ndots</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [-t <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>type</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [-W <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>timeout</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] [-R <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>retries</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>] <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>hostname</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>server</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>]</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>For more information and a list of available commands and
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippoptions, see the <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>host</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> man page.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> is a program used to query Internet
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippdomain nameservers. <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> has two modes: interactive
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippand non-interactive. Interactive mode allows the user to query nameservers
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippfor information about various hosts and domains or to print a list
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof hosts in a domain. Non-interactive mode is used to print just
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippthe name and requested information for a host or domain.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [-option...] [<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>host-to-find</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> | - [server]]</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Interactive mode is entered when no arguments are given (the
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippdefault nameserver will be used) or when the first argument is a
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripphyphen (`-') and the second argument is the host name or Internet address
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof a nameserver.</P
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Non-interactive mode is used when the name or Internet address
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof the host to be looked up is given as the first argument. The
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Trippoptional second argument specifies the host name or address of a nameserver.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Due to its arcane user interface and frequently inconsistent
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippbehavior, we do not recommend the use of <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>.
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippUse <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> instead.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DD
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DL
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><DIV
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><H3
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="admin_tools"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4.1.2. Administrative Tools</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp></H3
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Administrative tools play an integral part in the management
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof a server.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp></P
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><DL
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><DT
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><A
e9a82959a2f34e4d3dccbbf0a3b4d01205017724TrippNAME="rndc"
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><B
e9a82959a2f34e4d3dccbbf0a3b4d01205017724TrippCLASS="command"
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp>rndc</B
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp></A
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp></DT
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><DD
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp><P
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp>The remote name daemon control
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp (<B
e9a82959a2f34e4d3dccbbf0a3b4d01205017724TrippCLASS="command"
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp>rndc</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>) program allows the system
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp administrator to control the operation of a nameserver.
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp If you run <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>rndc</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> without any options
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp it will display a usage message as follows:</P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><P
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp><B
CLASS="command"
>rndc</B
> [-c <TT
CLASS="replaceable"
><I
>config</I
></TT
>] [-s <TT
CLASS="replaceable"
><I
>server</I
></TT
>] [-p <TT
CLASS="replaceable"
><I
>port</I
></TT
>] [-y <TT
CLASS="replaceable"
><I
>key</I
></TT
>] <TT
CLASS="replaceable"
><I
>command</I
></TT
> [<TT
CLASS="replaceable"
><I
>command</I
></TT
>...]</P
><P
><B
CLASS="command"
>command</B
> is one of the following
for <B
CLASS="command"
>named</B
>:</P
><DIV
CLASS="informaltable"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13;<P
><TT
CLASS="userinput"
><B
>status</B
></TT
><SUP
>a</SUP
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Display ps(1) status of named.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>dumpdb</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Dump database and cache to /var/tmp/named_dump.db.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>reload</B
></TT
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Reload configuration file and zones.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>stats</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Dump statistics to /var/tmp/named.stats.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>trace</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Increment debugging level by one.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13;<P
><TT
CLASS="userinput"
><B
>notrace</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
>
</P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Set debugging level to 0.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>querylog</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Toggle query logging.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>stop</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Stop the server.</P
></TD
></TR
><TR
><TD
WIDTH="144"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><TT
CLASS="userinput"
><B
>restart</B
></TT
><A
HREF="#FTN.nyi1"
>[a]</A
></P
></TD
><TD
WIDTH="288"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Restart the server.</P
></TD
></TR
><TR
><TD
COLSPAN="2"
>Notes:<BR><A
NAME="FTN.nyi1"
>a</A
>not yet implemented<BR></TD
></TR
></TABLE
><P
></P
></DIV
><P
>As noted above, <B
CLASS="command"
>reload</B
> is the
only command available for <SPAN
CLASS="acronym"
>BIND</SPAN
> 9.0.0. The other
commands, and more, are planned to be implemented for
future releases.</P
><P
>A configuration file is required, since all
communication with the server is authenticated with
digital signatures that rely on a shared secret, and
there is no way to provide that secret other than with a
configuration file. The default location for the
<B
CLASS="command"
>rndc</B
> configuration file is
<TT
CLASS="filename"
>/etc/rndc.conf</TT
>, but an alternate
location can be specified with the <TT
CLASS="option"
>-c</TT
>
option.</P
><P
>The format of the configuration file is similar to
that of <TT
CLASS="filename"
>named.conf</TT
>, but limited to
only three statements, the <B
CLASS="command"
>options{}</B
>,
<B
CLASS="command"
>key{}</B
> and <B
CLASS="command"
>server{}</B
>
statements. These statements are what associate the
secret keys to the servers with which they are meant to
be shared. The order of statements is not
significant.</P
><P
>The <B
CLASS="command"
>options{}</B
> statement has two clauses: <B
CLASS="command"
>default-server</B
> and <B
CLASS="command"
>default-key</B
>. <B
CLASS="command"
>default-server</B
> takes a
host name or address argument and represents the server that will
be contacted if no <TT
CLASS="option"
>-s</TT
>
option is provided on the command line. <B
CLASS="command"
>default-key</B
> takes
the name of key as its argument, as defined by a <B
CLASS="command"
>key{}</B
> statement.
In the future a <B
CLASS="command"
>default-port</B
> clause will be
added to specify the port to which <B
CLASS="command"
>rndc</B
> should
connect.</P
><P
>The <B
CLASS="command"
>key{}</B
> statement names a key with its
string argument. The string is required by the server to be a valid
domain name, though it need not actually be hierarchical; thus,
a string like "<TT
CLASS="userinput"
><B
>rndc_key</B
></TT
>" is a valid name.
The <B
CLASS="command"
>key{}</B
> statement has two clauses: <B
CLASS="command"
>algorithm</B
> and <B
CLASS="command"
>secret</B
>.
While the configuration parser will accept any string as the argument
to algorithm, currently only the string "<TT
CLASS="userinput"
><B
>hmac-md5</B
></TT
>"
has any meaning. The secret is a base-64 encoded string, typically
generated with either <B
CLASS="command"
>dnssec-keygen</B
> or <B
CLASS="command"
>mmencode</B
>.</P
><P
>The <B
CLASS="command"
>server{}</B
> statement uses the key clause
to associate a <B
CLASS="command"
>key{}</B
>-defined key with a server.
The argument to the <B
CLASS="command"
>server{}</B
> statement is a
host name or address (addresses must be double quoted). The argument
to the key clause is the name of the key as defined by the <B
CLASS="command"
>key{}</B
> statement.
A <B
CLASS="command"
>port</B
> clause will be added to a future release
to specify the port to which <B
CLASS="command"
>rndc</B
> should connect
on the given server.</P
><P
>A sample minimal configuration file is as follows:</P
><PRE
CLASS="programlisting"
>&#13;key rndc_key {
algorithm "hmac-md5";
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};
options {
default-server localhost;
default-key rndc_key;
};
</PRE
><P
>This file, if installed as <TT
CLASS="filename"
>/etc/rndc.conf</TT
>,
would allow the command:</P
><P
><TT
CLASS="prompt"
>$ </TT
><TT
CLASS="userinput"
><B
>rndc reload</B
></TT
></P
><P
>to connect to 127.0.0.1 port 953 and cause the nameserver
to reload, if a nameserver on the local machine were running with
following controls statements:</P
><PRE
CLASS="programlisting"
>&#13;controls {
inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};
</PRE
><P
>and it had an identical key statement for
<TT
CLASS="literal"
>rndc_key</TT
>.</P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN599"
>3.4.2. Signals</A
></H2
><P
>Certain UNIX signals cause the name server to take specific
actions, as described in the following table. These signals can
be sent using the <B
CLASS="command"
>kill</B
> command.</P
><DIV
CLASS="informaltable"
><P
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="108"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><B
CLASS="command"
>SIGHUP</B
></P
></TD
><TD
WIDTH="384"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Causes the server to read <TT
CLASS="filename"
>named.conf</TT
> and
reload the database. </P
></TD
></TR
><TR
><TD
WIDTH="108"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
><B
CLASS="command"
>SIGTERM</B
></P
></TD
><TD
WIDTH="384"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Causes the server to clean up and exit.</P
></TD
></TR
><TR
><TD
WIDTH="108"
ALIGN="LEFT"
VALIGN="MIDDLE"
>&#13;<P
><B
CLASS="command"
>SIGINT</B
></P
>
</TD
><TD
WIDTH="384"
ALIGN="LEFT"
VALIGN="MIDDLE"
><P
>Causes the server to clean up and exit.</P
></TD
></TR
></TABLE
><P
></P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="Bv9ARM.ch02.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="Bv9ARM.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="Bv9ARM.ch04.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="acronym"
>BIND</SPAN
> Resource Requirements</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Advanced Concepts</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>