Clearing DNS cache is one of the safest ways to test whether a name-resolution issue is caused by stale local data rather than an active outage.
Step-by-step solutions
- Flush the operating system DNS cache.
- Restart the browser or app that is showing the problem.
- Retry the failing domain.
- If the issue continues, switch resolvers or reset DNS settings.
Useful commands
Windows
ipconfig /flushdns
macOS
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder
Linux
sudo systemd-resolve --flush-caches
resolvectl statistics
If flushing cache fixes the problem only briefly, a failing resolver may still be upstream. Continue with how to fix DNS server problems or what DNS failure means.

