Go to HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Dnscache \ Parametersįrom the Edit menu select New > DWORD valueĮnter the name MaxCacheTtl to change the positive cache period or the name MaxNegativeCacheTtl to change the negative cache periodĭouble-click the new value, set it to the desired number of seconds, choosing Decimal as Base (see picture below)
#Change timeout settings windows xp windows#
Until then Windows XP will just return the invalid cached info (giving you that lovely "Cannot find server or DNS Error" in Internet Explorer). By default, you'd have to wait at least 5 minutes before Windows XP would do a new DNS lookup on the server. For example, your ISP's DNS cache might produce a lookup failure due to a temporary server problem (network path congested). It might be useful not to store any negative responses at all. However, you may want to adjust these settings. Negative responses are stored for 300 seconds (5 minutes) by default. By default, positive responses (meaning there was a "match" for the name queried) are stored for 86,400 seconds (1 day). The length of time for which entries (negative or positive) are stored in the cache depends on settings in the Windows registry. You can clear the DNS resolver cache using the following command entered at the command prompt: ipconfig /flushdns Each entry also lists the remaining Time To Live (TTL) in seconds. The contents of the DNS resolver cache includes not only recently queried names resolved by the system, but also entries from the Hosts file.
![change timeout settings windows xp change timeout settings windows xp](https://faq.thinstuff.com/images/xpvs/rdp_session_timout/RDP-session-timeout.png)
To view the Resolver Cache, open a command prompt ( Run > CMD) and type ipconfig /displaydns This has a slight speed advantage, and also reduces network traffic, when you would want to (re)use an address that is already in the cache. The local cache on Windows XP (and Windows 2000) is there so that local clients don't need to query the DNS servers for the same addresses. For example, our domain name translates to 67.15.18.52. Every time you use a domain name, a DNS service must translate the name into the corresponding IP address. DNS servers are needed, because while domain names are alphabetic (like the Internet is really based on IP addresses. Windows XP includes a cache where responses to queries of DNS (Domain Name System) servers are stored on the local machine. Adjust Windows XP DNS Cache Settings By: Arie Slob