How to Clear the DNS Cache on Windows 11 using CMD

June 21, 2023 / How-to Guide

This guide explains how to clear the DNS Cache on Windows 11 using CMD. It is worth mentioning that you may need to clear the DNS cache when you are experiencing DNS-related issues, such as incorrect or outdated DNS entries. Flushing the DNS cache can help resolve these issues by forcing your computer to query DNS servers for fresh DNS information.

To flush the DNS cache on Windows 11 using Command Prompt (CMD), you can follow these steps:

  1. Open the Command Prompt by pressing the Windows key.
  2. Type “Command Prompt” and click on the “Command Prompt” app that appears in the search results.
    command prompt
  3. Right-click on the “Command Prompt” app and select “Run as administrator.” This step is very important, as flushing the DNS cache requires administrative privileges.
    run as administrator
  4. In the Command Prompt window, type the following command and press Enter:
    ipconfig /flushdns
  5. The command will quickly execute and clear the DNS cache. Wait for a few moments until you see the message “Successfully flushed the DNS Resolver Cache.”
  6. Once you see the “Successfully flushed the DNS Resolver Cache” message, the DNS cache on your Windows 11 system has been successfully cleared.

Hope you liked our article and that it was of great use to you. For more such informative KBs, visit eukhosts KB section.


Spread the love