A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Windows DNS cache (was: Why does Firefox not respect the HOSTS file in Windows)



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old July 2nd 16, 09:31 AM posted to alt.windows7.general,microsoft.public.windowsxp.general
J. P. Gilliver (John)
external usenet poster
 
Posts: 5,291
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 02:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.