lwresd.docbook revision 5cd4555ad444fd391002ae32450572054369fd42
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa [<!ENTITY mdash "—">]>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - Copyright (C) 2000, 2001 Internet Software Consortium.
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - Permission to use, copy, modify, and distribute this software for any
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - purpose with or without fee is hereby granted, provided that the above
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - copyright notice and this permission notice appear in all copies.
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa - PERFORMANCE OF THIS SOFTWARE.
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa<!-- $Id: lwresd.docbook,v 1.11 2007/01/29 22:16:02 sra Exp $ -->
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <refentryinfo>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa </refentryinfo>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <refentrytitle><application>lwresd</application></refentrytitle>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <refnamediv>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <refname><application>lwresd</application></refname>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <refpurpose>lightweight resolver daemon</refpurpose>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa </refnamediv>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa </copyright>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa </copyright>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <refsynopsisdiv>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <cmdsynopsis>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-C <replaceable class="parameter">config-file</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-d <replaceable class="parameter">debug-level</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-i <replaceable class="parameter">pid-file</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-n <replaceable class="parameter">#cpus</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-P <replaceable class="parameter">port</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-p <replaceable class="parameter">port</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa <arg><option>-u <replaceable class="parameter">user</replaceable></option></arg>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa </cmdsynopsis>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa </refsynopsisdiv>
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa is the daemon providing name lookup
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa services to clients that use the BIND 9 lightweight resolver
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa library. It is essentially a stripped-down, caching-only name
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa server that answers queries using the BIND 9 lightweight
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa resolver protocol rather than the DNS protocol.
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa listens for resolver queries on a
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa UDP port on the IPv4 loopback interface, 127.0.0.1. This
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa means that <command>lwresd</command> can only be used by
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa processes running on the local machine. By default UDP port
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa number 921 is used for lightweight resolver requests and
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa Incoming lightweight resolver requests are decoded by the
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa server which then resolves them using the DNS protocol. When
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa the DNS lookup completes, <command>lwresd</command> encodes
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa the answers in the lightweight resolver format and returns
7bb0a9e92bc7a6f868eaa0b9c3212c0af4f96b7fEugen Kuksa them to the client that made the request.
Run the server in the foreground (i.e. do not daemonize).