[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Local address lookup



Hello,

On Wed, 2002-09-11 at 20:19, Jan Willem Stumpel wrote:
> I seem to have a DNS problem indeed. When I run tcpdump in an X
> window on jupiter and call
> 
>      telnet saturn
> 
> in another window, I get a lot of packets beginning with
> 
>      19:35:30.080780 jupiter.my.home.1024 > ns1.myisp.nl.domain:
>         19522+ AAAA? saturn. (23)
>      19:35:30.081839 jupiter.my.home.1025 > ns1.myisp.nl.domain:
>         17118+ PTR? 34.1.121.195.in-addr.arpa. (43)
>      19:35:30.107275 ns1.myisp.nl.domain > jupiter.my.home.1024:
>         19522 NXDomain 0/1/0 (98) (DF)
> 
> So a private telnet to an entirely local computer involves my
> ISP's name server (ns1.myisp.nl), i.e. the outside world. I do not
> like this at all. It is in fact pretty frightening. I had supposed 
> that "order hosts,bind" in /etc/host.conf would keep local address 
> lookups local, but apparently it does not.
host.conf is obsolete, i think it was used by old libc5. You must edit
/etc/nsswitch.conf:
hosts:          files dns

regards,

Carlos dos Santos

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: