Administrator (elevated prompt)
ipconfig /flushdns
ipconfig /flushdns
Clears the local DNS client cache so the next lookup goes to the DNS server.
After a DNS record change, when the client still uses the old answer.
Test with Resolve-DnsName <name> -Server <dns-server>.
Privilege Administrator (elevated prompt)State impact Low impactProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Successfully flushed the DNS Resolver CacheImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Shows that the local resolver cache was emptied.
Does not prove the DNS server now returns the right answer.
Test with Resolve-DnsName <name> -Server <dns-server>.
Command guidance
Execution context
Administrator (elevated prompt)
Use when
After a DNS record change, when the client still uses the old answer.
Important fields
Successfully flushed the DNS Resolver Cache
Common problems
clearing the cache does not fix a wrong record on the DNS server; browser caches are separate
Operational impact
Changes local state in a small, reversible way; see the notes.
Technical context
Only the Windows DNS client cache is cleared. Browsers and applications can keep their own cache.