Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 10:29:14 +0100
From:      Bjarne Wichmann Petersen <freebsd.nospam@mekanix.dk>
To:        freebsd-questions@freebsd.org
Subject:   Getting dnscache working, howto?
Message-ID:  <200302121029.14713.freebsd.nospam@mekanix.dk>

next in thread | raw e-mail | index | archive | help
Hi!

I'm trying to set up a dnscache with the sole purpose to make resolving sites 
like doubleclick.net lock up my browsers, when FreeBSD is trying to resolve 
the IP. I've tried following the guidelines in 
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/dns.html>; but 
apparently I've missed something, which is a small wonder since I know very 
little about dns etc.

My setup is fairly simple:

ISP -> ADSL-modem -> Router -> FreeBSD-box

I'm using DHCP to connect to my router. Now, my questions are these:

1) /etc/resolv.conf should say "nameserver 127.0.0.1" and nothing else?

2) Should my ISP's DNS' be added as forwarders in named.conf. If not, where 
should they be put then?

3) Since I'm only aiming for a dns-cache I'm right in assuming I should keep 
my hands away from all the zone-stuff?

4) Where is the cache written to?

Bjarne
-- 
Homepage: http://www.mekanix.dk


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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