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

DNS Dynamic Update Failures — Event ID 4015 on Active Directory-Integrated DNS Zones (DomainDnsZones / ForestDnsZones)

Active Directory-integrated DNS zones on Windows Server 2016/2019/2022 Domain Controllers refuse dynamic updates from clients and DHCP nodes, logging Event ID 4015 ('directory service threw a critical error') in the DNS Server event log. The root cause is replication latency, lockups, or stale dead replica references within the DomainDnsZones or ForestDnsZones Application Directory Partition, preventing the DNS Server service from writing or replicating zone data. Immediate remediation is a sequenced restart of Netlogon then DNS Server services; persistent failures require ADSI Edit removal of dead replica references from the partition properties followed by forced replication via repadmin. Left unresolved, stale DNS records propagate domain-wide, breaking connectivity to dynamically addressed hosts and causing automation failures.

Indicators

Likely causes

Diagnostic steps

  1. Open Event Viewer on affected Domain Controllers and navigate to Applications and Services Logs → Microsoft → Windows → DNS Server. Filter for Event ID 4015 and note the full error text, timestamps, and frequency.
    Confirms the specific failure mode, identifies which DCs are affected, and establishes a baseline for verifying resolution.
  2. Run dcdiag /test:dns on the affected Domain Controller: dcdiag /test:dns
    Runs DNS-specific diagnostic tests including delegation, forwarder, dynamic update, and zone checks — pinpoints DNS configuration or registration failures distinct from the partition replication issue.
  3. Check AD replication health against both DomainDnsZones and ForestDnsZones partitions: repadmin /replsummary and repadmin /showrepl <DCname>. Review output for replication failures, errors, or high-latency entries on those naming contexts.
    Confirms whether replication latency or lockups within the Application Directory Partition are the underlying cause of the DNS update failures.
  4. Launch ntdsutil, navigate to 'partition management', connect to the affected DC, and list partition replica metadata for DomainDnsZones and ForestDnsZones. Command sequence: ntdsutil → 'partition management' → 'connections' → 'connect to server <DCname>' → 'quit' → 'list' (or equivalent list replicas command for the partition).
    Verifies the operational state and consistency of the Application Directory Partition metadata replicas across all Domain Controllers, and identifies any dead or missing replica references.
  5. Open ADSI Edit (adsiedit.msc), connect to the Application Directory Partition for DomainDnsZones (connection point: DC=DomainDnsZones,DC=<domain>,DC=<tld>) and ForestDnsZones (DC=ForestDnsZones,DC=<forest>,DC=<tld>). Navigate to the partition root object and inspect replication-related attributes (e.g. msDS-NC-Replica-Locations, msDS-NC-RO-Replica-Locations) for references to DCs that no longer exist.
    Identifies orphaned or dead replica entries in partition properties that cause the DNS Server service to fail when contacting unreachable replication targets.

Resolution path

Prevention

Tools

References

DNSActive DirectoryWindows Server 2016Windows Server 2019Windows Server 2022Event ID 4015Dynamic DNS UpdateApplication Directory PartitionDomainDnsZonesForestDnsZonesAD ReplicationADSI EditntdsutilDomain ControllerDHCPrepadmindcdiagDNS ServerStale ReplicaP2L2L3