How can I check what AD DNS Partitions my AD DNS server holds ?
dnscmd /EnumDirectoryPartitions which is a command line utility installed on a windows dns server. It will output
Example Output
Enumerated directory partition list:
Directory partition count = 2
DomainDnsZones.domain.local Enlisted Auto Domain
ForestDnsZones.domain.local Enlisted Auto Forest
Command completed successfully.
If you want more information about a zone then you can use the command :
dnscmd /DirectoryPartitionInfo DomainDnsZones.domain.local /detail
Example Output:
Directory partition info:
DNS root: DomainDnsZones.domain.local
Flags: 0x15 Enlisted Auto Domain
State: 0
Zone count: 3
DP head: DC=DomainDnsZones,DC=domain,DC=local
Crossref: CN=123abc30-1232-123c-1236-123abc189e52,CN=Partitions,CN=Configuration,
DC=domain,DC=local
Replicas: 1
CN=NTDS Settings,CN=SERVER1,CN=Servers,CN=DOMAIN,CN=Sites,CN=Configuration,
DC=domain,DC=local
Command completed successfully.