IT Toolbox
Menu
HomeHow to empty and test DNS cache on Windows
Guide

How to empty and test DNS cache on Windows

When the DNS has just been modified or a post keeps an old answer, emptying the local cache and comparing resolutions allows to dissipate, separate, and

TopicIT resources → About 1 min read

When the DNS has just been modified or a post keeps an old answer, emptying the local cache and comparing resolutions allows quickly to isolate the problem.

Steps.

  1. Show cache if necessary — Identify the relevant entries before deleting them if you need to understand what the post used.
  2. Clear cache — Run ipconfig /flushdns in a command prompt.
  3. Solve Name — Use nslookup or Resolve-DnsName on the relevant FQDN.
  4. Compare DNS servers — Check in ipconfig /all which solvers are actually used.
  5. Test Resource — Check the application after validation of the address obtained.

Commands

ipconfig /displaydns
ipconfig /flushdns
nslookup server.domaine.local
Resolve-DnsName server.domaine.local

Key takeaways

  • A DNS flush does not correct an erroneous DNS area.
  • The browser and some applications sometimes have their own cache.
  • Take into account the server-side TTL and intermediate solvers.
Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI

My favorites