[KLUG Members] "lwresd"

Adam Tauno Williams adam at morrison-ind.com
Wed Dec 15 09:42:17 EST 2004


I don't know if I've been under a rock, but I just bumped into "lwresd"
when I noticed it listening on a port on my bind servers.  Anyone know
how extensive support for lwresd in various services, it appears to be
implemented in NSS, but what about things like sendmail/postfix/squid?

>From the man page -
"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.

lwresd listens for resolver queries on a UDP port on the IPv4  loopback
interface,  127.0.0.1.  This means that lwresd can only be used by
processes running on the local machine. By default UDP port number 921
is used for lightweight resolver requests and responses.
 
Incoming  lightweight resolver requests are decoded by the server which
then resolves them using the DNS protocol. When  the  DNS  lookup
completes,  lwresd  encodes the answers in the lightweight resolver
format and returns them to the client that made the request"



More information about the Members mailing list