Bv9ARM.ch03.html revision 5f09ce124cad9712a9675f17f83ddc915e734909
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Nameserver Configuration</TITLE
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="GENERATOR"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCONTENT="Modular DocBook HTML Stylesheet Version 1.41"><LINK
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippREL="PREVIOUS"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippTITLE="BIND Resource Requirements"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippTITLE="Advanced Concepts"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippBGCOLOR="#FFFFFF"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippTEXT="#000000"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippLINK="#0000FF"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVLINK="#840084"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALINK="#0000FF"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="NAVHEADER"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippWIDTH="100%"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCELLPADDING="0"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCELLSPACING="0"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="center"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="left"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="bottom"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="center"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="bottom"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="right"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="bottom"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="chapter"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Chapter 3. Nameserver Configuration</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Table of Contents</B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch03.html#sample_configuration"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Sample Configurations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Load Balancing</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Nameserver Operations</A
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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="sample_configuration"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1. Sample Configurations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN275"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1.1. A Caching-only Nameserver</A
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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="programlisting"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> // Two corporate subnets we wish to allow queries from.
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp pid-file "named.pid"; // Put pid file in working dir
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp allow-query { "corpnets"; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Root server hints
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "." { type hint; file "root.hint"; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Provide a reverse mapping for the loopback address 127.0.0.1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type master;
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN279"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.1.2. An Authoritative-only Nameserver</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>This sample configuration is for an authoritative-only server
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippthat is the master server for "<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="filename"
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippand a slave for the subdomain "<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="filename"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="programlisting"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> options {
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// Root server hints
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippzone "." { type hint; file "root.hint"; };
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// Provide a reverse mapping for the loopback address 127.0.0.1
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type master;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp// We are the master server for example.com
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type master;
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// We are a slave server for eng.example.com
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp type slave;
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp // IP address of eng.example.com master server
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp masters { 192.168.4.12; };
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN285"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.2. Load Balancing</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Primitive load balancing can be achieved in <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> using multiple
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippA records for one name.</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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="informaltable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="CALSTABLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Resource Record (RR) Data</P
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>10.0.0.1</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>10.0.0.2</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippALIGN="LEFT"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippVALIGN="MIDDLE"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="literal"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>10.0.0.3</TT
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>When a resolver queries for these records, <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
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>For more detail on ordering responses, check the
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>rrset-order</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> substatement in the
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> statement, see <A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch06.html#rrset_ordering"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>RRset Ordering</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>. This substatement is not supported in
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> 9, and only the ordering scheme described above is
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp available.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="notify"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.3. Notify</A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
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> 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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp Notify is fully documented in RFC 1996. See also the description
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp of the zone option <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>also-notify</B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch06.html#zone_transfers"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Section 6.2.12.7</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>. For more information about
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippHREF="Bv9ARM.ch06.html#boolean_options"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Section 6.2.12.1</A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect1"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN373"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4. Nameserver Operations</A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect2"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN375"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4.1. Tools for Use With the Nameserver Daemon</A
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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="AEN378"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4.1.1. Diagnostic Tools</A
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>The domain information groper (<B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>query-type</I
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>query-class</I
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>query-option</I
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig-option</I
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>The usual simple use of dig will take the form</P
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>dig @server domain query-type query-class</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>For more information and a list of available commands and
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippoptions, see the <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> man page.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippprovides a simple <SPAN
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="acronym"
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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [-aCdlrTwv] [-c <TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>hostname</I
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>For more information and a list of available commands and
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippoptions, see the <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> man page.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</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
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> [-option...] [<TT
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="replaceable"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>host-to-find</I
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> | - [server]]</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
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>Due to its arcane user interface and frequently inconsistent
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippbehavior, we do not recommend the use of <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>nslookup</B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> instead.</P
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="sect3"
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippNAME="admin_tools"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>3.4.1.2. Administrative Tools</A
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>Administrative tools play an integral part in the management
5f70c34f8d031331d8b7d31fe489615a94f6da70Trippof a server.</P
e9a82959a2f34e4d3dccbbf0a3b4d01205017724TrippCLASS="command"
e9a82959a2f34e4d3dccbbf0a3b4d01205017724Tripp>The remote name daemon control
e9a82959a2f34e4d3dccbbf0a3b4d01205017724TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp>) program allows the system
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp administrator to control the operation of a nameserver.
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp If you run <B
5f70c34f8d031331d8b7d31fe489615a94f6da70TrippCLASS="command"
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp> without any options
5f70c34f8d031331d8b7d31fe489615a94f6da70Tripp it will display a usage message as follows:</P
HREF="#FTN.nyi1"
HREF="#FTN.nyi1"
HREF="#FTN.nyi1"
HREF="#FTN.nyi1"
HREF="#FTN.nyi1"
HREF="#FTN.nyi1"
HREF="#FTN.nyi1"
NAME="FTN.nyi1"
HREF="Bv9ARM.ch02.html"
HREF="Bv9ARM.html"
HREF="Bv9ARM.ch04.html"