ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Introducing DHCP
Subject:   Host name lookup failure
Date:   2003-04-22 20:17:41
From:   anonymous2
Greetings. Enjoyed the DHCP article.


Running FreeBSD 4.6.


I looked at my /var/db/dhclient.leases file and saw that I have (what looks like) a valid lease. I can ping IP addresses all day and I get a response. But when I try to ping "yahoo.com" or "google.com" I get "ping: cannot resolve yahoo.com: host name lookup failure."


I can see in the leases file that the correct domain name server addresses are being picked up but there seems to be a disconnect somewhere. Also, I do NOT have an /etc/resolv.conf file but don't know why I'd need to create one if I'm using DHCP.


Any ideas?


Thanks,


Jeff


1 to 1 of 1
1 to 1 of 1