How to Flush DNS in Windows 10?

Command Prompt and Windows Powershell, which is a new addition to Windows, can be used to clear DNS cache.

Option 1 – Command Prompt

To reset the DNS resolver cache, perform the following steps:

  1. Click the Start button, then type cmd
  2. Right-click Command Prompt, then choose Run as Administrator.
  3. Type ipconfig /flushdns then press Enter. (be sure there is a space before the slash)

A command box will flash on the screen for a split second, and the DNS Resolver cache is cleared.

Besides, there are some other related commands that you might be interested in:

  • ipconfig /displaydns: It displays your current DNS cache under Windows IP configuration.
  • ipconfig /registerdns: To register your DNS cache recorded in the Hosts file.
  • ipconfig /release: To release the current IP address settings.
  • ipconfig /renew: To reset and request a new IP address.

Option 2 – Windows PowerShell

  1. Select the Start button, then type powershell
  2. Select Windows PowerShell
  3. Type the following command, then press Enter:
  4. Clear-DnsClientCache
Share

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *