How to flush DNS cache in Windows 11

DNS cache in Windows 11 is a temporary storage that saves websites’ IP addresses that you have recently visited. This allows your computer to connect to those websites more quickly the next time you visit them.

Sometimes when a particular website isn’t loading because an app that requires access to the internet is not working, using networking tools like “ping” or “nslookup” show the wrong destination IP address in the result, there is probably a problem with the local Domain Name System (DNS) cache.

When flushing the DNS cache records from the system can help since you will be resetting the cache and starting over with a new database.

In this guide, we will show you two ways to clear the cache using Command Prompt and PowerShell.

How to flush DNS cache in Windows 11 featured

Here is how to flush the DNS cache in Windows 11

How to flush DNS cache using Command Prompt

  1. Open Start > search for Command Prompt > select the Run as administrator option. How to flush DNS cache in Windows 11 1
  2. Type the following command to flush the DNS cache > press Enter on the keyboard. 
    ipconfig /flushdns

    How to flush DNS cache in Windows 11 2

  3. When done, the next time the system or an application tries to access the network, a new DNS lookup process will occur to cache the information again.

How to flush DNS cache using PowerShell

  1. Open Start > search for PowerShell > select the Run as administrator option. How to flush DNS cache in Windows 11 3
  2. Type the following command to flush the DNS cache > press Enter on the keyboard. 
    Clear-DnsClientCache

    How to flush DNS cache in Windows 11 4

  3. When done, the PowerShell command will clear and reset the DNS records cached on the device.

Read more:

About the Author

Blogging is FUN! In love with technology, games, and music. Every day is a new day, so enjoy your life to the fullest.

Leave a comment