dcsimg

Background Zone Loading, New Functionality in Win Server 2008 DNS

By Nirmal Sharma (Send Email)
Posted Oct 15, 2008


Nirmal Sharma
Microsoft has changed the way DNS loads zone data into memory. Sometimes the DNS server can take an hour or more to load the data with extremely large zone data stored in the Active Directory Services. The result is that the DNS server is unable to serve the client's requests in a timely fashion. Win Tip: Microsoft has changed the behavior of DNS server in Windows Server 2008. Now, DNS server loads the zone data from Active Directory while it restarts. This allows the server to respond to client requests coming in for other zones.

Microsoft has changed the behavior of DNS server in Windows Server 2008. Now, DNS server running on Windows Server 2008 loads the zone data from Active Directory while it restarts so that it can respond to the client requests coming to DNS server for other zones. As an example, if 100 zones are created in DNS server, and data for first three zones have been loaded properly while it is loading the data for other zones, the DNS server can respond to the clients' requests coming to first three zones.

Because separate threads perform the task of loading zones, the DNS server is able to respond to queries while zone loading is in progress.

When the DNS server starts, it:

  • Enumerates all the zones to be loaded
  • Loads root hints first
  • Loads all the file-based zones
  • Begins responding to DNS queries coming from the client computers (all RPC calls)
  • Creates separate threads so DNS queries from client computers can be served as expected.

How Does It Work?

  1. A client sends a DNS query to the DNS server
  2. If the DNS client requests data for a host in a zone that has already been loaded, the DNS server responds with the data.
  3. If the request is for a zone that has not yet been loaded into memory, the DNS server reads the zone data from Active Directory and serves the request as expected.

How to Enable This Feature?

You need to use DNS, which ships with Windows Server 2008 (any edition).

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.