Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2005 10:42:33 -0700 (PDT)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        Kiffin Gish <kiffin@gish.demon.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS caching locally ...
Message-ID:  <20051007104106.A39460@wolf.pjkh.com>
In-Reply-To: <1128705415.693.11.camel@localhost>
References:  <1128705415.693.11.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051007104106.A39460>