From owner-freebsd-questions@FreeBSD.ORG Wed May 14 21:18:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F415106564A for ; Wed, 14 May 2008 21:18:34 +0000 (UTC) (envelope-from mark@foster.cc) Received: from mail.bitpusher.com (mail.bitpusher.com [208.75.56.13]) by mx1.freebsd.org (Postfix) with ESMTP id 31B158FC13 for ; Wed, 14 May 2008 21:18:33 +0000 (UTC) (envelope-from mark@foster.cc) Received: from [192.168.1.108] (dsl-242-83.zhonka.net [208.64.242.83]) by mail.bitpusher.com (Postfix) with ESMTP id 070374C10D for ; Wed, 14 May 2008 13:46:22 -0700 (PDT) Message-ID: <482B4FA0.8090800@foster.cc> Date: Wed, 14 May 2008 13:46:24 -0700 From: Mark Foster User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: lwresd howto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2008 21:18:34 -0000 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). So I am considering lwresd(8) 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 mention putting lwserver entries into resolv.conf but these are not mentioned in resolver(5). I have tried putting lwserver 127.0.0.1 and nameserver 127.0.0.1 while running lwresd but not getting response. Does some kind soul have this working and can provide some example or advice? -- Some days it's just not worth chewing through the restraints... Mark D. Foster, CISSP http://mark.foster.cc/