DNS Not Resolving / Cannot Reach Websites

DNS

Browsers show 'DNS_PROBE_FINISHED_NXDOMAIN' or 'Server not found' but the internet connection is active — IP addresses work (ping 8.8.8.8) but domain names do not resolve.

Check your exact device first. Codes and procedures vary by model and software version. Back up important files before recovery. Stop if a device is overheating, smells burnt, or has a swollen battery.

CHOOSE HOW YOU WORK

Clear help. Useful detail.

Start with the checks below. Tick a step after you try it, and keep a note of what changed. You can stop as soon as the original task works.

What can cause it?

  • ISP DNS server outage
  • DNS cache containing stale entries
  • Malware hijacking DNS settings
  • Router DNS relay misconfiguration
  • HOSTS file modified by malware

What to try

Work through one step at a time
Your troubleshooting progress0 steps tried
  1. Test IP Connectivity

    Open Command Prompt and ping 8.8.8.8. If that works, the internet is up but DNS is broken.

  2. Flush DNS Cache

    Windows CMD: ipconfig /flushdns. Mac Terminal: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

  3. Set Manual DNS Servers

    Windows: Network adapter → Properties → IPv4 → Use the following DNS: 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google). Mac: System Settings → Network → DNS tab.

  4. Restart DNS Client Service (Windows)

    CMD (admin): net stop dnscache then net start dnscache

  5. Check HOSTS File for Hijacking

    Windows: C:\Windows\System32\drivers\etc\hosts. Mac/Linux: /etc/hosts. Remove any suspicious entries. Malware often adds entries here.

How did it go?

Test the original task again. A completed checklist doesn’t by itself mean the problem is fixed.

If the error comes back

Record the full error, your exact model, software version, and the steps you tried. Share these with the manufacturer or a qualified technician. A repeated code needs a diagnosis, especially if it involves storage, heat, or power.

Check your device manufacturer’s official support site or your distribution’s documentation for model-specific instructions.