It is known that IE has its own DNS cache. I want to clear it at times. I know that I can do it by clearing browsing history in IE settings. But I'm looking for automatic method, so the location in file-system (or whatever) would be very helpful.

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

IE does not have it's own DNS cache. It relys on the OS'es DNS caching system. A simple DNS flush can be done from a command prompt with

ipconfig /flushdns

Although... if you're messing around with DNS names frequently, you might want to simply edit the hosts file and make your changes as needed... and when ready to migrate to production... make the final changes on the DNS server once.

link|improve this answer
-1 for being contradicted by the article hyperlinked-to by the first three words of the question, and for flushing the wrong cache. Yes, IE really does have its own cache. Just as Google Chrome and Firefox have. – JdeBP Dec 12 '11 at 19:36
Oddly enough... if you flush your dns cache as mentioned... the DNS is re-queried. I have checked this. – TheCompWiz Dec 14 '11 at 14:32
TheCompWiz: yes, you are right, DNS should be re-queried, if you restart browser :) – y0prst Dec 19 '11 at 14:14
Luckily, dns cache for IE is not persistent, so after restarting browser, dns cache is empty – y0prst Dec 19 '11 at 14:15
No. The DNS would be re-queried because the data are more than DNSCacheTimeout seconds (usually 30 minutes) old, or (as mentioned) the cache is empty because the browser has been started afresh and has yet to populate it in the first place. – JdeBP Dec 31 '11 at 19:25
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.