How to Flush DNS to clear DNS Cache in Windows 11

bardimin pic

Bardimin

March 5, 2022
cmd-displaydns

How to Flush DNS to clear DNS Cache in Windows 11

Home » Blogs » Windows » How to Flush DNS to clear DNS Cache in Windows 11

By default, will store the IP address of the sites you visit on the local by creating a DNS cache. With this DNS , will load it faster for subsequent access because there is no need to make requests to the DNS .

Invalid DNS cache because of corruption or obsolescence can also cause you to cannot connect to the internet. Like when you get a 404 error in the continuously. It could be something like this because the domain has changed IP and the DNS on your failed to update.

For you to reconnect to the internet, you must clear all DNS caches on your computer. After you clear it, a new DNS cache will be created by Windows.

To clear the DNS cache on Windows, you can do it via Command Prompt (CMD) or Power Shell.

Clear DNS Cache with Flush DNS

  1. Open CMD and run as .
  2. In the CMD window, type the command
ipconfig /flushdns
cmd-flushdns

Close all open browsers to clear DNS Cache

Checking DNS Cache

  1. Open CMD and run as .
  2. In the CMD window type the command
ipconfig /displaydns
cmd-displaydns
link nyemin

Latest Articles

How to Fix PowerShell Not Working on Windows 11

How to Fix PowerShell Not Working on Windows 11

PowerShell is a very useful tool for running various commands and scripts in Windows. However, sometimes PowerShell can run into problems and won't open or run properly. This is certainly very annoying, especially if you often use PowerShell to manage your system....

How to Fix Windows Search Not Working on Windows 11

How to Fix Windows Search Not Working on Windows 11

Windows Search is a feature that lets you quickly and easily search for files, folders, apps, settings, and web content in Windows 11. However, sometimes this feature encounters issues and cannot function properly. This is certainly very disruptive to your...

How to Sync Files between Different Computers Easily and Quickly

How to Sync Files between Different Computers Easily and Quickly

Have you ever had trouble syncing files between different computers? Do you want to have the same file on all your computers without having to copy and paste it manually? Do you want to know how to synchronize files between different computers easily and quickly? If...

How to Display Caps Lock Indicator on Windows 11 Screen

How to Display Caps Lock Indicator on Windows 11 Screen

Do you often type in uppercase letters accidentally because you don't realize that the Caps Lock key is active? Do you have trouble seeing the Caps Lock indicator on your keyboard because it's too small or not there at all? Do you want to get visual or audible...