Steve Bertrand wrote:

[...snip...]

> 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:

/etc/dnscache/env/IP

...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.

Steve

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to