From owner-freebsd-hackers@FreeBSD.ORG Fri May 16 19:01:50 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1439D1065672 for ; Fri, 16 May 2008 19:01:50 +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 F3BA28FC0C for ; Fri, 16 May 2008 19:01:49 +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 6F8A54C12D for ; Fri, 16 May 2008 12:01:49 -0700 (PDT) Message-ID: <482DDA1E.2030208@foster.cc> Date: Fri, 16 May 2008 12:01:50 -0700 From: Mark Foster User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <482DCBEA.3030107@foster.cc> <20080516143917.5246a733@bhuda.mired.org> In-Reply-To: <20080516143917.5246a733@bhuda.mired.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Fwd: lwresd howto] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2008 19:01:50 -0000 Mike Meyer wrote: > What makes you think dnsmasq doesn't cache? The documentation says > otherwise (second paragraph of the man page): > > Dnsmasq accepts DNS queries and either answers them from a small, > local, cache or forwards them to a real, recursive, DNS server. It > > it has quite a few options to control caching behavior, and certainly > seems to cache for me. > > Thanks for pointing out my error. I have no problem using dnsmasq if that is the best recommendation, in fact I quite like it but am not fond of djbdns. However lwresd *is* in the base install vs. dnsmasq which is a port, so would like to use lwresd if possible (or something else in base like cached). There is nothing I find in the man page, handbook or google that says I shouldn't or can't use lwresd, only hints that I can, yet with no clear working real-world examples. So I'm really hoping for two answers. 1. Can lwresd be used (somehow) or not 2. What are the viable/best alternatives to #1 for a caching-only stub resolver (like nscd on linux) Thanks. -- Some days it's just not worth chewing through the restraints... Mark D. Foster, CISSP http://mark.foster.cc/