Beginner
Flush the DNS Cache in Windows
Fix stale DNS records by flushing the resolver cache with CMD or PowerShell.
Admin 10 October 2026 3 min read 1 views
Flushing the DNS cache
If a website is not resolving correctly after a DNS change, flushing your DNS cache often fixes it.
Command Prompt
ipconfig /flushdns
You should see:
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
PowerShell
Clear-DnsClientCache
Note: Flushing the cache forces Windows to request fresh DNS records the next time you visit a site.
#dns#flushdns#networking
Back to all guides
