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:
- 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.
- In the run box, type cmd and then press the Enter key.
- Enter the following command in the prompt:
C:\Users\username> ipconfig /flushdns
- Type exit and then press the Enter key to close the window.