From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 18:36:37 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 47DC816A41F for ; Fri, 7 Oct 2005 18:36:37 +0000 (GMT) (envelope-from bob.middaugh@comcast.net) Received: from xmail1.state.nj.us (xmail1.state.nj.us [199.20.71.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 600AC43D45 for ; Fri, 7 Oct 2005 18:36:36 +0000 (GMT) (envelope-from bob.middaugh@comcast.net) Received: from mail1av.state.nj.us (mail1av.state.nj.us [10.33.20.40]) by xmail1.state.nj.us (8.12.10+Sun/8.12.10) with SMTP id j97IaZ8M007761 for ; Fri, 7 Oct 2005 14:36:35 -0400 (EDT) Received: from revere.dol.state.nj.us(199.20.109.30) by mail1av.state.nj.us via smtp id 612c_95937c90_3761_11da_863e_00304823f3f8; Fri, 07 Oct 2005 14:38:42 -0400 Received: from W00DITD890NF61 ([10.6.172.74]) by revere.dol.state.nj.us (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IO0001PR6FGDS@revere.dol.state.nj.us> for freebsd-questions@freebsd.org; Fri, 07 Oct 2005 14:38:04 -0400 (EDT) Date: Fri, 07 Oct 2005 14:37:00 -0400 From: Bob Middaugh In-reply-to: <1128709895.693.25.camel@localhost> To: "'Kiffin Gish'" , "'Dan Nelson'" Message-id: <0IO0001PS6FGDS@revere.dol.state.nj.us> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcXLbV9C5MVdEwsiSc6gUkdks+G0OQAADxdA 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:36:37 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Kiffin Gish > Sent: Friday, October 07, 2005 2:32 PM > To: Dan Nelson > Cc: freebsd-questions@freebsd.org > Subject: Re: DNS caching locally ... > > 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. > > > > If you are behind a firewall that blocks DNS requests except to > > specific servers, you may have to edit /etc/namedb/named.conf and > > uncomment/edit the forwarders block to tell named to > forward requests > > to those servers. > > > > Yes but isn't this a bit of an overkill when all I want is > local dns caching and nothing else? > > -- > Kiffin Gish > Gouda, The Netherlands Well, you do need a DNS server to do the caching, no? Are you referring to the client resolver cache? http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns. html Bob > _______________________________________________ > 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"