This shows you the differences between two versions of the page.
— |
tips:win:dnscache [2009/06/08 09:06] (current) erik created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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 / |