How to Flush DNS on Windows 10

Photo of author

By Victor Ashiedu

Published

This Itechguide teaches you how to flush DNS on Windows 10. The guide covers steps for 2 methods to flush DNS on Windows 10.

Option 1: Flush DNS with Command Prompt

  • Type Command Prompt in the search box. Then, from the search results, click Command Prompt.
How to Flush DNS on Windows 10 with Command Prompt
  • On the Command Prompt, type the command below and click enter.
IPCONFIG /FLUSHDNS
  • Once you press the enter key on your keyboard, you will receive a message “Successfully flushed the DNS Resolver Cache”. This means that your DNS cache has been flushed successfully.

Option 2: Flush DNS with PowerShell

  • Type powershell in the search box. Then, from the search results, click Windows PowerShell.
How to Flush DNS on Windows 10 with PowerShell
  • On the Command Prompt command, type the command below and press the enter key.
Clear-DnsClientCache -Verbose
The “Verbose” parameter is optional but when you include it, PowerShell displays some useful information.
  • Here is the result of the command in PowerShell
The Clear-DnsClientCache PowerShell cmdlet deletes all the contents of the DNS client cache. Running this command is equivalent to running ipconfig /flushdns.

I hope you found this Itechguide helpful. If you found it helpful, click on “Yes” beside the “Was this page helpful” question below.

You may also express your thoughts and opinions by using the “Leave a Comment” form at the bottom of this page.

Finally, for more Windows 10 Itechguides, visit our Windows 10 How-To page.

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment

Send this to a friend