Real solutions to stop "DNS server not responding" errors on your Mac or Windows PC

Are you getting "DNS not responding" or "DNS server might be unavailable" errors? These errors occur when your device can't turn hostnames and domains into IP addresses . Although DNS server errors are frustrating and will keep you from browsing the web, we're here to help! Read on to learn how to fix DNS Not Responding problems on your computer for good.

DNS Server Not Responding: What It Means & How to Fix It

DNS server errors occur when your device can't turn domain names into IP addresses. There could be a problem with your DNS cache, internet connection, VPN, or the DNS servers themselves. You can stop the error by restarting your network, clearing your browser and computer's DNS caches, or changing your DNS servers.

Section 1 of 2:

Troubleshooting

PDF download Download Article
  1. If you haven't already, you can use the built-in network troubleshooters to check for connectivity issues. If the issue is related to DNS specifically, you'll see an error like "The DNS server is not responding," "Your computer appears to be correctly configured, but the device or resource (DNS server) is not responding," or "your DNS server might be unavailable."
    • Windows 10:
      • Go to Start > Settings > Network & Internet > Status .
      • Click Network troubleshooter under "Change your network settings."
      • Follow the steps in the troubleshooter. [1]
    • Windows 11:
      • Right-click the Wi-Fi, globe, or ethernet icon at the bottom-right corner (in the system tray) and select Diagnose network problems .
      • If a problem is detected, you'll see an error.
    • Mac:
      • Press and hold Option as you click the Wi-Fi status icon in the menu bar. [2]
      • Click Open Wireless Diagnostics and follow the on-screen instructions.
      • If you see "DNS resolution failure," the issue is DNS related. If you see a broader error like "LAN Connectivity Failure," the issue is likely your connection to the internet.
  2. If Chrome, Safari, Edge, or your preferred browser is giving you a DNS error, there could be a problem with the DNS cache. To clear it:
    • Chrome and Edge:
      • Type or paste chrome://net-internals/#dns into the address bar at the top of your browser and press Enter or Return .
      • Click Clear host cache and then restart your browser.
    • Safari:
      • If you don't see the Develop menu when Safari is open, enable it in Safari > Settings > Advanced > Show features for web developers . [3]
      • Click the Develop menu and select Empty Caches .
      • Restart Safari and try browsing again.
    Advertisement
  3. If you can connect another device, such as a phone, tablet, or computer, to the same Wi-Fi network that's giving you the DNS server error, try doing so. You'll know your network is working fine if the other device doesn't give you the same DNS error.

    Tip: If you're having trouble with a specific website, try accessing it using mobile data. If you still can't access the site, the issue is on the site's end.

  4. If you don't have another device to test with, or you're only getting a DNS error on one device, flushing the DNS cache on that device will often fix the problem.
    • Windows:
      • Close your web browser and all open programs.
      • Press the Windows key , type cmd , and press Enter to open Command Prompt .
      • Type ipconfig /flushdns and press Enter .
    • Mac:
      • In your Launchpad, type terminal , then click Terminal in the search results.
      • Type sudo killall -HUP mDNSResponder and press Return .
      • Type your password when prompted to complete the flush.
  5. If all devices on the network are getting DNS errors, restarting your router and/or modem will often fix the problem. To completely clear the cache on your network, you'll want to restart the modem, router, and your device in a particular way:
    • If your router and modem are two separate devices, unplug the power cords from each device. If you have one combined unit, unplug it. Wait about a minute.
    • Plug the modem back in and wait 3-5 minutes. If you have a separate router, don't plug it back in yet.
    • (If your modem/router is not combined into one unit): Once the modem is back up (after 3-5 minutes), plug your router back in and wait another 3-5 minutes.
    • When the modem and router (or combo gateway) are back online, reconnect to Wi-Fi if your computer doesn't connect automatically, then try using the internet again.
  6. In some cases, some software installed on your computer—often security and antivirus software—can cause the DNS servers not to respond. If you don't get the "DNS server isn't responding" error in safe mode, uninstall any recently installed software that may be interfering with your connection.
  7. This test will determine whether the problem relates to your internet connection or the DNS servers. On Windows, reopen Command Prompt. On a Mac, reopen Terminal. Then, follow these steps:
    • Type ping 8.8.4.4 and press Enter or Return .
      • Mac only: After about 15-20 seconds, press Ctrl + C to stop the ping.
    • If you see "Reply from 8.8.4.4" or "64 bytes from 8.8.4.4" followed by some statistics, your internet connection is working.
    • Now type ping dns.google and press Enter or Return .
    • If you get an error like "Ping request could not find host," "Name or service not known," or "cannot resolve dns.google: Unknown host," but were able to ping 8.8.4.4, the DNS servers your computer is using are not working, but your internet is working. In this case, see this method to learn how to change your DNS servers to ones that won't give you errors.
  8. Advertisement
Section 2 of 2:

Changing Your DNS Servers

PDF download Download Article

If you still get DNS server errors after troubleshooting, and you were able to ping Google's IP address , changing your computer's DNS servers will usually fix the problem.

    • Press Windows key , type control panel , and click Control Panel .
    • Go to Network and Internet > Network and Sharing Center > Change adapter settings .
    • Right-click your connection and select Properties .
    • Select Internet Protocol Version 4 (TCP/IPv4) and click Properties .
      • If you're using IPv6, select Internet Protocol Version 6 (TPC/IPv6) instead.
    • If "Obtain an IPv4/6 address automatically" is selected, your ISP's DNS servers are having trouble, or there's a setting in your router or firewall preventing you from accessing them. Continue with this method.
      • If "Use the following DNS server addresses" is selected and IP addresses are listed, there's a problem with those server addresses. Before changing your DNS servers to the public Google servers, select "Obtain an IPv4/6 address automatically" first to see if that fixes the problem. If it doesn't, continue with this method.
    • Select "Use the following DNS server addresses" and enter 8.8.8.8 and 8.8.4.4 .
      • If using IPv6, enter 2001:4860:4860::8888 and 2001:4860:4860::8844 . [4]
    • Click OK and OK again to save your changes.
    • Restart your computer, and clear your browser cache once it comes back up. This should fix your DNS errors.
    • If the DNS not resolving errors persist, contact your ISP.
    • Open the Apple menu and go to System Settings > Network > Wi-Fi (or your network type).
    • Go to Details > DNS . [5]
    • Click + to add the following DNS servers: 8.8.8.8 and 8.8.4.4 .
      • If using IPv6, enter 2001:4860:4860::8888 and 2001:4860:4860::8844 .
    • Remove the other DNS servers listed and click OK .
    • Restart your computer, and clear your browser cache once it comes back up. This should fix your DNS errors.
    • If the DNS not resolving errors persist, contact your ISP.
  1. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Where do I enter the D.N.S. server?
    Community Answer
    In Network Connections in your WiFi or in Ethernet properties under internet protocol version 4 (TCP/IPv4).
  • Question
    What do I do if I have done everything on the list, but when I open my browser, it still says DNS cannot be found?
    Community Answer
    Wait. Your internet provider is most likely having some trouble and their DNS server will not be available until they fix it themselves. If you want to verify this, or find out when the problem will be solved, call them.
  • Question
    My WiFi is not working on my laptop but still works on my phone. How do I resolve this?
    Community Answer
    These are the steps I have taken to resolve this issue. 1. Connected my laptop to the router with RJ45 cable, and tested a website -- works fine. 2. Removed the cable and tried wireless -- Error. 3. Deleted the wireless profile from my laptop (Network and Sharing Center --> Manage wireless Network --> select the network --> Remove). 4. Wireless network connection and select the wireless --> Enter the wireless password.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      • Resetting your router periodically is a good way to prevent DNS issues from happening.
      • After resetting your DNS cache, your computer will load websites a bit slower the first time you visit them. This is because your computer establishes and verifies a new DNS address for the site.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Article Summary X

      To fix a DNS server not responding problem, try reaching the site with another device like a phone, since if this works you’ll know that the issue is with your other device. Alternatively, try to visit the site using a different web browser, such as Firefox or Chrome. If this works, try uninstalling and reinstalling your original browser to solve the problem. You could also try power cycling your modem and router by disconnecting them and letting them sit for at least 30 seconds. Then, reconnect them to the power supply, wait for them to reload, and try the website again. As another option, try connecting your device to the router with an Ethernet cable, since if you can access the site via the Ethernet it shows you have a problem with your wireless router. If this is the case, reset your router to resolve the issue. For tips on how to flush the DNS cache, read on!

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 5,654,247 times.

      Reader Success Stories

      • Enny

        Apr 30, 2017

        "Step 4: Change your DNS server. This article helped me a lot, I was more than 4 days without Internet. I followed ..." more
        Rated this article:
      Share your story

      Is this article up to date?

      Advertisement