"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"

[snip]

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

Try "ping 207.69.188.185"

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

Then hit Control-C

--- 207.69.188.185 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
Address:  127.0.0.1

Name:    www.mindspring.com
Addresses:  207.69.200.240, 207.69.200.134, 207.69.200.230,
207.69.200.233
          207.69.200.155, 207.69.200.188

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
Address:  127.0.0.1

Quote:> server 207.69.188.185

Default Server:  ns1.mindspring.com
Address:  207.69.188.185

Quote:> www.mindspring.com

Server:  ns1.mindspring.com
Address:  207.69.188.185

Non-authoritative answer:
Name:    www.mindspring.com
Addresses:  207.69.200.155, 207.69.200.188, 207.69.200.240,
207.69.200.134
          207.69.200.230, 207.69.200.233

Quote:> exit

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

HTH
Alan