Home > Windows Server Tips > Active Directory Administration > For Active Directory performance gains, delegate the _MSDCS DNS zone
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ACTIVE DIRECTORY ADMINISTRATION

For Active Directory performance gains, delegate the _MSDCS DNS zone


Gary Olsen, Contributor
10.16.2007
Rating: -4.40- (out of 5)


Expert advice on Active Directory and Group Policy
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Gary Olsen
Gary Olsen
The health of Active Directory for the most part depends on a good, efficient DNS structure.

While the DNS structure in a single domain is fairly simple, things can get complicated in a multiple domain forest. One of those complications involves the location of Global Catalog (GC) resource records and CName records.

This is how the process breaks down. When a client operation, such as authentication, needs to find a Global Catalog server, a DNS server is then queried and a specific global catalog resource record is found and returned to the client. The client subsequently contacts the GC. Other operations also query the GC (such as Exchange Server, cross domain searches, etc.) so locating the GC resource records is definitely an important function. Global Catalog records are located in the GC container under the _MSDCS subzone.

CName or "Alias" records are used specifically for replication. Domain controllers must communicate for replication by using each other's server globally unique identifier (GUID). In order to do that, a CName record that maps the server GUID to the fully qualified domain name (FQDN) of the DC is created in the root of the _MSDCS subzone. Figure 1 shows the CName records, identified by the server GUID in the name, and the GC container.

Figure 1

The CName records and GC records are in the _MSDCS zone. So what? Well, in a forest with two or more domains, the _MSDCS zone is different. The first domain created in the forest, of course, has the _MSDCS zone, which, as noted previously, contains the CName records and the GC records. All subsequent domains, however, will not contain CName or GC records (although they will each contain a _MSDCS zone). Thus, those records are only stored in the _MSDCS zone in the first domain in the forest, or the forest root domain.

This situation is illustrated in Figure 2. In this example, Corp.net is the parent domain and obviously the forest root. The contents of the _MSCDS zone for Corp.net are shown, including the GC container and the CName records. However, the NA.Corp.net and EU.Corp.net child domains do not contain GC or CName records.

Figure 2

So, what does this mean?

In this example, when a client in the NA domain needs to contact a GC, it will go to its local DNS server for the NA domain. That provides a referral to the Corp.net DNS server, which finds the GC record and then returns it to the client.

Obviously, this is not very efficient, especially if there is a slow or unreliable network and the Corp.net DNS server is in a different site from the client. If that "client" happens to be an Exchange server, it is a big deal. Even though you may have a GC server in the same site as the Exchange server, if the DNS records are on a server in another site, it still has to go to that site to get the record to find the local GC.

There can also be problems with replication. If two DCs in the EU domain replicate, they have to go through this same process to locate the CName record from the Corp.net domain DNS server. Again, with network issues and the referral process itself, that can cause intermittent disruption of replication.

There are at least two good solutions, but remember that the goal is to put the GC and CName records local to the clients or DCs that need them. The solutions are:

  • To create a secondary zone of the root domain's _MSDCS zone on each of the EU and NA domain's DNS servers.
  • To delegate the _MSDCS zone at the root domain to the two child domains. Of course the root domain will also contain a delegation.
  • I'm not a big fan of secondary zones. They are not held in Active Directory in an AD integrated zone. You have to rely on the messy zone transfers and they have to stay in sync.

    The delegation solution is much cleaner in my opinion, and it's easier to manage and troubleshoot. Note that if you create a new Windows 2003 domain, and let DCPromo configure DNS, it will automatically delegate the _MSDCS domain. Of course when you add additional domains, you must add delegation records to those DNS servers as well. Figure 3 shows how the _MSDCS zone delegation looks in the DNS management snap-in.

    Figure 3

    If you have name resolution trouble with records in the _MSDCS zone or if it becomes corrupt, you can simply delete the zone and delegation record. Then you can either force re-registration by restarting the NetLogon service on the DCs or just wait for normal refresh.

    The _MSDCS zone will be rebuilt using dynamic registration, and you can then delegate it again. Other than that, you troubleshoot this delegated zone as you would any other. Also note that if you have multiple domain trees in a single forest, such as Corp.net and Company.com, this still applies. In other words, if Corp.net was created first, it would be the forest root and Corp.net's _MSDCS zone would be the only one delegated -- even though they are separate domain trees.

    I consider delegating the _MSDCS zone a best practice in DNS design. It ensures better performance for replication, client authentication, Exchange Server and other applications.

    Gary Olsen is a systems software engineer for Hewlett-Packard in Global Solutions Engineering. He authored Windows 2000: Active Directory Design and Deployment and co-authored Windows Server 2003 on HP ProLiant Servers. Gary is a Microsoft MVP for Directory Services and formerly for Windows File Systems.


    Rate this Tip
    To rate tips, you must be a member of SearchWindowsServer.com.
    Register now to start rating these tips. Log in if you are already a member.




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


    RELATED CONTENT
    Domain Name System (DNS)
    Domain Name System (DNS) Guide
    An alternate strategy for DNS server backup
    DNS troubleshooting tips for Active Directory
    How the DC locator works in Active Directory
    Best practices for DNS structure design
    DNS best practices: Making AD rock-solid
    Name resolution in DNS
    Configuring DNS server properties
    Preventing DNS registration of certain SRV records
    How do I create a secondary DNS server?

    Microsoft Active Directory Design and Administration
    Top 5 Active Directory tips of 2008
    Active Directory FAQs
    Active Directory database basics: Performing an offline defrag
    Tips for Windows domain controller optimization
    How to rebuild the SYSVOL tree when none exists in Active Directory
    Cleaning up Active Directory
    How to create a cross-forest trust in Active Directory
    Adding a standalone printer to Active Directory with Windows Vista
    How the DC locator works in Active Directory
    LocalSystem account in the AD forest is risky business

    Windows System and Network Performance Monitoring
    Quick hits: Troubleshooting service account failure, batch job execution
    Troubleshooting common Windows service failures
    Monitor network bandwidth with CyberGauge
    Optimizing NTFS file system performance
    How to receive automatic notification of file changes
    Sysinternals TCPView monitors network connections on Windows systems
    Create data collector sets through Vista's Performance Monitor
    Data collector sets simplify monitoring of Vista performance
    Performance monitoring in Windows: An overview
    RRAS utility in Windows Server 2003 traces network problems

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    Active Directory  (SearchWindowsServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    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.



    Server Room Design - Planning, Cooling, Maintenance
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts