To improve network performance or solve some problem, you may have to flush DNS cache. Do you know how to flush DNS cache in Windows 11? This post of MiniTool will walk you through detailed steps.

What Does Flush DNS Cache Do

DNS, short for Domain Name System, is an index of all available public websites and their IP addresses. It can be used by the network equipment to communicate with websites without having to remember their addresses. The DNS cache is a sort of temporary database that can speed up information about your recent visits to websites and other domains.

However, the DNS cache may get corrupted or piled up over time, which can slow down your network connection and cause some network issues. So, it is necessary to flush DNS cache timely. Flushing DNS cache will remove all stored information and force your computer to search DNS information of a website from scratch. How to flush DNS cache on Windows 11? Let’s keep reading.

Tips:
Discover MiniTool System Booster: Unlock Disk Space and Deep-Clean Your PC.

MiniTool System Booster TrialClick to Download100%Clean & Safe

How to View the Current DNS Cache

Before you clear DNS cache in Windows 11, you can view the current DNS cache. Here’s a quick guide for you.

Step 1. Press Win + S keys to open the Search box, and then type cmd in it and right-click the Command Prompt app, and select Run as administrator. Click on Yes when you are prompted to confirm the operation.

run Command Prompt as administrator

Step 2. In the elevated command prompt, type the ipconfig /displaydns command and hit Enter. Then Windows will show you the current DNS cache data.

How to Flush DNS Cache in Windows 11

There are 3 simple methods to flush DNS cache in Windows 11. Let’s start exploring them one by one.

Method 1. Flush DNS Cache Windows 11 via Command Prompt

The first and most common way to flush DNS cache on Windows 11 is to use the Command Prompt app. To do so, follow the steps below:

Step 1. Open the elevated Command Prompt again like Step 1 in the above part. Also, you can press Win + R keys to open the Run dialog box, and then type cmd in it and hit Ctrl + Shift + Enter keys together.

type cmd in the Run box Windows 11

Step 2. In the pop-up window, type the ipconfig /flushdns command and hit Enter. Once done, you will receive a message “Successfully flushed the DNS Resolver Cache.”

flush DNS cache Windows 11 using CMD

Method 2. Flush DNS Cache Windows 11 via Windows PowerShell

Windows PowerShell is an easy tool like Command Prompt to flush DNS cache Windows 11. Here’s how to do that:

Step 1. Type PowerShell in the Search box, and then right-click the Windows PowerShell app and select Run as administrator.

Step 2. Type the Clear-DnsClientCache command in the pop-up window and hit Enter. Then Windows will start clearing the DNS cache instantly.

flush DNS cache Windows 11 using Windows PowerShell

Method 3. Flush DNS Cache Windows 11 via the Run Command

Apart from the 2 above methods, you can flush DNS cache on Windows 11 directly from the Run box. It is very easy to operate. For that:

Step 1. Open the Run window by pressing Win + R keys.

Step 2. Type the ipconfig /flushdns command in it and hit Enter. After a split second, the DNS cache will be flushed.

flush DNS cache Windows 11 using the Run command

How to Reset Windows 11? [Step-by-Step Guide]
How to Reset Windows 11? [Step-by-Step Guide]

How to reset Windows 11 to its factory settings? If you are also trying to reset Windows 11, you come to the right place. This post provides you with 3 methods.

Read More
  • linkedin
  • reddit