Go Back   TechArena Community > Technology > Networking & Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



NSLookup can resolve domain names, Ping can not resolve. Can ping IP

Networking & Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 14-11-2008
Member
 
Join Date: Nov 2008
Location: China
Posts: 2
sad NSLookup can resolve domain names, Ping can not resolve. Can ping IP
  

I am fixing a XP SP2 problem.
It is connect to a cable modem. No router. standalone, in a windows group(not domain). No proxy. I verified the following:

1. Network is getting correct info via DHCP including DNS addresses
2. NSLookup is resolving names correctly
3. I can ping machines on the internet by IP address
4. I can ping local machines by name and IP
5. When I try to ping an external machine by name (e.g., www.excite.com), I get the following error: Ping command could not find host www.excite.com. Please check the name ....
6. Pinging excite by IP (66.235.126.95) works correctly.
7. Use the resolved IP by nslookup (e.g. 66.235.126.95), can open the web page.
8. Use network packet capture tool, Microsoft network monitor, found that when I use ping to resolve a name, it did not send DNS package, but NetBios Package.

I tried uninstalling and reconfiguring NIC
I tried ipconfig /flushdns
The DNS client is running and I don't see any errors in the event log
I tried to uninstall the anti-virus soft, disable the firewall.
I tried these, but not working.
1. "netsh int ip reset resetlog.txt" to reset TCP/IP
2. "netsh winsock reset" to reset Winsock 2

Thank you!


Last edited by finnce : 14-11-2008 at 09:00 AM.
Reply With Quote
  #2  
Old 14-11-2008
Member
 
Join Date: Nov 2008
Posts: 15
Re: NSLookup can resolve domain names, Ping can not resolve. Can ping IP

Hi,

Do you see anything unusual in lmhosts file?
How about in safe mode with Networking?

Regards
Fradual
Reply With Quote
  #3  
Old 14-11-2008
Member
 
Join Date: Jan 2006
Posts: 4,215
Re: NSLookup can resolve domain names, Ping can not resolve. Can ping IP

See similar threads: http://forums.techarena.in/server-networking/664699.htm
http://forums.techarena.in/server-dns/1053886.htm
http://forums.techarena.in/server-dns/923710.htm
http://forums.techarena.in/server-dns/1056406.htm
Reply With Quote
  #4  
Old 05-02-2009
Member
 
Join Date: Feb 2009
Posts: 1
Re: NSLookup can resolve domain names, Ping can not resolve. Can ping IP

Got the same problem, on Windows XP. I recently tried upgrading to SP3, but the upgrade was interrupted. After which, nslookup works and ping doesn't. Tried uninstalling SP3 but problem persists.

I have a workaround however: Stop the dnscache service by typing the following line at the MS/DOS prompt:

net stop dnscache

(You have to do this every time you boot, unless you permamently disable the dnscache).

I am still looking for a proper solution to this problem, but for the moment I can get by with this workaround.
Reply With Quote
Reply

  TechArena Community > Technology > Networking & Security
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "NSLookup can resolve domain names, Ping can not resolve. Can ping IP"
Thread Thread Starter Forum Replies Last Post
DNS resolve problem with ping but not nslookup vagniphor Windows Server Help 9 12-08-2011 01:52 AM
Unable to resolve external domain names to IP addresses, Vista, WS Rad Windows Server Help 3 23-10-2008 08:22 AM
Ping does not resolve, nslookup does, DNS queries end up externall Mike. Windows Server Help 4 08-06-2008 08:39 AM
Ping fails to resolve name but nslookup OK AXJ Windows Server Help 5 18-04-2008 12:08 PM
Can resolve DNS, can ping IP, but can't ping by DNS?? Bryan L Windows Server Help 14 23-01-2007 03:51 AM


All times are GMT +5.5. The time now is 05:49 PM.