Standard user
ipconfig /displaydns
ipconfig /displaydns
Shows the entries in the local DNS client cache, including negative (failed) answers.
A name resolves to an old address on one machine but not on others.
Clear with ipconfig /flushdns and test with Resolve-DnsName <name>.
Privilege Standard userState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Record Name, Record Type, Time To Live, Data Length, Section, A (Host) Record / CNAME RecordImportant 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 which DNS answers this machine has cached and how long they stay.
Does not prove what the DNS server answers now.
Clear with ipconfig /flushdns and test with Resolve-DnsName <name>.
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.