[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1671
  • Last Modified:

XP SP2 pings but will not resolve addresses except with nslookup

I have a laptop with XP SP2 on it.  All of a sudden, it will not resolve addresses.  I have confirmed that the network is working.

nslookup will resolve addresses:

Eg: nslookup www.yahoo.com will return the correct addresses.

Ping www.yahoo.com will not resolve.  Browsers will not resolve and chat (yahoo, msn, etc) will not work and email is dead.

Anything that I connect to via ip address only works correctly.

I have tried winsockxpfix and this has not helped.  I thought maybe a corrupt ARP table but no luck.

Any ideas would be greatly appreciated.

Craig
0
Craig Sharp
Asked:
Craig Sharp
  • 3
  • 2
  • 2
  • +6
4 Solutions
 
sweatbeastCommented:
'netsh int ip reset output.txt' will reset your IP stack - worth a try.(not sure if winsockxpfix does this?)
0
 
plemieux72Commented:
Since when?  You could do a system restore to restore the config to an earlier time when it worked.

Start, All Programs, Accessories, System Tools, System Restore...
0
 
giltjrCommented:
How many DNS reslovers do you have configured?

nslookup will use the 1st DNS reslover listed in your configuration to reslove names, unless you specify a specific reslove.

When Windows (since about NT V4.0 SP 4) does name reslolution is uses what I call a "shotgun" approach.  It will send out a request to EVERY dns reslove in your list.  The 1st guy back wins.  So if you have 3 reslovers coded and the 1st one actually works and any of the other two do not work, if the one that does not work responds first, you get a "can't find host" type error.

Now to make matters worse, under XP (could work like this under 2000/2003 but I don't know) Windows will actually change the order of reslovers it tries.  It will dynamically change the list so that the 1st guy that responded last time is the 1st guy that send the request to the next time.  Although he sends out a requst to all reslovers in the list at the "same time" there is a small delay in sending each requst as he can't send out 3 requests at the same exact time.    Please note that issuing the command ipconfig /all will show the reslovers in the order you entered them, not the order that XP actually sends the requests out.  That I know of there is no way to display what order XP has shuffled them around in.

My guess is that the reslover that is responding back the quickest is one that can't reslove the name.

Now it gets even worse if you have multiple-NIC's.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
BILJAXCommented:
80% of most networking problems stem from improper or misconfigured DNS settings.   Check the DNS address for the NIC (ipconfig /all).   Also, try "ipconfig /flushdns"  then "ipconfig /registerdns"

That will flush the computer's DNS cache and then re-register with the DNS power-that-be.



AC
0
 
star57techCommented:
What antivirus program do you have. I have My-EZtrust and had the same problem after a while. I unstalled Ez and was able to get the dns issue resolved. Then reinstalled EZ and still everything works. May not be you problem. But it was mine. Many internet security programs will forbid you from accessing the internet after awhile. Thats where I would look
Hope this helps/
0
 
wyliecoyoteukCommented:
You do not say how your DNS is configured, but taking a stab in the dark, your ISP may have altered their DNS server address.

Try a tracert to www.yahoo.com
if that just times out, your gateway or DNS is the problem, change the setting for your gateway or  DNS server.
0
 
wyliecoyoteukCommented:
Also try disabling the XP firewall. if you can ping but not connect via http.
0
 
frajicoCommented:
Check the file hosts ... on Windows XO is on

windos\system32\drivers\etc ....

Must have ONLY 1 ine (in most cases)

127.0.0.1          localhost


If there are other lines, delete them and save it. Reboot

Salu2
0
 
lrmooreCommented:
Here are some things that might help since you've already tried the winsockxpfix....

How to Reinstall or Repair Internet Explorer and Outlook Express in Windows XP
http://support.microsoft.com/?kbid=318378

Repair Internet Explorer 6
http://www.theeldergeek.com/repair_ie6.htm

How to Uninstall Internet Explorer 6
http://support.microsoft.com/?kbid=293907

Page can't be found error (remove index.dat)
http://searchwin2000.techtarget.com/tip/1,289483,sid1_gci866794,00.html

Start > Run sfc /scannow
http://support.microsoft.com/default.aspx?scid=kb;en-us;310747 
0
 
giltjrCommented:
Plesae do NOT remove entries from your HOST files as frajico has suggested unless you know that you do not need them.  The entries in your host file will NOT prevent DNS resolution, it may return an incorret IP address, but it will NOT cause DNS resolution problems.  In fact if you have entries other than localhost and you delete them it could cause other things to break.

ipconfig /registrydsn will not actually do what is described by BILJAX.  If you are configured for DHCP it will release your lease and then ask ask for a new lease then it will tell YOUR DNS server about your compter name.  If you are not DHCP, I am not sure what it will do.  Now, getting a new lease may, may reslove your problem, if the problem is that the DNS reslovers originally provide on your current DHCP lease are no longer working correctly.
0
 
kfullartonCommented:
Do other hosts on your network experience the same problem?  This sounds like a client DNS configuration issue, but could be related to the firewall.  Can you post a snapshot of exactly what's happening?  IPconfig /all, nslookup successful, ping unsuccessful, arp table.  Thanks.
0
 
frajicoCommented:
A NORMAL user should not have any entries different than 127.0.0.1 localhost .. on his etc/host file.

Some of new spyware/virus modify this file.

The SO looks this file FIRST .. before resolving DNS. If the url addres is in this file, no DNS resolution is DONE. So, if this file is modified, could lead to connection problems. nslookup forces the DNS resolution.

Salu2
0
 
star57techCommented:
Again do you have any Internet Security Programs such a zonealarm that was installed?
0
 
giltjrCommented:
frajico,

I have worked with a few sites that do have their normal users hosts files setup with specific resolutions. Don't ask why it was not a real good reason, but they did it.

DNS resolution IS done with our with entries in the hosts file.  If the host name is in the hosts file, then the address that is used is the one in the hosts file.  If the name is not in the host file, then it goes to a DNS reslover.  If his problem was an invalid entry in the hosts file, he would see the incorrect address.  He is stating that the name is not getting resloved at all.  I have never seen and can't think of a situation where an incorrect/invalid/errant entry in a hosts file would prevent DNS resolution.  Have you?
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
  • 2
  • +6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now