David Kingsland asks here about changing the Internet Explorer default DNS Cache.

Changing the DNS Cache Timeout

The default DNS Cache timeout can be changed through the following method:

    1. Start Registry Editor.
    2. Locate and click the following key in the registry:
    HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionInternet Settings
    3. On the Edit menu, click Add Value, and then add the following registry values:
    Value Name: DnsCacheTimeout
    Data Type: REG_DWORD
    Radix: Decimal
    Value: (time in seconds)Value Name: ServerInfoTimeOut
    Data Type: REG_DWORD
    Radix: Decimal
    Value: (time in seconds)
    4. Quit Registry Editor.For example, to set the time-out value to 10 minutes, use a value of 600 seconds.
    Note You must use both the registry values listed in step 3 to control the Internet Explorer internal resolver cache mechanism.

    Here is the Microsoft article describing all this.

    Changing the KeepAlive Timeout

    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following key in the registry:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternetSettings
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type KeepAliveTimeout, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. Type the appropriate time-out value (in milliseconds), and then click OK. For example, to set the time-out value to two minutes, type 120000.
    7. Restart Internet Explorer.

    If you set the KeepAliveTimeout value to less than 60,000 (one minute), you may have problems communicating with Web servers that require persistent HTTP connections. For example, you may receive a “Page cannot be displayed” error message.

    If you must have a KeepAliveTimeout value higher than 120000 (two minutes), you must create an additional registry key and set its value equal to the KeepAliveTimeout value that you want. The additional registry key is ServerInfoTimeout. It is a DWORD with a value (in milliseconds) and in the same location as KeepAliveTimeout.

    For example, to use a three-minute KeepAliveTimeout value, you must create the following registry keys:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternetSettings

    KeepAliveTimeout DWORD value 180000 (in milliseconds)
    ServerInfoTimeout DWORD value 180000 (in milliseconds)
    By default, HTTP 1.1 is enabled in Internet Explorer except when you establish an HTTP connection through a proxy server. When HTTP 1.1 is enabled, HTTP connections remain open (or persistent) by default until the connection is idle for one minute or until the value that is specified by the KeepAliveTimeout value in the registry is reached. You can modify HTTP 1.1 settings in Internet Explorer by using the Advanced tab in the Internet Options dialog box.

    Here is the Microsoft article describing all this.

    Changing the Server Info Timeout

    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following key in the registry:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternetSettings
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type KeepAliveTimeout, and then press ENTER.
    5. On the Edit menu, click Modify.
    6. Type the appropriate time-out value (in milliseconds), and then click OK. For example, to set the time-out value to two minutes, type 120000.
    7. Restart Internet Explorer.

    If you set the KeepAliveTimeout value to less than 60,000 (one minute), you may have problems communicating with Web servers that require persistent HTTP connections. For example, you may receive a “Page cannot be displayed” error message.

    If you must have a KeepAliveTimeout value higher than 120000 (two minutes), you must create an additional registry key and set its value equal to the KeepAliveTimeout value that you want. The additional registry key is ServerInfoTimeout. It is a DWORD with a value (in milliseconds) and in the same location as KeepAliveTimeout.

    For example, to use a three-minute KeepAliveTimeout value, you must create the following registry keys:
    HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternetSettings

    KeepAliveTimeout DWORD value 180000 (in milliseconds)
    ServerInfoTimeout DWORD value 180000 (in milliseconds)
    By default, HTTP 1.1 is enabled in Internet Explorer except when you establish an HTTP connection through a proxy server. When HTTP 1.1 is enabled, HTTP connections remain open (or persistent) by default until the connection is idle for one minute or until the value that is specified by the KeepAliveTimeout value in the registry is reached. You can modify HTTP 1.1 settings in Internet Explorer by using the Advanced tab in the Internet Options dialog box.

    Here is the Microsoft article describing all this.

    My Recommendation

    I would recommend that you should not change these values unless you are an advanced user and you should always backup your registry before playing with the registry editor.

    And instead of doing it manually, here is a cool utility that lets you automatically change the values. Please use this tool instead of the registry tweaks.

    Download IE Timeout TunerHow to change Internet Explorer DNS Cache , KeepAlive and Server Info Timeouts


Got computer/technical problems? Get FREE help from Technize Forums

2 Comments to “How to change Internet Explorer DNS Cache , KeepAlive and Server Info Timeouts”

  1. anxiety attcks anxietyattacksblog.com says:

    After flushing the dns also website is not loading for me.any other choice?

Leave a Reply

Got computer/technical problems? Get FREE help from Technize Forums

Incoming search terms for the article:

ie8 timeout setting, ie8 timeout, ie8 dns cache, internet explorer 8 timeout, ie8 dns problem, increase ie8 timeout, IE8 dns, internet explorer dns cache, internet explorer timeout, ServerInfoTimeout, ie dns cache, windows dns cache timeout, ie 8 timeout, ie8 keep alive, ie8 timeout settings, what is dns cache for internet, ie8 dns error, internet explorer timeout setting, change ie8 timeout, ie keepalive, IE proxy timeout, internet explorer dns, internet explorer keep alive, timeout ie8, dns cache ie8, dns cache timeout, dns timeout windows 7, explorer 8 timeout, ie timeout error, ie8 time out, internet explorer 8 dns cache, internet explorer 8 keep alive, Internet Explorer Time out, ie keepalivetimeout, ie timeout setting, ie8 download timeout, internet explorer 8 dns, internet explorer 8 download timeout, internet explorer 8 https problem DNS, internet explorer 8 time out, internet explorer 8 timeout setting, internet explorer 8 timesout when uploading, internet explorer timeout settings, proxy server timeout, timeout internet explorer 8, windows 7 dns timeout, windows 7 KeepAliveTimeout, change dns timeout in windows 7, dns advantage removal, dns ie8, DNS Internet Explorer, dns timeout vista, dnscache timeout, explorer dns, ie timeout, ie8 dns cache problems, ie8 keep-alive, internet explorer 8 DNS problem, internet explorer 8 dns problems, keep alive ie8, windows 7 dns cache timeout, windows 7 rdp keep alive registry settings, cache internet explorer 8, cache time-out ie, change dns cache, CHANGE DNS IE8, change ie8 cache settings, change internet explorer 8 timeout, change internet explorer proxy server in regedit, changing dns caching timeouts, changing timeout setting in IE 8 0, clear dns cache IE8, DNS - website not loading, DNS cache timeout windows 7, DNS Error IE8, dns error internet explorer, DNS Explorer, dns internet explorer 8, dns query timeout windows7, dns timeout