Workaround For WinInet DNS not refreshing when using KB 263558

If you are making Synchronous calls in WinInet, the DNS timeouts don't appear to work when set (see: ).

Async calls do however work correctly.

One workaround is to simply restart the application using WinInet. 

I found a code workaround for the issue as well.  Simply open and close the handle you get with the InternetOpen call then open it again:

hOpen= ::InternetOpen(.....);


hOpen= ::InternetOpen(.....);

// now use handle...

 The performance impact will be very low.


Comments (1)

  1. Jeff Sanders says:

    See the KB article.  It is now updated with this information.

Skip to main content