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

ipconfig /displaydns

ipconfig /displaydns

Shows the entries in the local DNS client cache, including negative (failed) answers.

Execution context

Standard user

Use when

A name resolves to an old address on one machine but not on others.

Privilege Standard userState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeStandard user
Execution contextStandard user
State impactRead-only
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
PrerequisiteStandard user
Output fields

Field glossary

Important fields projected from persisted Command guidance.

Record Name, Record Type, Time To Live, Data Length, Section, A (Host) Record / CNAME Record

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 which DNS answers this machine has cached and how long they stay.

Does not prove

Does not prove what the DNS server answers now.

Next check

Clear with ipconfig /flushdns and test with Resolve-DnsName <name>.

Depth when you need it

Command guidance

Execution context

Standard user

Use when

A name resolves to an old address on one machine but not on others.

Important fields

Record Name, Record Type, Time To Live, Data Length, Section, A (Host) Record / CNAME Record

Common problems

stale record cached after a DNS change; negative cache entry hides a fixed record

Operational impact

Read-only.

Technical context

The cache also contains hosts-file entries. Get-DnsClientCache shows the same data as objects.

Confirmation

Confirm action

Continue?