DNS server not responding: how to fix it

DNS turns names like example.com into addresses. When the DNS server your device uses stops answering, websites fail even though the connection itself works.
Before you start: run the test so you have numbers to compare before and after.

Step by step

  1. Restart the modem and router. Unplug both for 30 seconds. Plug in the modem first and wait until its internet light is solid (2 to 3 minutes), then the router.
  2. Try another browser and device. If only one browser fails, clear its cache or disable extensions. If every device fails, the router or provider DNS is the issue.
  3. Flush the DNS cache. Windows: run ipconfig /flushdns in Command Prompt. Mac: run sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder in Terminal.
  4. Switch to a public DNS resolver. Set DNS on the router (for every device) or on one device to a well-known public resolver such as Cloudflare (1.1.1.1 and 1.0.0.1), Google (8.8.8.8 and 8.8.4.4) or Quad9 (9.9.9.9).
  5. Turn off VPN and security software briefly. Some VPN and antivirus tools route DNS through their own servers. If disabling fixes it, update or reconfigure that software.
  6. Reset the network stack on Windows. Run netsh winsock reset and netsh int ip reset, then restart.
  7. Update the network driver. Outdated Wi-Fi or Ethernet drivers cause DNS timeouts. Get the latest from the laptop or adapter maker.
  8. Update router firmware. Routers that answer DNS for your network sometimes hang. A firmware update or reboot fixes it.

Frequently asked questions

What DNS should I use?

Your provider's DNS is fine when it works. Cloudflare 1.1.1.1, Google 8.8.8.8 and Quad9 9.9.9.9 are fast, free and reliable alternatives.

Does changing DNS make my internet faster?

It does not raise your Mbps, but a faster resolver can make websites start loading sooner.

Related