SESK: Stuff Everyone Should Know · sesk.info/aplus-ipconfig-flushdns
Which command clears the Windows DNS client resolver cache?
ipconfig /flushdns flushes and resets the DNS resolver cache.
- ipconfig /release
- netstat -r
- ipconfig /flushdns ✔
Why: Windows caches DNS answers so repeat lookups are fast. If a cached entry is wrong or stale, ipconfig /flushdns discards it so the next lookup asks the DNS server again.
Huh, didn't know that: ipconfig /displaydns shows what is currently in the DNS client resolver cache.
A developer went broke because he used up all his cache.
Like this card?
References
Answer: ipconfig /flushdns. Windows caches DNS answers so repeat lookups are fast. If a cached entry is wrong or stale, ipconfig /flushdns discards it so the next lookup asks the DNS server again.
- ipconfig command reference, Microsoft Learn learn.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig
/flushdns Flushes and resets the contents of the DNS client resolver cache.
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.