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

Re: Local address lookup



Mmm.. If I read Bob Proulx's message correctly, telnet should use
gethostbyname() and therefore pay due regard to nsswitch.conf.
My problem is that (on my system) telnet to a local network host
still involves dns (as shown by tcpdump), even though "files" is specified first in /etc/nsswitch.conf.

I am already thoroughly confused.. Anyway I am still looking for a
solution:

-- I do not want to set up a local nameserver (well, by now more
   a point of principle than anything).
-- I want to keep local telnets local.

So I would be grateful for any pointers to configuration mistakes I might have made. Or is there a bug in telnet? I do not think so.
Lots of people (especially the ones with modems and dial-on-
demand) would have complained already -- and I cannot find anything about "unnecessary dial-outs when telnetting to a local machine" in the archives.

Regards, Jan



Reply to: