Standard user
Get-DnsClientCache
Get-DnsClientCache
Returns the DNS client cache entries as PowerShell objects that you can filter.
You want to filter cached DNS entries, for example Get-DnsClientCache -Entry <name>.
Query the server directly with Resolve-DnsName <name> -Server <dns-server>.
Privilege Standard userState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Entry, RecordName, RecordType, Status, Section, TimeToLive, DataImportant 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 are cached on this machine.
Does not prove what the DNS server returns now.
Query the server directly with Resolve-DnsName <name> -Server <dns-server>.
Command guidance
Execution context
Standard user
Use when
You want to filter cached DNS entries, for example Get-DnsClientCache -Entry <name>.
Important fields
Entry, RecordName, RecordType, Status, Section, TimeToLive, Data
Common problems
stale entry with a long TTL; negative entries (Status not Success)
Operational impact
Read-only.
Technical context
Clear-DnsClientCache does the same as ipconfig /flushdns.