How to configure a DNS Secondary Zone in Windows Server 2008 & 2012

Home > Blogs > Windows Server > How to configure a DNS Secondary Zone in Windows Server 2008 & 2012

How to configure a DNS Secondary Zone in Windows Server 2008 & 2012

4 5 Rick Trader
Added by April 29, 2013

Secondary Zones are a DNS feature that allows the entire DNS database from a Master DNS server  to be transferred to the Secondary.  A Secondary Zones allows an organization to provide fault tolerance and load balancing to internal names.  In addition to being able to resolve names to a private namespace or speed up name resolution to a public namespace without the use of Conditional Forwarders or Stub Zones.

When a Secondary DNS server is configured it will request a zone transfer from a DNS Server maintaining the Master database for a zone.  If the Master has been configured to allow zone transfers with the Secondary the entire database will be transferred.  Once a secondary receives the database from the master it will now perform all name resolution request for the namespace locally. If the client query is not part of the authoritative namespace, it starts a name resolution process beginning with a root name server and continues the process until the name is resolved.  The Secondary database is kept up to date via zone transfers from the Master.

Scenario.

Two organizations, USSHQ and Dulce Base need to be able to share resources.  A trust relationship between the two organizations Active Directory Domain Services is desired, but neither organization name space can be resolved through public name resolution.  In order to configure the trust relationship name resolution need to be configured.  One option for name resolution is to use a DNS Secondary Zone.  DNS Secondary Zones in each domain will be configured to allow for the resolution to occur for other organization namespace. All other names needing resolved will use the default name resolution method.

If a computer from Dulce Base attempts to contact a computer in USSHQ it is unable to resolve the name.  See figure below, the same result would occur going the other direction.

DNS Secondary Zone Windows Server 2008 2012

Configuring the source DNS server to allow for zone transfers  (steps will be accomplished on both DNS Servers).

  1. Launch the DNS console and secondary click on the Forward Look Zone that you desire so configure Zone Transfers on, click on Properties.console DNS Secondary forward lookup zones Windows Server 2008 2012
  2. Select the Zone Transfers tab.
    zone transfers DNS Secondary Zone Windows Server 2008 2012

    1. To allow zone transfers, select the Allow zone transfers check box. Then choose one of the following :
      1. To allow zone transfers to any server, click To any server.
      2. To allow zone transfers only to the DNS servers listed on the Name Servers tab, click Only to servers listed on the Name Servers tab. Use this setting if you have configured Authoritative Name Servers for this zone in the Names Servers tab.
      3. To allow zone transfers only to specific DNS servers, click Only to the following servers, and then add the IP address of one or more DNS servers.  Use this setting if you have not configured Authoritative Name Servers for this zone in the Name Servers tab or you desire to allow zone transfers with Name Servers.
  3. In this demonstration we will be using the last option, click Only to the following servers.
    zone transfers ip address DNS Secondary Zone Windows Server 2008 2012
  4. Click Edit, enter the IP Address of the Name Server that will be requesting the zone transfer, press enter.  After the FQDN has resolved click OK.allow zone transfers ip address DNS Secondary Zone Windows Server 2008 2012
  5. Click OK on the DNS Properties sheet, DNS is now configured to allow zone transfers with the Dulce Base DNS serve.

Configuring a Secondary Zone (Same steps will be accomplished in both DNS servers).

  1. Launch the DNS Console.
    DNS Secondary Zone Windows Server 2008 2012
  2. Expand Forward Lookup Zones, secondary click on Forward Lookup Zone and choose New Zone. On the Welcome to the New Zone Wizard, click Next.new zone wizard DNS Secondary Zone Windows Server 2008 2012
  3. On the Zone Type page, click Secondary Zone then click Next.
    DNS Secondary Zone Windows Server 2008 2012
  4. On the Zone Name page, enter the desired zone to transfer from, click Next.new zone wizard step 2 DNS Secondary Zone Windows Server 2008 2012
  5. Click Next on the Zone File page.
  6. On the Master DNS Servers page, Enter the IP Address of the master DNS server to transfer from press enter to resolve, Click Next.new zone wizard step 3 DNS Secondary Zone Windows Server 2008 2012
  7.  On the Completing the New Zone Wizard, click Finish.
  8. Refresh the zone, a transfer should have occurred.

Note:  The zone transfer may take a few minutes to occur, keep refreshing the screen and be patient.
Name resolution will now succeed from DulceBase.Local to USSHQ.Local.  Once the DNS administrator completes the configuration on the USSHQ.Local DNS server name resolution will succeed from USSHQ.Local to DulceBase.local.

As you can see configuring a Secondary Zone is a simple fix to resolving names in a private network when public name resolution fails.  But, does require the Administrator of the Master Zone to allow zone transfers with your organization before the zone will actually transfer.

Until next time, RIDE SAFE!

Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

A Simple Introduction to Cisco CML2

0 3877 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Creating Dynamic DNS in Network Environments

0 641 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader teaches how to create Dynamic DNS zones in Network Environments. Video Transcription: Now that we’ve installed DNS, we’ve created our DNS zones, the next step is now, how do we produce those … Continue reading Creating Dynamic DNS in Network Environments

Cable Testers and How to Use them in Network Environments

0 724 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader demonstrates how to use cable testers in network environments. Let’s look at some tools that we can use to test our different cables in our environment. Cable Testers Properly Wired Connectivity … Continue reading Cable Testers and How to Use them in Network Environments

Write a Comment

See what people are saying...

    Share your thoughts...

    Please fill out the comment form below to post a reply.