Here’s what to do if the DNS server cannot be reached

Milan Stanojevic
by Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a front-end web developer. Read more
Affiliate Disclosure
  • The Domain Name System is a naming system for computers, services, or any resource connected to the Internet.
  • But if the DNS can't be reached, you won't be able to browse the Internet properly.
  • If you have any network trouble, explore our Network & Internet section.
  • For any other software or PC problems, you will find solutions in our Tech Troubleshooting Hub.
How to fix DNS server cannot be reached
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Sometimes, your network might not work properly because the DNS server cannot be reached. This can be a problem, and today we’re going to show you how to fix this issue.

  • DNS server isn’t responding – This message can occur due to your antivirus. To fix the problem, temporarily disable your antivirus.
  • DNS server unavailable – If this message occurs, try changing your DNS manually. Switch to OpenDNS or Google DNS.
  • Server IP address could not be found – Sometimes this problem is caused by a network glitch. You can reset your network using Command Prompt.
  • DNS server cannot be contacted – Caused by network problems. Try running a network troubleshooter on your PC.

What can I do if the DNS server cannot be reached?

  1. Check your antivirus
  2. Change your DNS
  3. Use a VPN
  4. Use Command Prompt
  5. Use the network troubleshooter
  6. Set your DNS to Obtain an IP automatically
  7. Try using a different device to access the Internet
  8. Try restarting your router
  9. Delete the files from the etc directory

1. Check your antivirus


If you’re having any network issues, the first thing that you need to check is your antivirus software.

If you’re on Windows 10, you’ll still be protected by Windows Defender even if you choose to remove your third-party antivirus, so there’s no need to worry about your safety too much.

If removing the antivirus solves the problem, this might be a perfect time to consider switching to a different antivirus.

If you want reliable protection that won’t interfere with your system, we suggest that you consider Bitdefender Antivirus Plus.

This is not a simple antivirus but a real security solution.

That’s because Bitdefender Antivirus Plus is not only ensuring live protection against malware, Trojans, worms, and more but it also has Social Network Protection, Safe Online Banking, and Password Manager systems included.

It even comes with a built-in VPN so that your online privacy can be protected at all times by routing your traffic through safe servers.

But most of all, the Bitdefender solution won’t interfere with your DNS server or settings like other antivirus solutions.

Bitdefender Antivirus Plus

Bitdefender Antivirus Plus

Bitdefender is not messing with your Internet settings and your DNS server and it's the best security solution.

Get it now

2. Change your DNS

  1. Click the network icon on your Taskbar and select your network connection from the menu.
    network taskbar dns server can't be reached
  2. In the right pane, click Change adapter options.
    change adapter options dns server can't be found
  3. Right-click your network connection and choose Properties from the menu.
    connection properties dns server can't be reached
  4. Select Internet Protocol Version 4 (TCP/IPv4) and click the Properties button.
    ipv4 properties dns server
  5. Select Use the following DNS server addresses and set the following values: Preferred DSN server: 8.8.8 and Alternate DNS server: 8.4.4dns change dns server cannot be reached
  6. Click the OK button to save changes.

Note: You can also use the Open DNS by using the following servers: Preferred DNS server 67.222.222 and Alternate DNS server 67.220.220

You can’t restart the DNS client? Learn what to do from this expert guide

3. Use a VPN

PIA is the best VPN for Windows 10According to users, if the DNS server cannot be reached, perhaps you can fix the problem by using a VPN. You will get a new IP address, and your privacy will be protected while surfing the web.

Even if you don’t have this problem, having a good VPN is a great way to protect your privacy online.

There are many services available out there, but if you’re looking for a good and reliable VPN, be sure to try out Private Internet Access.

First of all, this software will protect your privacy even from your ISP and you will be able to use public Wi-Fi networks without worrying about any threats.

Having a different IP will unlock a lot of new content from on-demand video platforms like Netflix, HBO GO, Amazon Prime Video, and others.

However, the best part is that Private Internet Access provides the highest speeds so prepare for perfect streaming and no buffering.

Private Internet Access

Private Internet Access

Enjoy a lag-free, no-buffering, and no-error Tumbler experience - team up with PIA to take over social media!

Visit website

4. Use Command Prompt

  1. Search for cmd and choose Run as administrator to start Command Prompt.
  2. Run these commands:
    • ipconfig /flushdns
    • ipconfig /registerdns
    • ipconfig /release
    • ipconfig /renew
    • NETSH winsock reset catalog
    • NETSH int ipv4 reset reset.log
    • NETSH int ipv6 reset reset.log
    • Exit

5. Use the network troubleshooter


  1. Open the Settings app and navigate to the Update & Security section.
  2. Select Troubleshoot from the left pane. In the right pane, select Internet Connections and now click Run the troubleshooter button.
  3. Follow the instructions to complete the troubleshooter.

Note: If the issue persists, try running the Network Adapter troubleshooter as well and check if that helps. Several users reported that a troubleshooter fixed the problem for them, so be sure to try it out.

6. Set your DNS to Obtain an IP automatically

  1. Repeat steps 1-4 from Solution 2.
  2. Select Obtain DNS server address automatically and click OK to save changes.
    obtain ip adress automatically dns can't be reached
  3. Now do the same for Internet Protocol Version 6 (TCP/IPv6).

7. Try using a different device to access the Internet

If the DNS server cannot be reached, the problem might be your PC configuration. To determine if the problem is related only to your PC, it’s advised to try other devices and see if they can access the Internet.

For the best results, it’s advised to use another Windows PC, but you can also use your phone or any other device.

If other devices can connect to the internet, then the problem is most likely related to your PC and its settings, so you can focus on it in order to solve the problem.

8. Try restarting your router

If this problem is still there, perhaps the issue is related to your router. To fix the problem, users are suggesting to restart your router/modem and check if that helps.

This is fairly simple to do and in order to do it, just press the Power button on your modem/router to turn it off.

Now wait for about 30 seconds and press the Power button again to start your modem or router. Wait while the device boots completely and check if the problem is still there.

9. Delete the files from the etc directory

  1. Navigate to the following directory:  C:WindowsSystem32driversetc
  2. Delete all files from this directory but before that, we advise you to back them up, just in case.
    etc directory dns server cannot be reached

Problems with DNS will prevent you from accessing the Internet, but if you’re having this problem, be sure to try some of our solutions.

For any suggestions or additions, feel free to drop us a line in the comments section below.

This article covers:Topics: