From owner-freebsd-questions Wed May 21 10:30:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA22500 for questions-outgoing; Wed, 21 May 1997 10:30:01 -0700 (PDT) Received: from xmission.xmission.com (softweyr@xmission.xmission.com [198.60.22.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA22451 for ; Wed, 21 May 1997 10:29:53 -0700 (PDT) Received: (from softweyr@localhost) by xmission.xmission.com (8.8.5/8.7.5) id LAA00793 for questions@freebsd.org; Wed, 21 May 1997 11:29:49 -0600 (MDT) From: Wes Peters - Softweyr LLC Message-Id: <199705211729.LAA00793@xmission.xmission.com> Subject: Re: caching DNS, question To: questions@freebsd.org Date: Wed, 21 May 1997 11:29:48 -0600 (MDT) In-Reply-To: <199705200902.CAA01857@smtp.connectnet.com> from "That Doug Guy" at May 20, 97 02:01:51 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 18 May 1997 16:17:56 -0400 (EDT), Richard Toren wrote: > What I want to do is install a local DNS (just upgraded from 2.1.5 to > 2.2.1) that responds to local queries; bounces out to the ISP's DNS when > needed; but retains a cache of recently used resolutions (say for 30 > minutes or so). > > I have O'Reilly "DNS & Bind". So if the answer is in there, please > provide a pointer to the section or capability. Without understanding > the difference or interactions between named, bind, resolver, and NIS > I may have read right through it an not realized it... (not running NIS), > intermitent ISP connection with dynamic address.... A quick look at the index, under the topic "caching-only name servers", points us to pages 167 and 171. This setup has worked for me in the past. It will not, however, go to your ISPs nameserver for queries it cannot revols out of cache, it will go directly to the root servers. If you're using demand-dialed PPP, the result will be the same: whenever you lookup a name that is not in cache, it wi link and resolve the name automagically. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com