Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

Fix the "DNS Server Not Responding" Error on Windows and Linux

Your internet seems to work, but web pages do not open. Try these fixes in order.

How-To Guides2 min read12 screenshots

What the error means

DNS turns a name such as example.com into an IP address. When your computer cannot reach its DNS server, pages do not load. The browser shows "DNS server isn't responding" or the Windows network troubleshooter shows the same message.

The DNS server isn't responding message
The DNS error in the browser

Fix it on Windows

1. Try another browser. If a page opens in another browser, the problem is in the first browser.

2. Turn off unused network connections. Open Control Panel, then Network and Sharing Center, then Change adapter settings. Disable adapters that you do not use, such as virtual adapters.

Network adapters

3. Restart your router. Turn it off for 30 seconds, then turn it on again.

4. Update the network driver. Open Device Manager, right-click your network adapter and choose Update driver.

5. Turn off the firewall and antivirus for a moment. If the error goes, change the program settings and turn it on again.

Firewall settings

6. Flush DNS and renew the IP address. Open Command Prompt as administrator and run:

ipconfig /flushdns
Flushing the DNS cache
ipconfig /registerdns
ipconfig /release
ipconfig /renew

7. Disable IPv6. In the adapter properties, untick Internet Protocol Version 6 (TCP/IPv6) and click OK.

Turning off IPv6

8. Change the DNS server. In the adapter properties, open Internet Protocol Version 4 (TCP/IPv4) and choose Use the following DNS server addresses. Enter a public DNS, for example:

  • Preferred: 8.8.8.8
  • Alternate: 8.8.4.4

(Cloudflare 1.1.1.1 and 1.0.0.1 also work.)

Opening the IPv4 properties
Entering the DNS servers

Fix it on Linux

1. Use another DNS server. Open the network settings of your desktop and enter a public DNS such as 8.8.8.8. On a server using systemd-resolved, edit /etc/systemd/resolved.conf, set DNS=8.8.8.8 8.8.4.4 and restart the service.

Changing the DNS server

2. Flush the DNS cache

sudo resolvectl flush-caches
Flushing the cache on Linux

3. Check the network settings

ip addr
nmcli device show

Make sure the interface has an IP address and a DNS server.

4. Check the firewall. To test, turn it off for a moment:

sudo ufw disable
Turning the firewall off

Turn it on again when you are done:

sudo ufw enable
Turning the firewall on

Quick recap

  • Restart the router and flush the DNS cache.
  • Switch to a public DNS such as 8.8.8.8 or 1.1.1.1.
  • Check the firewall, drivers and adapters.