From owner-freebsd-questions@FreeBSD.ORG Thu May 17 18:11:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7101B16A403 for ; Thu, 17 May 2007 18:11:19 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 3246213C458 for ; Thu, 17 May 2007 18:11:19 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDESK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id l4HIBHkQ053249; Thu, 17 May 2007 11:11:18 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Jack Barnett" , "freeBSD" Date: Thu, 17 May 2007 11:12:22 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Thu, 17 May 2007 11:11:18 -0700 (PDT) Cc: Subject: RE: DNS Cache - Bind 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: Thu, 17 May 2007 18:11:19 -0000 if your not running with -4 you will get this, unless you have IPv6 configured of course... Ted > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Jack Barnett > Sent: Tuesday, May 15, 2007 7:46 PM > To: freeBSD > Subject: DNS Cache - Bind > > > I'm running Bind 9.3.4 on FreeBSD 6.2 for my local network. > > It doesn't have any zones, it's just a local DNS that has a bunch > of forwarders. > > The first request is slow (between 150 and 300 ms) - but after that > (the next query on same domain) is fast (less then 10 ms usually). > This is nice and working the way I like it. :) > > What I'm wondering though is: > > a) How do I flush the cache if I need to (ie. need to get a new update > from the forwards) - just restart named? > > b) Are there any settings I can tweak that determine how long the > cache is kept? (ie. Say I want to keep all queries for 7 days before > they are queried from the upstream DNS servers). [This will probably > screw up dynamic DNS sites, but want to see what settings are > available] > > c) Is there a easy way to 'blacklist' sites? Say I want > 'SpammerNetwork.com' to resolve to 127.0.0.1. > > Basically I want to take this host file: > http://www.mvps.org/winhelp2002/hosts.htm > and then pump it into my DNS server, that way all the LAN clients are > "protected" from these sites. > Is there a way to do that? > > > -J > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >