Bv9ARM.5.html revision 40f53fa8d9c6a4fc38c0014495e7a42b08f52481
58042eafd071de078c4f2d8fa69791a86eb58667William King<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML EXPERIMENTAL 970324//EN">
58042eafd071de078c4f2d8fa69791a86eb58667William King - Copyright (C) 2000 Internet Software Consortium.
58042eafd071de078c4f2d8fa69791a86eb58667William King - Permission to use, copy, modify, and distribute this software for any
58042eafd071de078c4f2d8fa69791a86eb58667William King - purpose with or without fee is hereby granted, provided that the above
58042eafd071de078c4f2d8fa69791a86eb58667William King - copyright notice and this permission notice appear in all copies.
58042eafd071de078c4f2d8fa69791a86eb58667William King - THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
58042eafd071de078c4f2d8fa69791a86eb58667William King - DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
58042eafd071de078c4f2d8fa69791a86eb58667William King - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
58042eafd071de078c4f2d8fa69791a86eb58667William King - INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
<!-- $Id: Bv9ARM.5.html,v 1.10 2000/08/01 01:17:54 tale Exp $ -->
Traditionally applications have been linked with a stub resolver library that sends recursive DNS queries to a local caching name server.</P>
IPv6 introduces new complexity into the resolution process, such as following A6 chains and DNAME records, and simultaneous lookup of IPv4 and IPv6 addresses. These are hard or impossible to implement in a traditional stub resolver.</P>
Instead, BIND 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>
To use the lightweight resolver interface, the system must run the resolver daemon <CODE CLASS="Program-Process">
Applications using the lightweight resolver library will make UDP requests to the IPv4 loopback address (127.0.0.1) on port 921. The daemon will try to find the answer to the questions "what are the addresses for host <EM CLASS="URL">
The daemon currently only looks in the DNS, but in the future it may use other sources such as <EM CLASS="grammar_literal">
daemon is essentially a stripped-down, caching-only name server that answers 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. It uses the name servers listed on <CODE CLASS="Program-Process">