Results 1 to 4 of 4

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

  1. #1
    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 08:00 AM.

  2. #2
    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

  3. #3
    Join Date
    Jan 2006
    Posts
    4,224

  4. #4
    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.

Similar Threads

  1. DNS resolve problem with ping but not nslookup
    By vagniphor in forum Windows Server Help
    Replies: 9
    Last Post: 12-08-2011, 12:52 AM
  2. Replies: 3
    Last Post: 23-10-2008, 07:22 AM
  3. Replies: 4
    Last Post: 08-06-2008, 07:39 AM
  4. Ping fails to resolve name but nslookup OK
    By AXJ in forum Windows Server Help
    Replies: 5
    Last Post: 18-04-2008, 11:08 AM
  5. Can resolve DNS, can ping IP, but can't ping by DNS??
    By Bryan L in forum Windows Server Help
    Replies: 14
    Last Post: 23-01-2007, 02:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •