Article ID: 263558 - Last Review: August 19, 2011 - Revision: 2.1 How Internet Explorer uses the cache for DNS host entries
This article was previously published under Q263558 WARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own
risk. On This PageSUMMARY In earlier versions of Internet Explorer (Internet Explorer
3.x), DNS host entries are cached for 24 hours by default. In many cases,
this is too long. During this period, some host entries stop working because of
change in the IP address of the remote server that was initially resolved.
Internet Explorer 4.x and later versions modify how DNS host entries are cached by decreasing the default time-out value to 30 minutes. MORE INFORMATIONWARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system. Microsoft
cannot guarantee that you can solve problems that result from using Registry
Editor incorrectly. Use Registry Editor at your own
risk. In some cases, this new time-out setting is too short. If your environment has a number of clients that are connecting and are all performing DNS lookups every 30 minutes, you may experience an unwanted increase in network traffic. To modify this behavior, make the following registry change:
Collapse this table
Collapse this table
WORKAROUNDIf you are making Synchronous calls in WinInet, the DNS timeouts do not work when set the way they are shown in the "More information" section.
Asynchronous calls do pick up these values correctly.
Method 1To work around this problem, restart the application that uses WinInet.Method 2Use the following code workaround. Open and close the handle that you receive with the InternetOpen call, and then open it again.The DNS timeouts are applied. APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
