Flushing the Windows DNS cache clears locally saved name-resolution answers so the computer can request them again. This guide explains the command to use when troubleshooting a recent DNS change.
Clear the local cache
-
Search for Command Prompt in the Start menu.
-
Right-click it and choose Run as administrator.
-
Enter the command exactly as shown, with no space between
/andflushdns:ipconfig /flushdns -
Check the confirmation that the DNS resolver cache was flushed.
-
Retry the affected website or application.
If the old result remains
This clears the Windows resolver cache, not a DNS provider’s records or every cache used by browsers, routers and upstream resolvers. A hosts-file override also remains in place.
Check the authoritative DNS records and previous TTL, and restart the affected application if it keeps its own cached answer. Flushing your computer’s cache does not make a public DNS change reach every visitor immediately.