Useful Windows 10 network commands – How to Flush DNS cache


In this video, we take a look at a Windows 10 command that will Flush your DNS cache. Typically you would flush your DNS cache if you were having difficulties accessing websites or if you wanted to protect your privacy from DNS poisoning or spoofing.

Note: The Windows 10 command, hostname can also be used from within Windows PowerShell. 

Quick reference notes:

  • From the Windows desktop, select the Search bar.
  • Within Search type CMD and press Enter on your keyboard
  • When the Command Prompt window open type the following:
ipconfig /flush dns
  • When you press Enter on the keyboard we are promoted with a message informing us that we have “Successfully flushed the DNS Resolver Cache”.
  • To gracefully close the Command Prompt type:
exit
  • When you press Enter on your keyboard the Command Prompt window close.

Reference Material:

Microsoft article – Windows commands 
Wikipedia article – cmd.exe

Thank you for your support

Advertisement

%d bloggers like this: