HP B2355-92068 Administration Manual page 549

System administration commands
Table of Contents

Advertisement

lwresd(1M)
NAME
lwresd - lightweight resolver daemon
SYNOPSIS
lwresd
[
-C
config-file] [
[
directory] [
-t
-u
DESCRIPTION
lwresd
is the daemon providing name lookup services to clients that use the BIND 9 lightweight resolver
library. It is essentially a stripped-down, caching-only name server that answers queries using the BIND 9
lightweight resolver protocol rather than the DNS protocol.
listens for resolver queries on a UDP port on the IPv4 loopback interface, 127.0.0.1. This means
lwresd
that
can only be used by processes running on the local machine. By default, UDP port number
lwresd
921 is used for lightweight resolver requests and responses.
Incoming lightweight resolver requests are decoded by
protocol. When the DNS lookup completes,
lightweight resolver format and returns them to the client that made the original request.
If
/etc/resolv.conf
servers. This is similar to the use of forwarders in a caching name server. If no nameserver entries are
present, or if forwarding fails,
servers, using a compiled-in list of root servers hints.
Options
config-file
-C
This option is used to use config-file as the configuration file instead of the default,
/etc/resolv.conf
debuglevel
-d
This option is used to set the daemon's debug level to debuglevel. Debugging traces from
lwresd
This option is used to run
-f
This option is used to run
-g
pid-file
-i
This option is used to write the daemon's process id to pid-file instead of the default path-
name.
-n
#cpus This option is used to create #cpus worker threads to take advantage of multiple CPUs. If
no option is given,
one thread per CPU. If
worker thread is created.
query-port#
-P
This option is used to send DNS lookups to port number query-port# when querying name
servers. This provides a way of testing the lightweight resolver daemon with a name
server that listens for queries on a non-standard port number.
port# This option is used to listen for lightweight resolver queries on the loopback interface using
-p
UDP port port# instead of the default port number, 921.
-s
This option is used to write memory usage statistics to
of interest to BIND 9 developers and may be removed or changed in a future release.
-t
directory
This option tells
configuration file.
user-id
-u
This option is used to run
must be present in the password file. The lightweight resolver daemon will change its
user-id after it has carried out any privileged operations, such as writing the process-id file
or binding a socket to a privileged port (typically any port less than 1024).
HP-UX 11i Version 2: December 2007 Update
-d
debuglevel] [
-fgs
] [
-i
user-id]
lwresd
contains any nameserver entries,
resolves the queries autonomously starting at the root name
lwresd
.
become more verbose as the debug level increases.
in the foreground.
lwresd
in the foreground and force all logging to
lwresd
will try to determine the number of CPUs present and create
lwresd
is unable to determine the number of CPUs, a single
lwresd
to
lwresd
chroot()
lwresd
− 1 −
pid-file] [
-n
#cpus] [
-P
lwresd
which then resolves them using the DNS
encodes the answers from the name servers in the
sends recursive DNS queries to those
lwresd
stdout
on exit. This option is only
to directory immediately after reading its
as user-id, which is a user name or numeric id that
Hewlett-Packard Company
lwresd(1M)
query-port#] [
-p
port#]
.
stderr
549
l

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents