DNS resolve problem with ping but not nslookup
After failing to update my windows XP to SP3, my PC was not able to resolve DNS with most softwares. The only one that seems to still work now is my Opera browser. Others, such as IE 6, firefox are not able to resolve the DNS.
I tried pinging google and it also fails.
C:\>ping www.google.com
Ping request could not find host www.google.com. Please check the name and try again.
But nslookup can still work
*** Can't find server name for address 192.168.0.1: Non-existent domain
*** Default servers are not available
Server: UnKnown
Address: 192.168.0.1
Non-authoritative answer:
Name: www.l.google.com
Addresses: 209.85.165.103, 209.85.165.104, 209.85.165.147, 209.85.165.99
Aliases: www.google.com
Here are the results of ipconfig /all:
Windows IP Configuration
Host Name . . . . . . . . . . . . : xxxxxx
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : hsd1.fl.comcast.net.
Ethernet adapter Local Area Connection 3:
Connection-specific DNS Suffix . : hsd1.fl.comcast.net.
Description . . . . . . . . . . . : VIA Rhine II Fast Ethernet Adapter
Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.10
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Monday, October 13, 2008 6:39:05 AM
Lease Expires . . . . . . . . . . : Thursday, October 16, 2008 6:39:05 AM
Re: DNS resolve problem with ping but not nslookup
Ping isn't going to work with many of the external host sites, so this is
normal. If you can do an nslookup on a site, then dns is resolving
correctly. It sounds more like the browsers you are attempting to use are
corrupted.
Re: DNS resolve problem with ping but not nslookup
i'm haveing the somewhat the same problem. firefox and IE will not go out to web sites. email does not work either. but if i type googles ip in the address bar it will display the website. but if i type www.google.com it won't. very frustrating. i can ping intenal ips but no extenal DNS names. i can ping extenal IPs and i get resopnce back. any ideas?
Re: DNS resolve problem with ping but not nslookup
How about stopping the DNS Client Service? I had exactly same problems and
did everything I can such as removing and reinstalling winsock , TCP/IP but
failed. And the last thing I do was to stop dns client service and it now
works fine. I don't know why. Is there someone who can explain it?
Re: DNS resolve problem with ping but not nslookup
Something with AD configuration?
I got the same problem with my two new virtual redhat and suse. It was the directory LDAP client which was the problem. Now both servers are running correctly.
If using linux (redhat or suse):
look at nsswitch.conf & ldap.conf
1) put "bind_policy soft" in /etc/ldap.conf
2) nsswitch.conf must minimum have:
passwd: compat
group: compat
hosts: files dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files nis
aliases: files
3) reboot
4) check with: ping, nmap localhost.
5) now you can enable your ldap client again. (RH: authconfig ; suse: yast2 ldap). It will modify your nsswitch.conf
ref:
Re: DNS resolve problem with ping but not nslookup
I don't know what you're responding to, becaues we can only see your post in the Microsoft DNS newsgroup because the original or prior posts in this thread have expired in the newsgroups (they're older than 90 days), but based on the subject line, I can say that pings and nslookup problems are not related to AD, rather they are based on the client's network configuration and the client side resolver service.
Re: DNS resolve problem with ping but not nslookup
What a lifesaver this thread was. After trying a thousand things that didn't work like registry edits, reinstalling TCP/IP and uninstalling/reinstalling Bonjour this did the trick. I uninstalled SP3 and reinstalled it and now the machine is fine again. I was preparing to reload the whole thing and what a pain that would have been.
Thanks a million, Tenroc2000!
Re: DNS resolve problem with ping but not nslookup
I have exactly the same issue. I pretty much tried everything that I can find, but nothing was working. Thanks to "tenroc2o0o's post", once I uninstalled SP3. The problem is gone.