Reset DNS cache
Clear DNS resolver cache on popular systems and browsersWhen DNS records change, your device or browser may still use cached results. Clearing DNS cache helps fetch fresh DNS data.
Windows 10 / 11
- Open Command Prompt as Administrator.
- Run:
ipconfig /flushdns - Alternatively (PowerShell):
Clear-DnsClientCache
macOS (Big Sur, Monterey, Ventura, Sonoma)
- Open Terminal.
- Run:
sudo dscacheutil -flushcacheand thensudo killall -HUP mDNSResponder - Enter your password if prompted.
Linux
- systemd‑resolved:
sudo resolvectl flush-caches(orsudo systemd-resolve --flush-caches) - nscd:
sudo service nscd restart(orsudo systemctl restart nscd) - dnsmasq:
sudo systemctl restart dnsmasq - NetworkManager:
sudo systemctl reload NetworkManager(orsudo systemctl restart NetworkManager)
Browsers
- Google Chrome / Microsoft Edge: open
chrome://net-internals/#dnsoredge://net-internals/#dnsand click “Clear host cache”. - Mozilla Firefox: open
about:networking#dnsand click “Clear DNS Cache”. - Close and reopen the browser tabs after clearing.
Some ISPs and recursive resolvers also cache DNS. If you still see old results, try querying the domain’s authoritative nameserver or wait until external caches expire (respect TTL).