T The Triage ManualTechnical Guides for IT Emergencies
P2 · Active Directory

DNS Dynamic Update Failures — Event ID 4015 on AD-Integrated DNS Zones (Application Partition Replication Lockup)

Active Directory-integrated DNS zones refuse dynamic updates from clients and DHCP nodes, logging Event ID 4015 ('directory service threw a critical error') on Domain Controllers. The root cause is latency or replication lockups within the Application Directory Partition (DomainDnsZones or ForestDnsZones), often compounded by stale or dead DC replica references in the partition properties. Left unresolved, stale DNS records accumulate across the fleet causing broken connectivity and automation failures. Remediation begins with restarting Netlogon and DNS Server services; persistent cases require removing dead replica references via ADSI Edit followed by forced replication convergence.

Indicators

Likely causes

Diagnostic steps

  1. Open Event Viewer on the affected Domain Controller and navigate to Applications and Services Logs > DNS Server. Confirm Event ID 4015 is present and note the exact error text referencing a critical directory service error. Check timestamps to establish onset and frequency.
    Confirms the symptom, scopes which Domain Controllers are affected, and establishes incident timeline before proceeding with deeper diagnostics.
  2. Run dcdiag targeting DNS and replication health on the affected Domain Controller: `dcdiag /test:dns /test:replications /v`
    Identifies DNS configuration failures and Active Directory replication errors that may be causing the Application Directory Partition lockup — output will flag failed replication links and DNS misconfiguration.
  3. Check replication status for DomainDnsZones and ForestDnsZones application partitions across all DCs: `repadmin /showrepl` and `repadmin /replsummary`. Look for non-zero failure counts or large replication deltas on the application partitions specifically.
    Pinpoints which replication links are degraded or stalled, confirming the replication lockup hypothesis and identifying source and target DCs with blocked synchronisation.
  4. Launch ntdsutil to verify the operational state and consistency of the application partition metadata replicas. At the ntdsutil prompt: type `domain management`, then `connections`, then `connect to server <DCname>`, then `quit` back to domain management, then `list nc replicas dc=DomainDnsZones,dc=<domain>,dc=<tld>` and the equivalent for ForestDnsZones.
    Determines whether the Application Directory Partition metadata is consistent across replica Domain Controllers and surfaces any dead or decommissioned DC entries still listed as replica holders.
  5. If dead or stale replica references are suspected, open ADSI Edit (adsiedit.msc), connect to the Application Directory Partition (select 'Application Directory Partition' and specify the distinguished name e.g. DC=DomainDnsZones,DC=<domain>,DC=<tld>), navigate to the partition root object, and inspect the msDS-NC-Replica-Locations and msDS-NC-RO-Replica-Locations attributes for references to decommissioned or unreachable DCs.
    Locates the specific stale replica entries in the partition properties that are blocking healthy updates, confirming whether ADSI Edit remediation is required before proceeding.

Resolution path

Prevention

Tools

References

DNSActive DirectoryWindows Server 2016Windows Server 2019Windows Server 2022Event ID 4015Dynamic DNS UpdateAD ReplicationApplication Directory PartitionDomainDnsZonesForestDnsZonesADSI EditntdsutilNetlogonDomain Controllerrepadmindcdiag