If you are experiencing problems with the internet connection and the Windows Network Diagnostic Troubleshooter displays Your DNS Server might be unavailable message, here are some possible solutions that you might like to use. Although, sometimes restarting the Wi-Fi router can solve your problem, you may need to try other solutions as well.
Your DNS Server might be unavailable
Before getting started, you should check the ‘ping status’ and try using another browser as well. If you are facing packet loss issues or none of your browsers can open any website, you need to follow these solutions.
1] Flush DNS cache
If you have been using the Windows OS for a long time, you may know that you are able to fix most internet connection related issues by flushing the Windows DNS cache. It helps when some websites are opening, and some are not. So open Command Prompt with administrator privilege and run this command-
You will see a Successfully flushed the DNS Resolver Cache message once the job is done.
You may want to also renew the IP address by running these commands in the CMD window:
ipconfig /release ipconfig /renew
Check if this works for you.
2] Use Google Public DNS
If your DNS server has an issue at the moment, change your DNS settings. You can temporarily switch to Google Public DNS. To get started, press Win + R, type ncpa.cpl and hit the Enter button. Right-click on the active network profile and select Properties. You should find Internet Protocol Version 4 (TCP/IPv4) in the list, which you need to select before clicking on Properties button.
After that, select Use the following DNS server addresses and enter the following addresses-
- Preferred DNS server: 22.214.171.124
- Alternate DNS server: 126.96.36.199
In case, you use IPv6; you need to use these-
- Preferred DNS server: 2001:4860:4860::8888
- Alternate DNS server: 2001:4860:4860::8844
Save your settings and check whether you are getting any issue or not.
3] Disable VPN/antivirus/firewall software
If you have recently installed any VPN, antivirus, or firewall software, you should try disabling it. Sometimes, such software are known to create issues – and so we need to rule out this possibility.
4] Disable Proxy
If you are using any Proxy server on your system, you should disable it to check if it is creating problems or not. For that, press Win +I to open Windows Settings panel. After that, go to Network & Internet > Proxy. Now make sure only Automatically detect settings option is turned on. If any other option is turned on, you need to toggle that button to disable it.
If some malware or adware attacked your system recently, you need to open another option in Local Area Connection (LAN) settings. For that, search for Internet Options in the taskbar search box or Cortana. After opening the Internet Properties window, switch to Connections tab and click on LAN settings. Now make sure the Use a proxy server for your LAN is turned off.
If not, deactivate this setting and save your change.
5] Reset Router
Sometimes the Wi-Fi router can create such internet connection issues on Windows 10. If other solutions are not working, you should try resetting it once. You can check the manual that was given by the manufacturer since different Wi-Fi router has various methods to reset. Whichever router you use, you need to enter all the IP addresses once more.
6] Reset TCP/IP
To fix the corrupt TCP/IP, resetting is the best option that you should opt for. To reset TCP/IP oppen an elevated Command Prompt, and run the following command-
netsh int ip reset resettcpip.txt
You need to restart your computer to complete this action.
Some other related issues and fixes: