On Sat, 16 Oct 1999, Ken Lai wrote:
> I don't suppose anyone else is having problems with ip resolution under
> linux?
>
> When I try to ping, ssh, use irc, or do anything that takes a domain name
> as argument, the program simply barfs a SEGV at me.
> When I specify the ip, however, things would seem ok.
For what it's worth, I think (offhand) that ssh and Linux's ping use a
nonstandard resolver (or use the normal one in nonstandard ways), which
could explain why 'nslookup' works while ssh and ping fail. Out of
curiosity, what happens if you telnet to a DNS name? (I'm pretty sure
telnet uses the standard, correct resolver.)
> For example, "ping www.yale.edu" would seg fault, and "ping 130.132.1.10"
> would be okay.
>
> All of these problems started around the same time as when I got a memory
> upgrade. I suspect my problem is a combo of a couple of messy things.
It could be lots of things. As a first step, check the core dump for
'ping', or run it through a debugger. Also, make sure there's nothing
weird in your /etc/resolv.conf file; you said you checked it, but look at
it carefully (with cat -tev, maybe) to make sure there are no weird
characters, unwanted spaces, and stuff like that.
Shawn
This archive was generated by hypermail 2b29 : Wed Apr 27 2005 - 03:30:03 EDT