Skip to main content
The 2024 Developer Survey results are live! See the results
Notice removed Draw attention by g491
Bounty Ended with I say Reinstate Monica's answer chosen by g491
Tweeted twitter.com/super_user/status/864191419858210817
Notice added Draw attention by g491
Bounty Started worth 50 reputation by g491
Added debugging output
Source Link
g491
  • 514
  • 1
  • 11
  • 27

If I run ping www.google.com in Windows 10 on a particular computer, it says Ping request could not find host www.google.com. Please check the name and try again.

If I run ipconfig /flushdns and try it again right afterwards, it resolves the IP as expected and works as do other DNS lookups for a brief period of time.

I tried disabling the "DNS Client" Windows service but that didn't solve it (though restarting the service has the same effect as the above of things temporarily working).

I tried the network diagnostic tool as well as doing a full "network reset" via the windows settings screen.

Some possible items of note are

  1. another computer connected to this network works fine
  2. things used to be fine on this computer on this network and then they stopped working
  3. pretty sure this computer works on another wifi network
  4. running sfc /scannow doesn't detect any integrity violations

Here is some debugging output on the network that has the issue while it's occurring:

>nslookup www.google.com DNS request timed out.
    timeout was 2 seconds. Server:  UnKnown Address:  209.18.47.62

DNS request timed out.
    timeout was 2 seconds. DNS request timed out.
    timeout was 2 seconds. DNS request timed out.
    timeout was 2 seconds. DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

>netsh interface show interface

Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Disconnected   Dedicated        Wi-Fi
Enabled        Connected      Dedicated        Ethernet 2

Here's the output of nslookup right after running ipconfig /flushdns:


>nslookup www.google.com
Server:  dns-cac-lb-02.rr.com
Address:  209.18.47.62

Non-authoritative answer:
Name:    www.google.com.socal.rr.com
Addresses:  198.105.254.228
          198.105.244.228

If I run ping www.google.com in Windows 10 on a particular computer, it says Ping request could not find host www.google.com. Please check the name and try again.

If I run ipconfig /flushdns and try it again right afterwards, it resolves the IP as expected and works as do other DNS lookups for a brief period of time.

I tried disabling the "DNS Client" Windows service but that didn't solve it (though restarting the service has the same effect as the above of things temporarily working).

I tried the network diagnostic tool as well as doing a full "network reset" via the windows settings screen.

Some possible items of note are

  1. another computer connected to this network works fine
  2. things used to be fine on this computer on this network and then they stopped working
  3. pretty sure this computer works on another wifi network
  4. running sfc /scannow doesn't detect any integrity violations

If I run ping www.google.com in Windows 10 on a particular computer, it says Ping request could not find host www.google.com. Please check the name and try again.

If I run ipconfig /flushdns and try it again right afterwards, it resolves the IP as expected and works as do other DNS lookups for a brief period of time.

I tried disabling the "DNS Client" Windows service but that didn't solve it (though restarting the service has the same effect as the above of things temporarily working).

I tried the network diagnostic tool as well as doing a full "network reset" via the windows settings screen.

Some possible items of note are

  1. another computer connected to this network works fine
  2. things used to be fine on this computer on this network and then they stopped working
  3. pretty sure this computer works on another wifi network
  4. running sfc /scannow doesn't detect any integrity violations

Here is some debugging output on the network that has the issue while it's occurring:

>nslookup www.google.com DNS request timed out.
    timeout was 2 seconds. Server:  UnKnown Address:  209.18.47.62

DNS request timed out.
    timeout was 2 seconds. DNS request timed out.
    timeout was 2 seconds. DNS request timed out.
    timeout was 2 seconds. DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

>netsh interface show interface

Admin State    State          Type             Interface Name
-------------------------------------------------------------------------
Enabled        Disconnected   Dedicated        Wi-Fi
Enabled        Connected      Dedicated        Ethernet 2

Here's the output of nslookup right after running ipconfig /flushdns:


>nslookup www.google.com
Server:  dns-cac-lb-02.rr.com
Address:  209.18.47.62

Non-authoritative answer:
Name:    www.google.com.socal.rr.com
Addresses:  198.105.254.228
          198.105.244.228
Source Link
g491
  • 514
  • 1
  • 11
  • 27

DNS lookups don't work in Windows except immediately after ipconfig /flushdns

If I run ping www.google.com in Windows 10 on a particular computer, it says Ping request could not find host www.google.com. Please check the name and try again.

If I run ipconfig /flushdns and try it again right afterwards, it resolves the IP as expected and works as do other DNS lookups for a brief period of time.

I tried disabling the "DNS Client" Windows service but that didn't solve it (though restarting the service has the same effect as the above of things temporarily working).

I tried the network diagnostic tool as well as doing a full "network reset" via the windows settings screen.

Some possible items of note are

  1. another computer connected to this network works fine
  2. things used to be fine on this computer on this network and then they stopped working
  3. pretty sure this computer works on another wifi network
  4. running sfc /scannow doesn't detect any integrity violations