Flushing your DNS cache in Windows

Overview

You can flush your DNS cache on the Windows operating system, including Windows 10 and 11, by running the ipconfig /flushdns command from the command prompt.

How do I flush my DNS cache?

To flush your DNS cache in Windows 10 or 11:

  1. On your keyboard, press the Windows logo key on the lower left while holding the R key at the same time.

    The run box appears.

  2. In the run box, type cmd and then press the Enter key.

  3. Enter the following command in the prompt:

    C:\Users\username> ipconfig /flushdns
  4. Type exit and then press the Enter key to close the window.

See also

Still not finding what you're looking for?