Allow zone transfers cleared and the secondary server list gone on other DCs after you changed an AD-integrated zone replication scope? SecureSecondaries is reset to 3. Record the settings first, restore them after.
Home › Guides › Zone transfer settings reset after replication scope change
Last updated 22 November 2026
If the Allow zone transfers check box is suddenly cleared and the list of secondary servers is gone on one DNS server after you changed an Active Directory-integrated zone's replication scope, that is a known behavior (KB 4050194). Changing the scope deletes the zone object from the old partition and creates a new one in the new partition. When the other domain controllers' DNS service picks up the zone from the new partition, it resets the zone's registry settings: SecureSecondaries becomes 3 (no zone transfers) and SecondaryServers is removed. Zone transfer settings are stored in the registry, not in Active Directory, so they never replicate. Note the zone transfer settings before you change the replication scope and set them again afterwards, or use Microsoft's backup and restore scripts and restart the DNS service.
The article's title names Windows Server 2008 R2, but Microsoft lists it as applying to supported versions of Windows Server.
Result on DC2: the Allow zone transfers check box is cleared, and the list of servers zone transfers were allowed to is removed, including the values in the registry. The zone transfer settings on DC1, where you made the change, are not affected. Secondary servers that relied on DC2 for transfers stop getting them.
| Step | What happens |
|---|---|
| Replication scope changed | The existing zone object is deleted from its partition and a new object is created in the new partition; this replicates to all domain controllers |
| DS polling on the other DNS servers | Their DNS service polls Active Directory (every 180 seconds by default), finds the zone in the new partition and treats it much like a newly created zone |
| Registry reset | SecureSecondaries is set to 3, which disables zone transfers, and the SecondaryServers value is removed |
| No repair through replication | Zone transfer settings live only in each DNS server's registry, not in Active Directory, so DC1's settings never replicate back to DC2 |
The settings are in this registry key on each DNS server:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones\<domain name>
When zone transfers are limited to specific servers or IP addresses, SecureSecondaries is 0x2 (the Only to the following servers option) and a multi-string value SecondaryServers holds the servers' IP addresses. After the reset, SecureSecondaries is 3 and SecondaryServers is missing. You can check the key with reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones\<zonename>".
Microsoft's article includes two PowerShell scripts, provided as-is (test them before you use them in production):
-ZoneName parameter and copies the zone's key from HKLM:\Software\Microsoft\Windows Nt\CurrentVersion\DNS Server\Zones\ to HKCU:\DNSZoneConfigMigration\ in the current user's hive.Run the backup before the change and the restore after it, on the same server and as the same user, since the backup is stored under HKEY_CURRENT_USER. Copy the full scripts from the Microsoft Learn article rather than retyping them. Microsoft notes that you can use Set-ExecutionPolicy to allow unsigned scripts, and that you must restart the DNS service after the restore script to apply the changes.
The DNS service has a DS polling thread that periodically polls the directory partitions for the list of zones. By default it polls Active Directory every 180 seconds (3 minutes). You can change the interval with the DsPollingInterval registry value or dnscmd /config /dspollinginterval <seconds>. The switch accepts 0 to 3,600 seconds, but 1 to 29 aren't allowed, so the minimum interval is 30 seconds. Active Directory replication between the domain controllers has to complete first.
Look up DNS Server events such as 4000 and 4013 in the Windows Event ID Lookup, copy the dnscmd and DNS Server lines from the PowerShell Cheat Sheet, pull SecureSecondaries and SecondaryServers values out of exported registry files with the Regex Tester, check the secondary server addresses in the SecondaryServers list with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the vendor of a secondary DNS server on your network with the MAC Vendor Lookup. Related guides: DNS zone transfer fails with the Name Servers tab setting, DNS Server events 4000, 4007, 4004 and 4016, DNS records missing from a zone and common Windows DNS Server and DHCP Server errors.
Using zone transfer policies or zone scopes on secondary servers? See zone transfer policies and DNS policy on secondary servers.
Every Windows DNS Server and DHCP Server event and symptom in one place: common Windows DNS Server and DHCP Server errors.
Changing the replication scope deletes the zone object and creates a new one in another partition. When the other DNS servers pick up the new zone, their registry settings for it are reset: SecureSecondaries becomes 3 and SecondaryServers is removed.
No. In Microsoft's example the zone transfer settings on DC1, where the change was made, are not affected. Only the other DNS servers that reload the zone lose them.
In each DNS server's registry under HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server\Zones\ and the zone name. They aren't stored in Active Directory and don't replicate.
0x2 corresponds to Only to the following servers, with the servers in the SecondaryServers value. After the reset it is 3, which disables zone transfers.
Every 180 seconds by default. Change it with DsPollingInterval or dnscmd /config /dspollinginterval; the minimum is 30 seconds.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.