Back to commands

DNS

ipconfig /flushdns

Clear the Windows DNS resolver cache.

Explanation

Ipconfig /flushdns clears cached DNS answers on Windows. Use it after DNS changes or when a device keeps resolving an old or incorrect address.

Syntax

ipconfig /flushdns

Flush DNS cache

ipconfig /flushdns

Run this in Command Prompt or PowerShell.

Related Guides

Related Tools