User Tools

Site Tools


tips:win:dnscache

DNS Cache Control

To view the current DNS resolver cache content and the entries preloaded from the Hosts file, go to the command prompt and type:

ipconfig /displaydns

Each entry shows the remaining Time to Live (TTL) in seconds. To clear the cache, go to the command prompt and type:

ipconfig /flushdns

Flushing the DNS cache clears all entries and reloads the entries from the Hosts file.

To refreshes all DHCP leases and re-registers DNS names, type:

ipconfig /registerdns
tips/win/dnscache.txt · Last modified: 2009/06/08 16:06 by erik