Skip to content

Instantly share code, notes, and snippets.

@Awan
Created February 21, 2024 02:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Awan/57fca57fa5b6ce62c8b31cb22dcb68c2 to your computer and use it in GitHub Desktop.
Save Awan/57fca57fa5b6ce62c8b31cb22dcb68c2 to your computer and use it in GitHub Desktop.
Windows DNS probe failed solution

windows DNS probe failed

So if you're having Windows DNS probe failed issue, you can use this gist to set google DNS.

Open powershell as system administrator:

and run these commands:

Set-DnsClientServerAddress -InterfaceAlias Wi-Fi -ServerAddresses ("8.8.8.8", "8.8.4.4")
Set-DnsClientServerAddress -InterfaceAlias Ethernet -ServerAddresses ("8.8.8.8", "8.8.4.4")

You can check new DNS:

Get-DnsClientServerAddress -InterfaceAlias Wi-Fi
Get-DnsClientServerAddress -InterfaceAlias Ethernet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment