RE: Hosts/DNS Problems w/ new Woody installs
Sorry - I should've been more clear...I used telnet only as an example.
I've found nothing except 'ping' that picks up the correct address
(e.g., lynx www.yahoo.com gets me yahoo.com, instead of the local
webserver.)
It seems that on other boxen telnet does pick up on the hosts file.
- James
> -----Original Message-----
> From: Marcelo Ramos [mailto:mramos@montevideo.com.uy]
> Sent: Wednesday, September 04, 2002 3:49 PM
> To: debian-user@lists.debian.org
> Subject: Re: Hosts/DNS Problems w/ new Woody installs
>
>
> On Wed, 4 Sep 2002 14:01:48 -0700
> "James L. Morton" <jmorton@ezrez.com> wrote:
>
> > I recently installed woody on 3 seperate boxes. On all of
> them, DNS
> > seems to be taking precendence over the hosts file, despite
> the fact
> > that nsswitch.conf is configured to look at hosts first. To make
> > matters even more strange, ping gets the correct (hosts) address,
> > while all other programs get the incorrect (DNS) version.
>
> Probably your setup is correct. I believe that telnet do a
> dns reverse lookup previous to the conection itself. Now
www.yahoo.com resolves to 66.218.71.80 not to 192.168.10.1, then the
connection goes to 66.218.71.80.
--
______________________________________________________
______ _____________
Marcelo Ramos | \/ __ |
Debian 3.0 GNU/Linux 2.2.20 | |_/ /
Linux registered user #118109 | \
mramos@montevideo.com.uy |_____|\/|_____|\______\
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: