0X000026B1

Fix DNS_ERROR_DP_NOT_AVAILABLE (0X000026B1) in AD partitions

This error means a DNS server can't reach a specific Active Directory directory partition. The fix is checking replication and repadmin to restore it.

Quick answer

Run repadmin /syncall /AdeP on the DNS server, then check dnsdiag and verify the DomainDnsZones and ForestDnsZones partitions exist in Active Directory. If they're missing, you'll need to rebuild them via dnscmd or a metadata cleanup.

What's actually happening here

The DNS_ERROR_DP_NOT_AVAILABLE (0X000026B1) error shows up when a DNS server tries to read or write to an Active Directory–integrated DNS zone but can't find the corresponding directory partition. This typically happens on a domain controller running Windows Server 2012 R2 through 2022. The underlying cause is almost always replication failure — either the partition's msDS-NC-Replica-Locations attribute hasn't replicated to all domain controllers, or the partition itself got corrupted or deleted.

I've seen this most often after a domain controller was forcefully demoted without proper cleanup, or when a sysadmin accidentally ran dnscmd against the wrong server. The DNS service keels over because it expects those partitions to exist — they store the zone data. Without them, the server can't serve any AD-integrated zones.

Numbered fix steps

  1. Check which partition is missing. Open Event Viewer, go to DNS Server logs, and look for event ID 4000 or 4015. The event details will name the partition — usually DomainDnsZones or ForestDnsZones. Alternatively, run:
    dnscmd /EnumZones
    If you see zones with a status of “Failed” or “Unavailable”, that's your culprit.
  2. Verify replication health. On the affected DNS server, run:
    repadmin /showrepl
    Look for any failures under the partition that's causing the error. If you see “last success” older than the tombstone lifetime (default 180 days), the partition may have been garbage-collected. That's bad — means it's gone from AD entirely.
  3. Force a replication sync. Even if replication looks healthy, force it:
    repadmin /syncall /AdeP
    The /AdeP flag ensures it syncs all partitions, including the directory partitions. Wait 5 minutes, then check the DNS error again. If it clears, you dodged a bullet — it was just a delay.
  4. If step 3 didn't help, check the partition object itself. On a working domain controller (preferably the PDC emulator), run:
    repadmin /showobj * "CN=DomainDnsZones,CN=System,DC=yourdomain,DC=com"
    Replace with your domain DN. If you get “object not found”, the partition is truly gone. You'll need to recreate it.
  5. Recreate the missing partition. This is the nuclear option — do it only if you're sure the partition is gone. On the PDC emulator, run:
    dnscmd /CreateDirectoryPartition DomainDnsZones.yourdomain.com
    Then run:
    dnscmd /CreateDirectoryPartition ForestDnsZones.yourdomain.com
    Wait 15 minutes for replication, then run repadmin /syncall /AdeP across all domain controllers.

Alternative fixes if the main steps fail

  • Restart the DNS service — sounds basic, but I've seen it shake loose a stale handle:
    net stop dns && net start dns
  • Check the Netlogon service — it registers the SRV records for the partitions. If it's not running or misconfigured, DNS won't know where to look:
    net start | findstr Netlogon
  • Demote and re-promote the domain controller — if the partition is corrupted beyond repair, this is the cleanest fix. Demote via Server Manager, clean up metadata with ntdsutil, then re-promote. Yes, it's painful, but it guarantees a clean partition structure.
  • Use dnsdiag (from RSAT) to test DNS health:
    dnsdiag /test:dns
    It'll tell you exactly which zones are failing and why.

Prevention tip

Set up daily replication monitoring with repadmin /syncall /AdeP in a scheduled task. If a partition fails to sync for more than 48 hours, alert yourself. The worst time to discover a missing DNS partition is during an outage — it compounds the misery. Also, never, ever force-demote a domain controller without running ntdsutil metadata cleanup afterward. That's how partitions vanish.

Related Errors in Network & Connectivity
0X00000045 BIOS 0X00000045: Network Session Limit Hit WiFi keeps dropping on Windows 11 22H2—fix in 2 minutes Network Card Won't Initialize: 3 Fixes That Work WiFi keeps dropping? Fix cycling connect/disconnect

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.