Should DNS be on same server as webserver?

Steve Bertrand steve at
Tue Jul 14 04:55:08 UTC 2009

Steve Bertrand wrote:


> There is a single file in /etc/dnscache/root/ip, named
> If you want this cache to serve internal /24 network queries:
> % touch /etc/dnscache/root/ip/192.168.0

Need to add some clarification:

Adding the new empty file permits queries from the IP range specified in
the file name. It does NOT force the server to listen on an IP address
that is NOT the loopback.

To force the caching server to listen on a network-available IP address,
replace with your NICs IP address in the following file:

/etc/dnscache/env/IP'll then change /etc/resolv.conf to point to that IP address as
your primary "nameserver".

The names of the other files that are located within said "env"
directory are pretty descriptive, and may be worth looking at as well.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3233 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the freebsd-questions mailing list