Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to

You're reading from   Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to A step-by-step guide to installing, configuring, and updating to Windows Server 2012

Arrow left icon
Product type Paperback
Published in Jan 2013
Publisher Packt
ISBN-13 9781849687447
Length 84 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Santhosh Sivarajan Santhosh Sivarajan
Author Profile Icon Santhosh Sivarajan
Santhosh Sivarajan
Arrow right icon
View More author details
Toc

DNS migration (Should know)

If the DNS zone is Active Directory Integrated (ADI), the zone information will be replicated as part of the Active Directory replication. The scope of the replication is based on the Replication configuration in the zone itself as shown in the following screenshot:

DNS migration (Should know)

If the zone is Active Directory Integrated and the proper replication scope is configured, you don′t need to perform any other migration for the DNS zone. Both forward lookup and reverse lookup zones will replicate to the new Windows Server 2012 Domain Controller during the Active Directory replication.

However, if you have a primary or secondary zone on a standalone server or a member server, you need to perform a migration. There are many ways to achieve this. One option is to perform the migration using a secondary to primary conversion method. Then decommission the old DNS server. Before the DNS zone can be replicated, you need to make sure that the zone transfer is allowed to the new Windows Server 2012 server. These settings can be changed from the Zone Transfers tab as shown in the following screenshot:

DNS migration (Should know)

To migrate a DNS zone using the secondary to primary method, refer to the following recipe.

How to do it...

  1. Create a secondary zone on the new Windows Server 2012 server.
    1. Open the DNS Management console.
    2. Right-click on the Forward Lookup Zone node. Click on New Zone.
    3. Click on Next on the Welcome window.
    4. Select Secondary Zone as the Zone Type. Click on Next.
    5. Enter the zone name. Click on Next.
    6. On the Master DNS Servers window, enter the IP address of the primary DNS server.
    7. Click on Finish.
  2. Convert the secondary zone to primary zone.
    1. Verify that the zone information has been completely transferred over to the new server.
    2. Right-click on the zone and go to Properties.
    3. From the General Tab, click on Change. Select the zone type as Primary. Click on OK.
  3. Verify the Start of Authority (SOA) tab and make sure that the primary server is updated with your new Windows Server 2012 name.
    How to do it...
  4. Verify the Name Servers tab for name servers.
  5. Repeat the same procedure for other DNS zones and decommission the old DNS server.

How it works…

The preceding method creates a secondary DNS zone on Windows Server 2012 and converts them to a primary DNS zone after the zone replication. After the DNS zone conversion, Windows Server 2008/R2 and Windows Server 2012 servers will have the Primary DNS zone.

There′s more...

The other option is to use the dnscmd command. The following commands can be used to export and import zone information between two DNS servers:

Export - dnscmd /zoneexport <ZoneName> <ExportFileName>
Import - dnscmd /zoneadd /Primary /File < ExportFileName>

The dnscmd command is still available on Windows Server 2012. However, this command may be discontinued in the future versions of the product or release. So it is recommended to use the PowerShell cmdlet for the future use. The DnsServer PowerShell module has many cmdlets which can support DNS migration scenarios.

Unless you have valid business and technical requirements, it is a best practice to use the Active Directory Integrated zone. Also, you may want to look at the DNS Security Extensions (DNSSEC) in Windows Server 2012 and how it can be beneficial to your environment.

You have been reading a chapter from
Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
Published in: Jan 2013
Publisher: Packt
ISBN-13: 9781849687447
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image