esl:

Thanks for your response. I am still hazy in my head. I understand that
"Names don't matter"... but my question was somewhat different. I hope you
try again to answer it.

Please also note that I am following the djbdns document... and using the
same names as being used in the documentation. In the document "dnscache"
and "dnscachex" are being referred to as "local DNS cache" and "external DNS
cache" respectively. I have installed both "local DNS cache" and "external
DNS cache" on the same machine. I find that the default installation of
"external DNS cache" listens on 127.0.0.1 & 63.113.255 whereas default
installation of "local DNS cache" also listens on 127.0.0.1. 

Therefore, am I to assume that if "external DNS cache" is installed on a
machine, then there is no need to install "local DNS cache" on the SAME
machine (and that it is redundant)?

Kirti




-----Original Message-----
From: esl [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 02, 2001 7:08 PM
To: '[EMAIL PROTECTED]'
Subject: Re: dnscache vs dnscachex


"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