Clearing your DNS cache forces your device to discard outdated DNS information and fetch fresh records. This is often helpful when changing DNS settings, resolving connectivity issues, or troubleshooting Smart DNS services. Below are the steps for major platforms.
Windows (10/11)
-
Open Start and type cmd.
-
Right-click Command Prompt and choose Run as administrator.
-
Enter the following command:
ipconfig /flushdns -
You should see a confirmation that the DNS cache has been successfully flushed.
macOS (Monterey and later)
-
Open Terminal (found in Applications → Utilities).
-
Run the command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder -
Enter your password when prompted.
-
There is no success message, but the command completes silently.
iPhone / iPad (iOS / iPadOS)
There is no dedicated “clear DNS cache” button, but either of the following actions works:
-
Toggle Airplane Mode on and off.
-
Or, go to Settings → Wi-Fi, tap your active network’s ⓘ, and tap Renew Lease (older iOS versions).
Android (varies by manufacturer)
Android doesn’t provide a universal DNS cache button, but you can:
-
Toggle Airplane Mode on and off.
-
Or, restart the device.
Some devices include a Private DNS menu; toggling it off and on also refreshes DNS.
Google Chrome (Desktop)
If DNS caching issues persist in the browser:
-
Visit:
chrome://net-internals/#dns -
Click Clear host cache.
Routers
Most routers clear DNS automatically upon reboot. To force a refresh:
-
Log in to your router’s admin interface.
-
Restart the router (or power it off for 10 seconds and turn it back on).
Smart TVs, gaming consoles, streaming devices
To clear DNS cache simply restart your device (turn off and on).