"host name lookup failure" error

"host name lookup failure" error

Post by Alan J. Wyli » Mon, 11 Jan 1999 04:00:00

> If I try to telnet or ftp ANYWHERE, I always get:
> "ANYWHERE: host name lookup failure"


Quote:> My /etc/resolv.conf looks like this:
> search mindspring.com
> nameserver
> namesever

Try "ping"

You should get:
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=240 time=324.1 ms
64 bytes from icmp_seq=1 ttl=240 time=379.9 ms
64 bytes from icmp_seq=2 ttl=240 time=280.0 ms

Then hit Control-C

--- ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 280.0/328.0/379.9 ms

If that's ok, then your internet connection is OK.

Then try "nslookup www.mindspring.com"

I get:
Server:  localhost

Name:    www.mindspring.com

But that's 'cause I run a local named.
You should get something else for the server, but the same Name/Adresses

If that fails, then its a resolv.conf sort of thing, try

$ nslookup
Default Server:  localhost

Quote:> server

Default Server:  ns1.mindspring.com

Quote:> www.mindspring.com

Server:  ns1.mindspring.com

Non-authoritative answer:
Name:    www.mindspring.com

Quote:> exit

(Type the stuff after the > prompts)
which should work, if your pings worked.