+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
Windows 7 Thread, DNS resolver issues - NSLOOKUP works, Ping doesn't in Technical; I've got a strange one on a Win 7 Pro machine - it can't connect to any websites by name ...
  1. #1
    SteveBentley's Avatar
    Join Date
    Jun 2007
    Location
    Yorkshire
    Posts
    1,447
    Thank Post
    120
    Thanked 263 Times in 189 Posts
    Rep Power
    73

    DNS resolver issues - NSLOOKUP works, Ping doesn't

    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 <hostname> fails to resolve

    tracert <hostname> fails to resolve

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

    tracert <ip> 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?

  2. #2

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,241
    Thank Post
    882
    Thanked 2,742 Times in 2,316 Posts
    Blog Entries
    11
    Rep Power
    784
    Have you tried reseting the ip stack?
    http://www.geeksinphoenix.com/blog/p...Windows-7.aspx

  3. Thanks to SYNACK from:

    SteveBentley (28th July 2011)

  4. #3
    ArchersIT's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire
    Posts
    114
    Thank Post
    14
    Thanked 24 Times in 20 Posts
    Rep Power
    21
    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

  5. Thanks to ArchersIT from:

    SteveBentley (28th July 2011)

  6. #4
    SteveBentley's Avatar
    Join Date
    Jun 2007
    Location
    Yorkshire
    Posts
    1,447
    Thank Post
    120
    Thanked 263 Times in 189 Posts
    Rep Power
    73
    Quote Originally Posted by SYNACK View Post
    Have you tried reseting the ip stack?
    http://www.geeksinphoenix.com/blog/p...Windows-7.aspx
    Good call, but sadly it hasn't changed anything.

    @Jonathan

    Yeah definitely using the FQ name.

    I've also found that ping -a <IP> will return the host name.

  7. #5

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    119
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    Have you got WINS configured?

  8. #6

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    119
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    Try
    nbtstat -c

    Is anything showing in the cache?

    Also, have you got a second network card configured to a wrong (or no) DNS server?

  9. #7

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    119
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    Another thought - the NSLOOKUP is tuned into the correct DNS server (your internal one)?

  10. Thanks to jinnantonnixx from:

    SteveBentley (29th July 2011)

  11. #8

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    119
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    This is old but I think it's still current. At the very least it's informative.

    Microsoft TCP IP Host Name Resolution Order

  12. #9
    SteveBentley's Avatar
    Join Date
    Jun 2007
    Location
    Yorkshire
    Posts
    1,447
    Thank Post
    120
    Thanked 263 Times in 189 Posts
    Rep Power
    73
    Yep WINS is in use, configured like every other machine (by DHCP)

  13. #10
    Sam_Brown's Avatar
    Join Date
    Sep 2009
    Location
    Northampton
    Posts
    594
    Thank Post
    100
    Thanked 42 Times in 40 Posts
    Rep Power
    19
    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.

  14. Thanks to Sam_Brown from:

    SteveBentley (29th July 2011)

  15. #11

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    18
    Probably this issue: dns problem - com entries

    Computer Configuration -> Administrative Templates -> Network -> DNS Client -> “Allow DNS Suffix Appending to Unqualified Multi-Label Name Queries”

    Win 7 has a different default behaviour compared to XP.

  16. Thanks to nicklec from:

    SteveBentley (29th July 2011)

  17. #12
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    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

  18. Thanks to ricki from:

    SteveBentley (29th July 2011)

  19. #13

    Join Date
    Jul 2011
    Location
    Iran
    Posts
    1
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    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\servic es\Tcpip\Parameters]

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


    Hope this helps

  20. Thanks to shoeib from:

    SteveBentley (29th July 2011)

  21. #14
    SteveBentley's Avatar
    Join Date
    Jun 2007
    Location
    Yorkshire
    Posts
    1,447
    Thank Post
    120
    Thanked 263 Times in 189 Posts
    Rep Power
    73
    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

  22. #15

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    119
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    Is your machine fully patched and up to date? I had some inexplicable network problems (some scripts just stopped working on machine startup) which were resolved by the updates.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. DNS serious issues
    By dombera in forum Windows Server 2008
    Replies: 3
    Last Post: 11th May 2011, 12:01 PM
  2. Activboard pen works...then doesn't...then does...
    By marsdenprimary in forum Promethean Direct Support
    Replies: 7
    Last Post: 10th January 2011, 03:15 PM
  3. DNS/DHCP Issues
    By link470 in forum Windows
    Replies: 1
    Last Post: 11th March 2008, 08:33 AM
  4. Interesting DNS issues
    By mortstar in forum Wireless Networks
    Replies: 3
    Last Post: 23rd January 2007, 04:06 PM
  5. DNS - can't ping by computer name
    By SimpleSi in forum Windows
    Replies: 15
    Last Post: 29th September 2006, 01:42 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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