No more polluted caches!

Cache pollution occurs in Windows when incorrect DNS responses fill your DNS server's cache with responses from domains other than the one the DNS query itself requested. For example, if you requested a domain www.mydomain.com and the referral returned the address of www.spamismylife.com, that reference will be stored in your DNS cache. Multiple referrals might be returned, but this sort of thing not only is frustrating to users in that it sends them to the wrong site, but it clogs up the arteries of your DNS server making requests take longer than necessary to be returned.

In most cases the default behavior is to store referrals, and that's not a problem for small systems serving a few users. However, for large networks, or those that require optimal performance, you will want to get rid of any referrals that are from a domain other than the one requested. This option in the Window DNS Server is called Secure cache against pollution (an apt term) and it's found in the DNS Properties dialog box as a check box that you need to enable.

Here's how you get to it:

  1. Open the DNS Management console in the MMC
  2. Right click on the DNS server of interest and select the Properties command.
  3. Click on the Advanced tab, then click on the Secure cache against pollution check box.
  4. Click OK to save your setting.

    Requires Free Membership to View

Barrie Sosinsky is president of consulting company Sosinsky and Associates (Medfield MA). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.


This was first published in November 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.