How to Flush DNS
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:
Click the
Start
button, then typecmd
Right-click
Command Prompt
, then chooseRun as Administrator
.Type
ipconfig /flushdns
then pressEnter
. (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

Option 2 – Windows PowerShell
Select the
Start
button, then typepowershell
Select
Windows PowerShell
Type the following command, then press Enter:
Clear-DnsClientCache

Last updated
Was this helpful?