network up, but not resolving correctly.
One of my machines has a working network, but isn't resolving names properly.
the entry in /etc/resolv.conf is correct (set to the ip of my router - same as the rest of the machines in the office), but when I try to "ping yahoo.com" I get nothing.. if I try to "ping 66.218.71.198" (which is yahoo) I get a proper ping. Any idea what might be the cause? |
Is this machine set to renew dns server on dhcp?
|
Quote:
|
while trying to resolve the hostname run something like iptraf on that interface and log any paket that is transmitted. maybe this will give you a clue.
sl mritch. |
I'm having a similar problem in slackware 9.0 using a D-Link router: I can only visit several sites. Whenever I ping some sites like ctan.org it says host not found; yet I can visit them under windoze. My router is configured as DHCP server so there might be something wrong with the renewal of the DNS server. I hope when I resolve this problem I could help you in some way too.
|
try invoking:
host 66.218.71.198 For more verbose output, also invoke: host -v 66.218.71.198 Suggestions: 1) you have a typo in /etc/resolv.conf 2) check /etc/nsswitch.conf, where your "hosts" line should look something like: hosts: files dns |
have you tried using dig?
|
Quote:
Thanks! |
You are welcome.
|
All times are GMT -5. The time now is 07:55 AM. |