Clear DNS cache after changing DNS (Windows, macOS, Linux)
- 20.02.2026 00:58
-
- cache
- dns
- domain
After you change nameservers or DNS records (A, MX, etc.), the internet still needs time to update (propagation). On top of that, your computer may keep an old DNS result in cache.
Clearing your local DNS cache can help you see changes faster on your own device. It does not speed up global propagation.
Windows
- Open Command Prompt as Administrator.
- Run:
ipconfig /flushdns
macOS
Open Terminal and run:
sudo dscacheutil -flushcache
sudo killall -HUP mDNSResponder
You may be asked for your macOS password.
Linux
Depending on your system, one of these may work:
sudo resolvectl flush-caches
# or
sudo systemd-resolve --flush-caches
If your system uses nscd or dnsmasq, restarting those services also clears DNS cache.
Extra tips
- Restart your browser or try an incognito/private window.
- If multiple devices in your network show old DNS results, reboot your router.
Common GARMTECH scenarios
- You changed nameservers to
ns1.garmtech.com,ns2.garmtech.com,ns3.garmtech.com. - You updated the A record to point the domain to a new hosting server IP.
Related Articles
Comments
Add Comment