Flush DNS Cache in Windows 11

DNS caching is an essential part of how the internet works, allowing Windows 11 to access websites and services faster. However, in certain situations, it may be necessary to flush the DNS cache to resolve connection issues or update DNS information.

Advertisement

In this guide, you will learn step by step how to flush the DNS cache in Windows 11, either through Command Prompt, PowerShell or even using the most popular browsers. With these simple instructions, you’ll be ready to optimize your browsing experience and solve possible obstacles related to DNS caching in Windows 11.

How to Flush DNS Cache in Windows 11 Command Prompt?

NS Cache in Windows 11 Command Prompt?

Step by step to flush DNS cache through Command Prompt in Windows 11:

  1. Open the ” Start ” menu.
  2. Search for “ Command Prompt ” and right-click on the top result.
  3. Select the “ Run as administrator ” option.
  4. Type the following command and press Enter to flush the DNS cache in Windows 11: ipconfig /flushdns.
  5. Type the following command and press “ Enter ” to view the local DNS cached records: ipconfig /displaydns (Optional).

After completing the mentioned steps, when the system or an application tries to access the network later, a new DNS lookup process will be performed to cache the information again.

How to flush the DNS cache in Windows 11 PowerShell?

To flush DNS records using PowerShell commands, follow these steps:

  • Open the ” Start ” menu.
  • Search for “ PowerShell ” and right-click on the top result.
  • Select the “ Run as administrator ” option.
  • Type the following command and press Enter to clear the DNS cache in Windows 11: Clear-DnsClientCache.

flush the DNS cache in Windows 11 PowerShell

  • 5. Type the following command and press Enter to view the local DNS cache records: Get-DnsClientCache (Optional).
DNS cache records

After following the mentioned steps, the PowerShell command will clear and reset the cached DNS records on the device.

How to flush the browser DNS cache in Windows 11?

In Windows 11, most popular browsers like Microsoft Edge, Google Chrome and Mozilla Firefox also have the option to clear the DNS cache in the operating system.

Microsoft Edge / Google Chrome:

Microsoft Edge / Google Chrome:

To clear the DNS cache for Edge or Chrome, follow these steps:

  1. Open Edge or Chrome browser.
  2. Type the following path into the address bar and press Enter: chrome://net-internals/#dns
  3. Under the “ DNS ” tab, click on the “ Clear host cache ” button.

Mozilla Firefox:

Mozilla Firefox:

To clear Firefox’s DNS cache, follow these steps:

  1. Open the Firefox browser .
  2. Type the following path into the address bar and press Enter: about:networks#dns
  3. On the “ DNS ” page, click on the “ Clear DNS Cache ” button.

After completing the mentioned steps, as well as using Command Prompt and PowerShell, the web browser will flush the DNS cache, allowing websites and other services to work properly again.

LEAVE A REPLY

Please enter your comment!
Please enter your name here