Should DNS be on same server as webserver?
steve at ibctech.ca
Tue Jul 14 04:55:08 UTC 2009
Steve Bertrand wrote:
> There is a single file in /etc/dnscache/root/ip, named 127.0.0.1
> 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 127.0.0.1 with your NICs IP address in the following file:
...you'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...
Size: 3233 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/670c6d22/smime.bin
More information about the freebsd-questions