Jump to content

Recommended Posts

Posted

I've got a strange one on a Win 7 Pro machine - it can't connect to any websites by name which obviously points to a DNS issue, and testing further it's all services, not just websites. I've done the usual checks that it's getting the right DNS entries from DHCP, tried an ipconfig /flushcache, disabled IPv6, all the usual things. But it comes down to this:

 

ping fails to resolve

 

tracert fails to resolve

 

nslookup does resolve but doesn't cache it so that a future ping works.

 

tracert resolve and gives the fully qualified hostname

 

No firewall issues or any security software that's unusual to this machine.

 

Does anyone have any ideas?

Posted

First thoughts - are you pinging the Fully Qualified name? If not try that. If that works then you should look at the DNS suffix on the network card.

 

Jonathan

  • Thanks 1
Posted

We had an issue with the search suffix being deleted from our tcp\ip settings. Or rather an entry being made that erased the default.

 

Do a search for "SearchList" under regedit and see if it exists and if it does what it's been set as.

  • Thanks 1
Posted

HI

 

I know this will be a daft question but have you tried fixing the ip for tests only and test agiain. Have you tried a different nic and a different network cable and port. I had a switch refuse to work correctly and it had be be rebooted after a surge. Have you tried updating nic driver.

 

My last idea would be if you have several machines of the same type and model move a working os hard drive from a working machine into this same make and model and try that it will tell you if its a hardware problem. If you dont have a similar machine try a linux boot cd and it will tell you if its hardware of software.

 

Richard

  • Thanks 1
Posted

I had the exact same issue on a win7 pro.

I managed to solve the problem after reading the posts made in this topic. It was making me crazy and I was gonna reinstall windows!

 

Not sure what the problem is and what causes it but I solved it by replacing the following registry entries. I replaced them with the entries form another working PC

U can do the same or just use the fix.reg file I attached. Just make sure u change "Hostname" and "NV Hostname" entries with ur PC name. U might also want to take a backup of those registry entires.

fix.zip

 

Here is the regsitry address:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]

 

Instead of CurrentControlSet u might see ControlSet001 or 002. I replaced those too.

 

 

Hope this helps

  • Thanks 1
Posted

Nothing in the cache as reported by nbtstat, and no joy with those local policies. It's all addresses, not just the addresses of servers on the network here - the machine can't resolve google.

 

I've checked nslookup is pointing at the same DNS servers that everything else is and it still manages to resolve names.

 

I think a LiveCD might be a good next port of call

  • 1 year later...
Posted (edited)

Copying registry setting under [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]

worked for me too, however there is no need to copy adapter and interface settings as they differ from machine to machine.

Not sure which parameter affects this directly, however I've noticed that some of them where absent in PC with problmes...

Edited by japaridze
  • 11 months later...
Posted

I ran into this after a bad Kaspersky update caused my AV to delete my tcpip.sys file. I had to re-install TCP/IP, but after I did, I could not ping friendly names, although nslookup would return the correct records. The strangest thing about this issue is that if you go to Control Panel -> System and look at Computer Name it just says "Not Available." It seems that the system can't even resolve its own name! After fighting for hours, this thread lead me in the right direction. Thanks a ton! Here's what I did:

 

run regedit

 

 

Navigate to HKLM\System\CurrentControlSet\Services\Tcpip\Parameters

 

Look for three string values: Domain, Hostname, NV Hostname. (All three were missing on my affected system, so just create them if they are not there)

 

Set the Hostname and NV Hostname strings to your PC's name. (You can find you PC's name by opening a command prompt and typing hostname then pressing return. Your correct PC name will be displayed.)

 

Set the Domain string value to the name of your domain. (Usually something like yourdomain.local)

If the PC is not joined to a domain create the string and leave it blank.

 

Close regedit and reboot. Now you should be able to ping friendly names and surf the web/network normally.

 

I have no great insight into exactly what is going on here, but his fix worked like a charm.

Posted
fencecat42, thank you very much! I have some malware on my Window 7 Home Prem PC and after Kaspersky deleted tcpip.sys I've the same problem. You find right solution! Thank you again.
  • 7 months later...
Posted
I ran into this after a bad Kaspersky update caused my AV to delete my tcpip.sys file. I had to re-install TCP/IP, but after I did, I could not ping friendly names, although nslookup would return the correct records. The strangest thing about this issue is that if you go to Control Panel -> System and look at Computer Name it just says "Not Available." It seems that the system can't even resolve its own name! After fighting for hours, this thread lead me in the right direction. Thanks a ton! Here's what I did:

 

run regedit

 

 

Navigate to HKLM\System\CurrentControlSet\Services\Tcpip\Parameters

 

Look for three string values: Domain, Hostname, NV Hostname. (All three were missing on my affected system, so just create them if they are not there)

 

Set the Hostname and NV Hostname strings to your PC's name. (You can find you PC's name by opening a command prompt and typing hostname then pressing return. Your correct PC name will be displayed.)

 

Set the Domain string value to the name of your domain. (Usually something like yourdomain.local)

If the PC is not joined to a domain create the string and leave it blank.

 

Close regedit and reboot. Now you should be able to ping friendly names and surf the web/network normally.

 

I have no great insight into exactly what is going on here, but his fix worked like a charm.

 

More than 16 hours on this exactly same problem with all the ipconfig commands and winsock reset and other tricks most people mentioned at all the forums.

Only this worked and really saved me at the end of the day.

Many many thanks, fencecat42. Best.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...