From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 18:56:11 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 5BA9616A420 for ; Fri, 7 Oct 2005 18:56:11 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E238043D45 for ; Fri, 7 Oct 2005 18:56:10 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j97IuA0f062089; Fri, 7 Oct 2005 13:56:10 -0500 (CDT) (envelope-from dan) Date: Fri, 7 Oct 2005 13:56:10 -0500 From: Dan Nelson To: Kiffin Gish Message-ID: <20051007185609.GD44754@dan.emsphone.com> References: <1128705415.693.11.camel@localhost> <20051007174442.GC44754@dan.emsphone.com> <1128709895.693.25.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1128709895.693.25.camel@localhost> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 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 18:56:11 -0000 In the last episode (Oct 07), Kiffin Gish said: > On Fri, 2005-10-07 at 12:44 -0500, Dan Nelson wrote: > > In the last episode (Oct 07), Kiffin Gish said: > > > 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? > > > > Basically, edit /etc/rc.conf and add named_enable="YES", run > > "/etc/rc.d/named start" (you only have to do this if you don't want to > > reboot), then edit /etc/resolv.conf and add a "nameserver 127.0.0.1" > > line in front of any nameserver lines you may already have. > > Yes but isn't this a bit of an overkill when all I want is local dns > caching and nothing else? Isn't what overkill? Edit two files and start named; a caching named isn't going to take up more than a couple MB of memory. -- Dan Nelson dnelson@allantgroup.com