Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

ปุ่มแปลไทยจะเปิดบทความผ่าน Google Translate เพื่อแปลอัตโนมัติ โดยคงโค้ดและคำสั่งไว้ตามต้นฉบับ

Windows Commands / IT Support Guides

Inspect a stale Windows DNS cache before flushing it

After a service address changes, one workstation may keep using an earlier answer. Preserve its resolver evidence before considering a cache refresh.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified

Try the diagnostic command

Use the stated shell and platform. Replace sample domains, addresses, services and paths with values from the system you are authorized to support.

ipconfig /displaydns
ipconfig /flushdns

How to read the result

The first command lists locally cached resolver records; the second clears that client cache. A successful flush does not change the upstream DNS record or its TTL.

What to do next

Record the old answer, then run the flush only when appropriate. Resolve the affected name again and reopen the application to see whether its own connection or cache also needs refreshing.

Before you make a change

Flushing removes useful evidence and cannot repair a wrong authoritative record. Browser or application DNS handling may differ from the Windows client cache.

Source & further reading

Microsoft Learn — ipconfig

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to results