diff options
author | dougb <dougb@FreeBSD.org> | 2005-12-29 04:22:58 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2005-12-29 04:22:58 +0000 |
commit | 13e6e55147add29e8d7701891f70aefeb3d74645 (patch) | |
tree | 570b6e4f35462e81147786cc2f272d28fac7f470 /contrib/bind9/doc/arm/Bv9ARM.ch05.html | |
parent | 9123af99f7956e2383e5b9c4d39e84bea89915fe (diff) | |
download | FreeBSD-src-13e6e55147add29e8d7701891f70aefeb3d74645.zip FreeBSD-src-13e6e55147add29e8d7701891f70aefeb3d74645.tar.gz |
Vendor import of BIND 9.3.2
Diffstat (limited to 'contrib/bind9/doc/arm/Bv9ARM.ch05.html')
-rw-r--r-- | contrib/bind9/doc/arm/Bv9ARM.ch05.html | 352 |
1 files changed, 101 insertions, 251 deletions
diff --git a/contrib/bind9/doc/arm/Bv9ARM.ch05.html b/contrib/bind9/doc/arm/Bv9ARM.ch05.html index dd59488..1720660 100644 --- a/contrib/bind9/doc/arm/Bv9ARM.ch05.html +++ b/contrib/bind9/doc/arm/Bv9ARM.ch05.html @@ -1,265 +1,115 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<HTML -><HEAD -><TITLE ->The BIND 9 Lightweight Resolver</TITLE -><META -NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK -REL="HOME" -TITLE="BIND 9 Administrator Reference Manual" -HREF="Bv9ARM.html"><LINK -REL="PREVIOUS" -TITLE="Advanced DNS Features" -HREF="Bv9ARM.ch04.html"><LINK -REL="NEXT" -TITLE="BIND 9 Configuration Reference" -HREF="Bv9ARM.ch06.html"></HEAD -><BODY -CLASS="chapter" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" -><DIV -CLASS="NAVHEADER" -><TABLE -SUMMARY="Header navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TH -COLSPAN="3" -ALIGN="center" ->BIND 9 Administrator Reference Manual</TH -></TR -><TR -><TD -WIDTH="10%" -ALIGN="left" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch04.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="80%" -ALIGN="center" -VALIGN="bottom" -></TD -><TD -WIDTH="10%" -ALIGN="right" -VALIGN="bottom" -><A -HREF="Bv9ARM.ch06.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -></TABLE -><HR -ALIGN="LEFT" -WIDTH="100%"></DIV -><DIV -CLASS="chapter" -><H1 -><A -NAME="ch05" -></A ->Chapter 5. The <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Lightweight Resolver</H1 -><DIV -CLASS="TOC" -><DL -><DT -><B ->Table of Contents</B -></DT -><DT ->5.1. <A -HREF="Bv9ARM.ch05.html#AEN1044" ->The Lightweight Resolver Library</A -></DT -><DT ->5.2. <A -HREF="Bv9ARM.ch05.html#lwresd" ->Running a Resolver Daemon</A -></DT -></DL -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="AEN1044" ->5.1. The Lightweight Resolver Library</A -></H1 -><P ->Traditionally applications have been linked with a stub resolver +<!-- + - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") + - Copyright (C) 2000-2003 Internet Software Consortium. + - + - Permission to use, copy, modify, and distribute this software for any + - purpose with or without fee is hereby granted, provided that the above + - copyright notice and this permission notice appear in all copies. + - + - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH + - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, + - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE + - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + - PERFORMANCE OF THIS SOFTWARE. +--> +<!-- $Id: Bv9ARM.ch05.html,v 1.24.2.5.2.12 2005/10/13 02:34:00 marka Exp $ --> +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Chapter 5. The BIND 9 Lightweight Resolver</title> +<meta name="generator" content="DocBook XSL Stylesheets V1.69.1"> +<link rel="start" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="up" href="Bv9ARM.html" title="BIND 9 Administrator Reference Manual"> +<link rel="prev" href="Bv9ARM.ch04.html" title="Chapter 4. Advanced DNS Features"> +<link rel="next" href="Bv9ARM.ch06.html" title="Chapter 6. BIND 9 Configuration Reference"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<div class="navheader"> +<table width="100%" summary="Navigation header"> +<tr><th colspan="3" align="center">Chapter 5. The <span class="acronym">BIND</span> 9 Lightweight Resolver</th></tr> +<tr> +<td width="20%" align="left"> +<a accesskey="p" href="Bv9ARM.ch04.html">Prev</a> </td> +<th width="60%" align="center"> </th> +<td width="20%" align="right"> <a accesskey="n" href="Bv9ARM.ch06.html">Next</a> +</td> +</tr> +</table> +<hr> +</div> +<div class="chapter" lang="en"> +<div class="titlepage"><div><div><h2 class="title"> +<a name="Bv9ARM.ch05"></a>Chapter 5. The <span class="acronym">BIND</span> 9 Lightweight Resolver</h2></div></div></div> +<div class="toc"> +<p><b>Table of Contents</b></p> +<dl> +<dt><span class="sect1"><a href="Bv9ARM.ch05.html#id2550652">The Lightweight Resolver Library</a></span></dt> +<dt><span class="sect1"><a href="Bv9ARM.ch05.html#lwresd">Running a Resolver Daemon</a></span></dt> +</dl> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="id2550652"></a>The Lightweight Resolver Library</h2></div></div></div> +<p>Traditionally applications have been linked with a stub resolver library that sends recursive DNS queries to a local caching name -server.</P -><P ->IPv6 once introduced new complexity into the resolution process, +server.</p> +<p>IPv6 once introduced new complexity into the resolution process, such as following A6 chains and DNAME records, and simultaneous lookup of IPv4 and IPv6 addresses. Though most of the complexity was then removed, these are hard or impossible -to implement in a traditional stub resolver.</P -><P ->Instead, <ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 provides resolution services to local clients +to implement in a traditional stub resolver.</p> +<p>Instead, <span class="acronym">BIND</span> 9 provides resolution services to local clients using a combination of a lightweight resolver library and a resolver daemon process running on the local host. These communicate using a simple UDP-based protocol, the "lightweight resolver protocol" -that is distinct from and simpler than the full DNS protocol.</P -></DIV -><DIV -CLASS="sect1" -><H1 -CLASS="sect1" -><A -NAME="lwresd" ->5.2. Running a Resolver Daemon</A -></H1 -><P ->To use the lightweight resolver interface, the system must -run the resolver daemon <B -CLASS="command" ->lwresd</B -> or a local -name server configured with a <B -CLASS="command" ->lwres</B -> statement.</P -><P ->By default, applications using the lightweight resolver library will make +that is distinct from and simpler than the full DNS protocol.</p> +</div> +<div class="sect1" lang="en"> +<div class="titlepage"><div><div><h2 class="title" style="clear: both"> +<a name="lwresd"></a>Running a Resolver Daemon</h2></div></div></div> +<p>To use the lightweight resolver interface, the system must +run the resolver daemon <span><strong class="command">lwresd</strong></span> or a local +name server configured with a <span><strong class="command">lwres</strong></span> statement.</p> +<p>By default, applications using the lightweight resolver library will make UDP requests to the IPv4 loopback address (127.0.0.1) on port 921. The -address can be overridden by <B -CLASS="command" ->lwserver</B -> lines in -<TT -CLASS="filename" ->/etc/resolv.conf</TT ->.</P -><P ->The daemon currently only looks in the DNS, but in the future -it may use other sources such as <TT -CLASS="filename" ->/etc/hosts</TT ->, -NIS, etc.</P -><P ->The <B -CLASS="command" ->lwresd</B -> daemon is essentially a +address can be overridden by <span><strong class="command">lwserver</strong></span> lines in +<code class="filename">/etc/resolv.conf</code>.</p> +<p>The daemon currently only looks in the DNS, but in the future +it may use other sources such as <code class="filename">/etc/hosts</code>, +NIS, etc.</p> +<p>The <span><strong class="command">lwresd</strong></span> daemon is essentially a caching-only name server that responds to requests using the lightweight resolver protocol rather than the DNS protocol. Because it needs to run on each host, it is designed to require no or minimal configuration. Unless configured otherwise, it uses the name servers listed on -<B -CLASS="command" ->nameserver</B -> lines in <TT -CLASS="filename" ->/etc/resolv.conf</TT -> +<span><strong class="command">nameserver</strong></span> lines in <code class="filename">/etc/resolv.conf</code> as forwarders, but is also capable of doing the resolution autonomously if -none are specified.</P -><P ->The <B -CLASS="command" ->lwresd</B -> daemon may also be configured with a -<TT -CLASS="filename" ->named.conf</TT -> style configuration file, in -<TT -CLASS="filename" ->/etc/lwresd.conf</TT -> by default. A name server may also +none are specified.</p> +<p>The <span><strong class="command">lwresd</strong></span> daemon may also be configured with a +<code class="filename">named.conf</code> style configuration file, in +<code class="filename">/etc/lwresd.conf</code> by default. A name server may also be configured to act as a lightweight resolver daemon using the -<B -CLASS="command" ->lwres</B -> statement in <TT -CLASS="filename" ->named.conf</TT ->.</P -></DIV -></DIV -><DIV -CLASS="NAVFOOTER" -><HR -ALIGN="LEFT" -WIDTH="100%"><TABLE -SUMMARY="Footer navigation table" -WIDTH="100%" -BORDER="0" -CELLPADDING="0" -CELLSPACING="0" -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" -><A -HREF="Bv9ARM.ch04.html" -ACCESSKEY="P" ->Prev</A -></TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -><A -HREF="Bv9ARM.html" -ACCESSKEY="H" ->Home</A -></TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><A -HREF="Bv9ARM.ch06.html" -ACCESSKEY="N" ->Next</A -></TD -></TR -><TR -><TD -WIDTH="33%" -ALIGN="left" -VALIGN="top" ->Advanced DNS Features</TD -><TD -WIDTH="34%" -ALIGN="center" -VALIGN="top" -> </TD -><TD -WIDTH="33%" -ALIGN="right" -VALIGN="top" -><ACRONYM -CLASS="acronym" ->BIND</ACRONYM -> 9 Configuration Reference</TD -></TR -></TABLE -></DIV -></BODY -></HTML ->
\ No newline at end of file +<span><strong class="command">lwres</strong></span> statement in <code class="filename">named.conf</code>.</p> +</div> +</div> +<div class="navfooter"> +<hr> +<table width="100%" summary="Navigation footer"> +<tr> +<td width="40%" align="left"> +<a accesskey="p" href="Bv9ARM.ch04.html">Prev</a> </td> +<td width="20%" align="center"> </td> +<td width="40%" align="right"> <a accesskey="n" href="Bv9ARM.ch06.html">Next</a> +</td> +</tr> +<tr> +<td width="40%" align="left" valign="top">Chapter 4. Advanced DNS Features </td> +<td width="20%" align="center"><a accesskey="h" href="Bv9ARM.html">Home</a></td> +<td width="40%" align="right" valign="top"> Chapter 6. <span class="acronym">BIND</span> 9 Configuration Reference</td> +</tr> +</table> +</div> +</body> +</html> |