Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

ipconfig /flushdns

ipconfig /flushdns

Clears the local DNS client cache so the next lookup goes to the DNS server.

Execution context

Administrator (elevated prompt)

Use when

After a DNS record change, when the client still uses the old answer.

Privilege Administrator (elevated prompt)State impact Low impactProduction Unknown

Operational impact: Changes local state in a small, reversible way; see the notes.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeAdministrator (elevated prompt)
Execution contextAdministrator (elevated prompt)
State impactLow impact
Safe during productionUnknown
CategoryDNS
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family
PlatformWindows / Windows Server / PowerShell
PrerequisiteAdministrator (elevated prompt)
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Successfully flushed the DNS Resolver Cache

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows that the local resolver cache was emptied.

Does not prove

Does not prove the DNS server now returns the right answer.

Next check

Test with Resolve-DnsName <name> -Server <dns-server>.

Depth when you need it

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.

Confirmation

Confirm action

Continue?