How-To
← All guidesWebsites & Domains

How to Clear the DNS Cache in Windows

Remove cached DNS answers from your Windows computer.

Quick Answer

Open Command Prompt and run ipconfig /flushdns.

Step by Step

  1. Open Start and search for Command Prompt.
  2. Open Command Prompt.
  3. Type ipconfig /flushdns.
  4. Press Enter.
  5. Windows should report that the DNS Resolver Cache was successfully flushed.

If That Doesn't Work

  • Flushing your computer's DNS cache does not clear caches at your router, ISP, or public DNS resolver.
  • If a DNS change still appears old, wait for the relevant DNS TTL/cache period or test against another resolver.

Related Guides