Bind as a chaching nameserver
Miguel Ramos
miguel at anjos.strangled.net
Wed Apr 26 16:52:53 UTC 2006
AND make sure that either /etc/resolv.conf doesn't exist or that it
contains a single nameserver line like this:
nameserver 127.0.0.1
otherwise your local nameserver isn't queried.
You see, there's really nothing else to do on a standard installation of
freebsd...
1- named_enable="YES" in /etc/rc.conf
2- either delete /etc/resolv.conf or use nameserver 127.0.0.1
The default /etc/namedb/named.conf that comes installed does exactly
what you want.
--
Miguel
Qua, 2006-04-26 às 08:05 +0100, Martin Hepworth escreveu:
> Richard
>
> just set the forwarders to another nameserver in the named.conf and that's
> it..
>
> this will speed up SA massively.
>
> --
> martin
>
> On 4/25/06, Richard Collyer <richard at firebadger.net> wrote:
> >
> > Hello,
> >
> > I've recently been getting a lot of trouble with SpamAssassin performing
> > a lot of rDNS lookups which is causing network issues (timeouts etc to
> > DNS servers).
> >
> > I am trying to install BIND (or djbdns) as a simple caching nameserver.
> > Just to take some of the load off the networks DNS servers (my ISPs).
> >
> > However I am having trouble finding a good tutorial to follow.
> >
> > I've looked at
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html
> > but its mainly going on about being a nameserver which is not what I am
> > after, wanting to keep it more simple than that.
> >
> > [root at brian:/usr/local/etc] $ named -v
> > BIND 9.3.1
> >
> > Can anyone suggest me a good tutorial to follow, I've googled but mostly
> > they are for debain/redhat and some of the commands and files are
> > different.
> >
> > Cheers
> > Richard
More information about the freebsd-questions
mailing list