| Computer Education | |||||||
|
|
| To help speed up Web browsing, Windows XP comes with a local cache containing any DNS addresses that have been looked up recently. (For more detail on how Internet addresses work, see this article.) Once an URL has been resolved by an Internet name server into a numerical IP, the information is stored locally. Anytime your browser requests an URL, Windows XP first looks in the local cache to see if it is there before querying the external name server used by your ISP. If it finds the resolved URL locally it uses that IP. This is supposed to save time and cut down on Web traffic ProblemsThe default time period for keeping an address in the cache is 24 hours. Thus, a problem can arise if the IP for an URL changes before the 24 hour period is up. In this case an error message will result if you try to connect to the URL. It is not a frequent occurrence but is not unknown. Another more common problem can arise from URLs that are temporarily busy or from congested Internet traffic. If a negative response is received from an attempt to connect, that result is also kept in the local cache. The default time period for retaining a negative response is five minutes. In other words, once a negative response is received you will not be able to connect to the site for at least five more minutes. Since temporary congestion lasting a few seconds is often the cause of a momentary inability to connect to a site, this delay of five minutes can be a nuisance. Clear the DNS resolver cache Fortunately, it is possible to clear out the local DNS cache in order to
get around these types of problems. Windows XP comes with a useful
command-line utility ipconfig (discussed
here)
that has a switch, flushdns,
for removing the entries in the cache.
Open a command prompt and enter Configure the DNS resolver cacheA way to minimize problems from the long default wait times that are
used for holding data in the DNS cache is to reduce the times (known
as Time to Live or TTL). This requires a Registry edit so should
be done only by those who know how to restore their Registry. The
Registry key that is involved is
More informationDocumentation on DNS caching can be found at this Microsoft site
|
| << Home page | ©2002-2010 Victor Laurie | Home page >> |