You may notice some articles displaying content inconsistently. Pardon our dust as we update our site.
cross icon
How Do I Perform a DNS Flush from a DOS Command Prompt?

ANSWER

To perform a DNS flush using the Command Prompt:

Windows 10/11

  1. Open the Command Prompt.
  2. Click on the Search icon (magnifying glass) located on the taskbar.
  3. Type cmd into the search bar.
  4. In the search results, right-click on Command Prompt and select Run as administrator.
This ensures you have the necessary permissions to flush the DNS cache.
  1. In the Command Prompt window, type the following command: ipconfig /flushdns
  2. Press the Enter key.
If the command was executed correctly, you will see the following message: Successfully flushed the DNS Resolver Cache.

Was this article helpful?