PDA

View Full Version : "DNS Client" service: What are the correct parameters?


_Vanguard_
November 25th 04, 04:07 PM
Windows XP has its "DNS Client" NT service for client-side caching of
DNS queries but it caches both positive and negative results. I want to
disable or reduce the caching time for negative results. However,
different articles found by a search mention different parameters used
to change the caching parameters.

In http://www.winguides.com/registry/display.php/1203/, it talks about
changing the values for the MaxCacheTTL and MaxNegativeCacheTTL (TTL =
time to live). These are the same values mentioned in Microsoft's KB
article 318803 (http://support.microsoft.com/?id=318803). Neither of
these parameters exist under the mentioned key in my registry but then
Windows XP often uses default values when parameters are absent.

In http://www.speedguide.net/read_articles.php?id=158,
http://www.tweakxp.com/tweak2081.aspx, and other found articles, they
talk about using completely differently named settings called
NegativeCacheTime, NetFailureCacheTime, and NegativeSOACacheTime. These
parameters *do* exist in my registry and are set to the recommend value
of zero (0). I don't know if these parameters are actually used in
Windows XP versus the TTL values mentioned above in the other articles.
Since they are there and since they are set to zero (0), I have to
assume that I probably applied these changes before based on information
that I used to configure the DNS Client service.

So I am at a quandary as to which values should be set to disable
negative DNS caching (or reduce its TTL to be much shorter). Some
articles mention the *TTL parameters and other articles mention changing
a different set of parameters. I don't know which are applicable under
Windows XP Professional, or maybe all of them are applicable although
the MaxNegativeCacheTTL parameter would seem to duplicate the
NegativeCacheTime parameter. I would like respondents to tell me what
they have for registry data items under the following registry key and
their values:

HKLM\SYSTEM\CurrentControlSet\Services\Dnscache\Pa rameters

Which of the following data items exist in your registry and what are
their values?

NegativeCacheTime
NegativeSOACacheTime
NetFailureCacheTime

MaxCacheTTL
MaxNegativeCacheTTL

Microsoft mentions the *TTL parameters in the KB articles, but a search
across all of microsoft.com on the other parameters (NegativeCacheTime
and NetFailureCacheTime) results in no matches. So I am wondering which
parameter(s) to use, Microsoft's *TTL parameters or the parameters
mentioned in the various tweak articles
(http://www.google.com/search?q=%2B%22Windows+XP%22+%2Bnegativecachetime) .

--
__________________________________________________ _______________
******** Post replies to newsgroup - Share with others ********
Email: lh_811newsATyahooDOTcom and append "=NEWS=" to Subject.
__________________________________________________ _______________

Google