FC4 - Cannot resolve hosts, but nslookup works

Craig White craigwhite at azapple.com
Tue Nov 15 22:21:33 UTC 2005


On Tue, 2005-11-15 at 15:39 +0000, Vijay Gill wrote:
> Hi,
> The following problem is occuring on my machine. ping does not work,
> but nslookup does. I get IP (and DNS server IPs for resolve.conf) from
> my ISP's DHCP server.
> 
> Any solutions please?
> 
> Regards from
> Vijay G.
> 
> [root at dxr ~]# ping www.yahoo.com
> ping: unknown host www.yahoo.com
> 
> *******************************************
> [root at dxr ~]# nslookup www.yahoo.com
> Server:         194.168.8.100
> Address:        194.168.8.100#53
> *******************************************
> Non-authoritative answer:
> www.yahoo.com   canonical name = www.yahoo.akadns.net.
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.38
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.52
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.33
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.47
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.46
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.35
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.40
> Name:   www.yahoo.akadns.net
> Address: 66.94.230.41
> *******************************************
> [root at dxr ~]# cat /etc/host.conf
> order hosts,bind
> *******************************************
> [root at dxr ~]# cat /etc/resolv.conf
> ; generated by /sbin/dhclient-script
> nameserver 194.168.8.100
> nameserver 194.168.4.100
> *******************************************
----
perhaps it timed out - your nameservers might be slow to provide the
answer...

ping www.yahoo.com
nslookup www.yahoo.com
ping www.yahoo.com

service nscd restart
ping www.yahoo.com
nslookup www.yahoo.com
ping www.yahoo.com

I've had a bunch of problems with speed of dns with ipv6 and have
resorted to doing...

echo "alias net-pf-10 off" >> /etc/modprobe.conf

and rebooting to turn it off

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list