On 06-Apr-2001 Adrian Ho wrote:
> On Fri, 6 Apr 2001, Marco Calistri wrote:
>
>> Hi Dave,Thank you very much,about dns I put the 127.0.0.1 as 3rd nameserver
>> into my /etc/resolv.conf,the previous 2 are the ISP's nameservers.
>
> Since most (all?) resolver libraries query resolv.conf's nameserver list
> in order, your dnscache will _never_ be queried so long as either or both
> of your ISP's nameservers are reachable and responding.
Well I've put localhost as 3rd nameserver to test it
when I'am not connected to the INTERNET.
DNS_CACHE queries on localhost are correct but localhost answer only
for the loopback IP=127.0.0.1,not for the NIC=192.168.x.x to where is
pointing my hostname.
> I have never found any reason to list a locally-maintained dnscache
> anywhere else but #1 in resolv.conf. I'm curious to know if you've found
> such a reason.
Unexperience apart the answer is above.
>> I was aiming to avoid some of the "unknown" messages from my mail's headers
>> Anyway it sounds strange (to me) that my localdns can't find my hostname!!
>
> As noted above, your ISP's nameservers are being queried first. Since (I
> presume) they don't know about your domain, what you're getting is not
> surprising at all.
Yes my ISP doesn't know about my hostnames.
About what I'am getting with local queries:
that's shouldn't be true if I'am not connected to INTERNET,
my dns should answer to my local queries,is it?
Many Thanks.
Marco
> --
> Adrian Ho [EMAIL PROTECTED]
>