[Fwd: lwresd howto]

Mark Foster mark at foster.cc
Fri May 16 18:18:35 UTC 2008


No response from -questions, trying here.
The gist is: is implementing lwresd feasible as a caching-only stub 
resolver?

I need something I can run locally to intercept and cache DNS responses.
BIND is not the answer (too heavyweight) and dnsmasq doesn't appear to 
cache.

nscd is what I'm used to on Linux but it doesn't seem to be in FreeBSD. 
Something called cached but I don't see it on the systems I'm working 
with (5.4, 6.1, 6.2 yea I know out-of-date so don't even say it).

Can I use lwresd ? The documentation for how to do so are unclear.
I've found:
http://www.isc.org/sw/bind/arm93/Bv9ARM.ch05.html
and reviewed the lwresd(8) man page but there is not a good example of 
how to setup correctly.

Also the ISC doc describes putting lwserver entries into resolv.conf but 
these are not mentioned in resolver(5).

I do not see the hooks around for nsswitch.conf e.g. to put lwres in the 
hosts: line would have no effect because something like nss_lwres does 
not exist for FreeBSD.

-- 
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark at foster.cc>  http://mark.foster.cc/


-------------- next part --------------
An embedded message was scrubbed...
From: Mark Foster <mark at foster.cc>
Subject: lwresd howto
Date: Wed, 14 May 2008 13:46:24 -0700
Size: 1445
Url: http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080516/175fac6b/lwresdhowto.eml


More information about the freebsd-hackers mailing list