November 21st, 2008, 12:46 PM
Clear IE7 DSN Cache
I'm using a dynamic dns for one of my hosts that has dynamic ip. The problem appears when I'm changing the ip and the dns is changed. If I do not restart internet explorer it will still try to connect to the old ip.
I've tried ipconfig /flushdns but it seems IE7 has its own cache.
I can not restart the IE7 window so I'm looking for a solution to either disable IE7 cache or notice the IE7 window programatically by sending a message to all instances of a change in the network settings.
November 22nd, 2008, 04:04 PM
Re: Clear IE7 DSN Cache
Ok, I thing I got it. To be useful to others that are having problems with the Internet explorer's own DNS cache (not the resolver's cache).
I have added in the registry location
the following three keys
DnsCacheEnabled 0x0 (REG_DWORD)
DnsCacheTimeout 0x0 (REG_DWORD)
ServerInfoTimeOut 0x0 (REG_DWORD)
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.