From owner-freebsd-questions Mon May 19 11:26:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA09391 for questions-outgoing; Mon, 19 May 1997 11:26:26 -0700 (PDT) Received: from cedb.dpcsys.com (cedb.DPCSYS.com [209.25.4.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA09365 for ; Mon, 19 May 1997 11:26:19 -0700 (PDT) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id SAA05901; Mon, 19 May 1997 18:25:39 GMT Date: Mon, 19 May 1997 11:25:38 -0700 (PDT) From: Dan Busarow Reply-To: Dan Busarow To: Richard Toren cc: questions Subject: Re: caching DNS, question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 18 May 1997, 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). Set your name server up as a primary for your local domain. This will work even for a non-registered domain (but choose your name wisely) As long as resolv.conf is correct and you have all of your client systems point to this name server everything will work fine. It won't really go to your ISPs DNS for non-local lookups, it will go to the roots and from there to the correct name server for whatever domain it is that you are looking up. It will dial into your ISP when it needs to go to the roots (obviously) Caching is automatic and lasts considerably longer than 30 minutes in most cases (determined by TTL of the data returned) Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82