How to convert secondary DNS zone into AD-integrated zone
If you are looking for a guide showing how to convert DNS zone (secondary one), into AD-Integrated zone, here’s a step-by-step guide showing how to do that in an easy way.
Table of Content
Steps how to convert DNS zone
1 – Export the zone information from the SOA (the authoritative dns server for the zone, which can be any dns server in an ad-integrated zone):
DnsCmd dc01.contoso.local /ZoneExport contoso.local contoso.local.copy.bak
This will export the zone DNS from the SOA, to the folder %SystemRoot%\System32\DNS\
This first step is to make sure you will have a reliable backup of the zone you will convert.
2 – Now, back to server which has the secondary zone (I suppose you are connected in a different domain too. Be aware all procedure below must be done in the target servers of the the target domain, here in this example domainAZ , not in the source domain contoso.local)
Convert the secondary zone (contoso.local) in one of the DNS servers of domainAZ.local, to a primary zone:
DnsCmd dc12.domainAZ.local /ZoneResetType contoso.local /Primary /File contoso.local.dns
This command will convert it to a primary zone and create a dns file at %SystemRoot%\System32\DNS\
3 – Now, you must delete the secondary zone from all other DNS servers in the target domain domainAZ.local
DnsCmd dc18.domainAZ.local /ZoneDelete contoso.local
DnsCmd dc39.domainAZ.local /ZoneDelete contoso.local
4 – Next, back to DNS server which has the primary zone (the only one at this moment, on the target domain domainAZ.local ok?), and remove all old NS records.
At this part, you will see the name of DNS servers from the source domain contoso.local
As this zone is no longer updated from DNS servers of contoso.local, and the DNS servers of domainAZ.local will become the authoritative one, you can delete it using the command:
dnscmd dc12.domainAZ.local /RecordDelete contoso.local @ NS dc01.contoso.local
5 – Finally, convert the now primary zone in to an AD-integrated zone:
DnsCmd dc12.domainAZ.local /ZoneResetType contoso.local /DsPrimary
The zone will be now replicated to all domain controllers in domainAZ.local. If you want accelerate this process, use the following command: repadmin /syncall /AdeP
Still need help to convert DNS zone?
Running out of ideas and time on how to convert DNS zone in your environment?
Please, get in touch with me, I will be happy to provide a quick resolution for you on how to fix GPO with at a fair price.
Check out more similar articles below
SharePoint Site Building: A Complete Walkthrough for Your First Collection
SharePoint Site Building: A Complete Walkthrough for Your First Collection It is not very easy…
How to Enable MFA on Microsoft 365 for Better Security
How to Enable MFA on Microsoft 365 for Better Security Cybersecurity threats are on the…
Intune Training Made Simple: Start Learning Now
Intune Training Made Simple: Start Learning Now Microsoft Intune is a powerful cloud-based service that…
Exchange Online Cloud Email: Complete Beginners Guide
Exchange Online Cloud Email: Getting Started with Microsoft Cloud Email Microsoft Exchange Online cloud email…
Microsoft Teams Tutorial: A Complete Guide for Beginners
Microsoft Teams Tutorial: A Complete Guide for Beginners Learn how to set up Microsoft Teams,…
Microsoft 365 Setup: Practical Guide For IT Pros
Microsoft 365 Setup: Practical Step-by-Step Guide for IT Pros Welcome to Microsoft 365 Setup: Practical…