In this article your will learn about how to fix DNS Server Unavailable error. A complete guide step by step instructions to fix DNS Server Unavailable Error issue. The domain names for the websites you’ve visited are stored on the Domain Name System (DNS) server. When you search for a domain name in a web browser, your router sends the request to a DNS server. It then returns the relevant IP address if the domain name of the given site has been stored. As a result, the loading process for certain sites is significantly reduced.
Despite how effective this process is, the DNS server will occasionally fail to connect. In this case, attempting to troubleshoot your web browser may result in a ‘DNS server not responding’ error.
The appearance of this error on your screen could be due to various circumstances. The most noticeable of these is the chance that the server is currently down. Fortunately, this problem is frequently accompanied by a few simple solutions.
Have you ever gotten an error message stating that the DNS server is unavailable? These issues can sometimes be resolved quickly by changing browsers, fiddling with a few firewall settings, or rebooting your router. After that, it’ll be up to you to figure out what’s causing the problem and how to fix it.
Start by opening the websites you’re trying to open in a separate browser. This means that if you’re getting the error while using Mozilla Firefox, you should switch to Microsoft Edge or Google Chrome. Then, we can test other devices if the problem persists.
To rule out the possibility of hardwares issue, try opening a webpage on a mobile device connected to the same network. It’s also a good idea to attempt connecting to the same web pages using your data plan to see if the DNS server causes the problem.
Reboot your router once you’ve completed these procedures.
If the error “DNS server unavailable” persists, we’ll need to try a couple more effective approaches.
Flushing Your DNS (Windows)
Flushing the DNS server with Command Prompt is the most effective way to fix DNS Server Unavailable Error issue.
- Hold Windows key and the R key at the same time, the Run dialogue will appear.
- Press Enter after typing cmd into the slot to open Command Prompt.
- Type ipconfig /flushdns into the Command Prompt window and hit Enter.
After that, type ipconfig /release and hit Enter.
Finally, hit Enter after typing ipconfig /renew.
Reboot your system after closing the Command Prompt window.
Flushing Your DNS (MacOS)
On a Mac, you can also flush the DNS. Depending on the version of Mac on which your computer is running, the way you do this will differ slightly. Changing the syntax used during the process is frequently all that is required.
1. Open a Finder window and go to Applications, then Utilities, and finally Terminal to get started.
2. Enter the appropriate syntax, based on the MacOS version you’re presently running:
- For MacOS High Sierra – sudo killall -HUP mDNSResponder; sleep 2; echo macOS DNS Cache Reset | say
- For MacOS Sierra – sudo killall -HUP mDNSResponder;say DNS cache has been flushed
- For MacOS Mojave – sudo killall -HUP mDNSResponder;sleep 2;
- For MacOS X El Capitan/Yosemite – sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder;say cache flushed
3. Return to the previous screen, enter your password, and then return to the previous screen.4.
Before exiting the Terminal, listen to the audio indication indicating a successful DNS flush.
To thoroughly flush out the MacOS X cache, you’ll need to take a few further actions. On top of the previous steps, you’ll need to flush the MDNS and UDNS caches.
Perform the following commands before exiting the Terminal:
- Type sudo discoveryutil mdnsflushcache to flush the MDNS cache.
- Type sudo discoveryutil udnsflushcaches to flush the UDNS cache.
Remove Multiple Antiviruses
“There s no such thing as too much security.” While this may be true in the real world, having many antivirus products installed on the same computer can reduce the security level provided.
Check to see whether you have two or more antivirus products running simultaneously, as this could be the source of the DNS problem. After you’ve disabled all other programs, reboot your system, and the problem should go away. Also check best free Antivirus Software Programs
To help guard yourself against unwanted virus attacks, make sure you only run one software program in the future. This not only improves security but may also help you prevent additional DNS server failures.
DNS Changes via Router
If you’ve tried all of the solutions listed here and are still receiving the “DNS server unavailable” error, it might be time to change your DNS servers. There are many public DNS servers to select from, with Google’s free DNS being one of the most popular. Also check Who’s Connected to Your WiFi Network
Depending on where you want to change it, the process is quite simple and can be completed in a few clicks. In each of our examples, we’ll use the Windows operating system.
Router-based DNS changes
- Launch your web browser and type the Default Gateway address into the URL bar to access your router.
- By opening a (cmd) Command prompt window and typing ipconfig and clicking Enter, you can find the Default Gateway.
- In the pulled-up information, copy the numbers next to Default Gateway.
- Should use the correct credentials to log in to the router.
- Locate your internet account information, usually available in a tab with a similar name.
- Go to the DNS server and select the option that most closely resembles the internet protocol you’re using (IPv4 or IPv6).
- In place of the current DNS server, type the IP of the DNS server you want to use.
The primary DNSv4 server for Google will be 126.96.36.199, and the alternate DNS server will be 188.8.131.52. In the case of IPv6, the addresses 2001:4860:4860::8888 and 2001:4860:4860::8844 should be used. Exit the router interface after saving the edited data.
DNS Changes via Windows OS
- Launch the Run function (Windows key + R) and type ncpa.cpl to access your network connection properties. Enter the code.
- Windows 10 can select the Network Connections menu by right-clicking the Windows icon in the lower-left corner of the desktop screen.
- Select the current network adaptor. WLAN stands for wireless connections, while LAN stands for direct connections, commonly made using an ethernet cable. Your options will be on the left side panel in Windows 10. From the main window, select one and then Change adapter options.
- Select Properties from the context menu when you right-click your selection.
- Select your IP version (v4 or v6) from the menu and click the Properties button on the Networking tab.
- For more information, click the radial. To activate editing capabilities, use the following DNS server addresses:
- Enter the DNS server addresses you need to utilize in here. If you were previously using a DNS server that wasn’t obtained automatically, make a note of the addresses in case you want to use them again in the future.
- Click OK to complete the changes.
Test New DNS Server
Open a browser and attempt to launch a well-known site like www.google.com after altering the DNS servers. The new DNS is working successfully if the site can be accessed right away. If not, enter one of Google’s IP addresses, 184.108.40.206, into your browser’s address bar and press Enter.
Keep your eyes peeled for the Google logo and search bar to emerge. If this also fails, the problem may be with the internet rather than the DNS server. If this is the case, contact your internet service provider for assistance.