How to reset or clear the DNS cache in Windows 11

The Domain Name System, or DNS, is a database of all public websites and their IP addresses. Windows stores a local copy of the index in a DNS cache, which is a temporary database. Information about your recent DNS lookups is stored in a DNS cache that your computer can access when you open a website. This allows you to access the website much faster. When this DNS cache becomes corrupted, your network connection may experience problems and slow down. Because the data stored in the DNS cache can become inaccurate over time, websites may take longer to load. You can clear the DNS cache in Windows 11 to fix such issues.

DNS Flushing clears the DNS cache of all information. This makes the PC look up the website’s DNS data from the beginning. This will solve your internet problem and also increase your network speed. Windows 11 has several options for clearing the DNS cache.

Content:

Clear DNS Cache on Windows 11 PC

In this article, we will explain how to reset or clear the DNS cache of your Windows 11 PC.

Flushing the DNS Cache Using the Command Line

The very first way to clear the DNS cache is to use the command line. To flush the DNS cache using the command line, follow these steps:

  • Press the Windows key on your keyboard to open the Start Menu .
  • From the Start menu , search for CMD . Right-click Command Prompt in the Start menu and select Run as administrator.
  • At the command prompt, type the command ipconfig /flushdns and press Enter to execute it.
  • This will clear the DNS cache on Windows 11 using the command line.

Flushing the DNS Cache Using Windows PowerShell

Another way to clear the DNS cache in Windows 11 is to use Windows PowerShell. Following are the steps to clear the DNS cache in Windows 11 using Command Prompt.

  • Open the Start menu by pressing the Windows key on your keyboard.
  • From the Start menu , search for Windows PowerShell . Right-click Windows PowerShell , and then select Run as administrator from the context menu that opens.
  • In Windows PowerShell, type the Clear-DnsClientCache command and press Enter to execute it.

This will clear the DNS cache on your PC and you will be able to run the internet without any problems.

Clear the DNS Cache Using the Run Dialog Box

You can also clear the DNS cache on your PC using the Run dialog box. You can follow the steps given below to clear the DNS cache using the Run dialog box.

  • Press the key combination Windows + R to open the Run dialog box.
  • In the Run dialog, type the command ipconfig /flushdns and then click OK or press Enter to run the command.
  • This will execute the command and clear the DNS cache on your PC.

Editor’s recommendation:

  • Fix DNS Server Not Responding Error
  • Change DNS Server in Windows 10, macOS, Android
  • Internet usage tracking in Windows 11
  • How to Create a Full System Backup in Windows 11

Conclusion

Below are all the methods that you can use to clear DNS cache on Windows PC. In this article, we have covered all the methods to clear DNS cache on Windows PC. Clearing the DNS cache in Windows 11 is as easy as following the instructions in this article.

CDN CTB