From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 17:42:36 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94C2916A41F for ; Fri, 7 Oct 2005 17:42:36 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from wolf.pjkh.com (wolf.pjkh.com [66.228.196.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4272C43D45 for ; Fri, 7 Oct 2005 17:42:36 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id C57D71726D; Fri, 7 Oct 2005 10:42:33 -0700 (PDT) Received: from wolf.pjkh.com ([127.0.0.1]) by localhost (wolf.pjkh.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 39047-07; Fri, 7 Oct 2005 10:42:33 -0700 (PDT) Received: by wolf.pjkh.com (Postfix, from userid 1000) id 3C7C617252; Fri, 7 Oct 2005 10:42:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 34E87170DE; Fri, 7 Oct 2005 10:42:33 -0700 (PDT) Date: Fri, 7 Oct 2005 10:42:33 -0700 (PDT) From: Philip Hallstrom To: Kiffin Gish In-Reply-To: <1128705415.693.11.camel@localhost> Message-ID: <20051007104106.A39460@wolf.pjkh.com> References: <1128705415.693.11.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: amavisd-new at pjkh.com Cc: freebsd-questions@freebsd.org Subject: Re: DNS caching locally ... 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: Fri, 07 Oct 2005 17:42:36 -0000 > I understand that it is possible to speed up surfing, especially using a > wireless Internet connection, by using DNS caching locally. This has to > do with enabling the named daemon or something, but I understand that > there are some restrictions. > > Is there a simple recipe explaining how to do this? The FreeBSD handbook has an example. Just skip anything about setting up authoritive name servers. That said, if all you need is caching (ie. you have upstream nameservers you can use), I'd suggest dnrd. It's extremely easy to setup. It's in the ports. http://dnrd.sourceforge.net/ What DNRD is Domain Name Relay Daemon is a caching, forwarding DNS proxy server. Most useful on vpn or dialup firewalls but it is also a nice DNS cache for minor networks and workstations. Features * Caching of DNS requests. * Support for backup DNS servers. * Uses random source port and random query ID's to prevent cache poisoning. * Support for simple routing - specify different forward DNS servers for different domains. * Force authorative or unauthorative answers for specified domains. * Share the /etc/hosts over the network. * Support for openbsd, freebsd and linux. * TCP support * DNS blacklist support -philip