HomeComputer3 Most Popular Methods to Clear DNS Cache in Windows 11

3 Most Popular Methods to Clear DNS Cache in Windows 11

Published on

Internet connection issues are a common occurrence on Windows computers, and there can be various reasons behind them. Corrupted DNS cache, faulty network devices, and corrupted Winsock settings are some of the common culprits for no or inconsistent internet connectivity on a Windows 11 PC. If you cannot access some websites or your internet connection is inconsistent, then clearing the DNS cache will fix the issue.

Three popular methods to clear DNS cache in Windows 11

Corrupted DNS cache is one of the main reasons for internet connection issues on a Windows 11 computer. In such cases you will not be able access certain websites. The solution to fix DNS (domain name system) related issue on a Windows 11 computer is to clear the DNS resolver cache.

There are the three most popular methods to clear the corrupted DNS cache on Windows 11, and you can try any one of them to fix the internet connection issue.

3 Methods to Clear DNS Cache in Windows 11

Method 1: Using Flusdns Command

1. Open Command Prompt as administrator on your computer.

2. Type “ipconfig /flushdns” (without quote) in the Command Prompt and press Enter.

Flushdns command to clear DNS cache in Windows 11

3. It will clear the DNS cache on your Windows computer.

Method 2: Using DnsClientCache PowerShell command

1. Open PowerShell as administrator on your computer.

2. Enter the command “Clear-DnsClientCache” and press Enter.

DnsClientCache PowerShell command to clear DNS cache in Windows 11

3. It will flush the DNS resolver cache on your Windows PC.

[The command will execute successfully without displaying any message]

Method 3: Using the Run Command Box

1. Open the Run command box using the Win + R shortcut key.

2. Next, type “ipconfig /flushdns” command.

3. Now, press Ctrl + Shift + Enter keys together.

Using Run Command box to clear DNS cache in Windows 11

4. The Command Prompt will launch, execute the flush command, and close automatically.

How to View DNS Cache in Windows 11?

If you want to see the DNS cache stored on your Windows 11 PC, you can use the “displaydns” command. Open the Command Prompt, type in “ipconfig /displaydns” and press Enter. This will display all the DNS content.

You can also export this information to a text file using the command “ipconfig /displaydns > dnscachecontents.txt“. This will save the DNS cache contents to a text document in the current folder.

Ishanvi
Ishanvi
Isha_JP is a backend software engineer who designs scalable, robust systems and mentors others to grow, combining deep technical expertise with a focus on practical, impactful solutions, continuous learning, and helping teams work smarter.

Latest articles

How to Analyze Excel & Google Sheets Data in Minutes Using Claude AI

Manually analysing Excel and Google Sheets datasets can eat up hours of your time....

Create Barcode in Google Sheets: 3 Simple Methods

Google Sheets doesn't have a built-in barcode feature, but you can generate barcodes using...

Excel VLOOKUP, HLOOKUP, XLOOKUP Differences, Syntax and Use Cases

In Excel, LOOKUP functions are formulas that search for a value in a table...

How to Create Professional Name Stickers in Microsoft Word

Microsoft Word is an excellent tool for designing and printing custom name stickers at...

More like this

How to Add Control Panel to the Right-Click Menu in Windows 11

Control Panel is a centralized interface in Microsoft Windows that allows you to manage...

Windows 11 Command Palette Dock: Second Taskbar That Changes Everything

Did you know that Windows 11 has a second taskbar that you can place...

How to Remove Device Driver Leftovers From Windows 11

Corrupt, outdated, or incompatible device drivers can severely impact your Windows 11 system, causing...