Clear IE7 DSN Cache
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Clear IE7 DSN Cache

  1. #1
    Join Date
    Jun 2007
    Posts
    24

    Clear IE7 DSN Cache

    Hello,

    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.
    Please advise.

    Thanks,
    Daniel

  2. #2
    Join Date
    Jun 2007
    Posts
    24

    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
    Code:
    HKeyCurrentUser\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings
    the following three keys
    Code:
    DnsCacheEnabled  0x0 (REG_DWORD)
    DnsCacheTimeout 0x0 (REG_DWORD)
    ServerInfoTimeOut 0x0 (REG_DWORD)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center