"Kirti S. Bajwa" wrote:

>
>
> I have installed "dnscache" to listen on 127.0.0.1 and then "dnscachex" on
> 63.113.255.3 and to handle DNS inquiries from the 63.113.255 network. I have
> followed procedure as outline in djbdns documentation. Now when I look into
> following directories:
>
>         /etc/dnscache/root/ip  > 127.0.0.1
>         /etc/dnscachex/root/ip > 127.0.0.1     63.113.255

In that "ip" directory, 127.0.0.1 is the IP address of the client that is
allowed to query your dnscache.
You can install dnscache for each IP address of your multi-homed host. You can
install on directories /etc/dnscache, /etc/dnscache2, ..., etc. Names don't
matter. However, if you want one dnscache to listen on all your IP addresses
(of a multi-homed host) including on 127.0.0.1, you can specify an IP address
of 0.0.0.0 when you run dnscache-conf. I'm not saying this is good practice or
not. I just know that that works for me.

>
>
> Now my question. From looking at above information, it seems that both
> "dnscache" & "dnscachex" are listening on 127.0.0.1 but "dnscachex" is also
> listening on 63.113.255. Therefore, why would anybody install "dnscache" and
> not just "dnscachex"?
>
> Kirti

Reply via email to