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.

Isha_JP
Isha_JP
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

Samsung Browser for Windows: Galaxy AI Features, Cross-Device Sync & More [Download]

Samsung's web browser for Windows has officially exited beta, bringing a suite of productivity...

OnePlus 15T Wallpapers: Download Exclusive Stock Wallpapers in High Quality

OnePlus has officially unveiled the OnePlus 15T, its latest compact flagship smartphone, and it's...

How to Remove Device Driver Leftovers From Windows 11

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

Samsung Galaxy AirDrop Support: How to Enable Quick Share for iPhones

Samsung has just made cross-ecosystem file sharing significantly easier. The company has introduced AirDrop...

More like this

How to Remove Device Driver Leftovers From Windows 11

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

Boost Your Windows 11 Performance by Disabling This Hidden Feature

Windows 11 is designed with an array of features, visual elements, and background services...

Create Emergency Off Button For Closing All Running Apps Instantly on Windows 11

If you ever need to close all applications you're currently running on your computer...