If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Windows DNS cache (was: Why does Firefox not respect the HOSTS file in Windows)
In message , Char Jackson
writes: [] You can view the Windows DNS cache with the following command: ipconfig /displaydns Thanks, interesting. By repeatedly running the following command, which simply pulls out the Time To Live (TTL) values for easier visibility, you can see the TTL starting values as well as seeing the TTL count down toward zero. When it hits zero, the DNS entry is removed from the cache. ipconfig /displaydns | find "Time To Live" Lastly, for testing purposes, you can clear the Windows DNS cache with the following command: ipconfig /flushdns There are no ill effects as a result of clearing the cache. It simply rebuilds over time, as necessary. I did it, and (I'm running XP) it said Successfully flushed the DNS Resolver Cache. I then did ipconfig /displaydns | find "Time To Live" again, and it looked to still have the same number of lines; doing it without the pipe to "find" (piping to "more" instead) looks the same, too. -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf Don't hit the keys so hard, it hurts. |
Thread Tools | |
Display Modes | |
|
|