AD-DNS-02 - Zones with only SOA/NS records should be retrievable
Overviewβ
DNS zones that contain only SOA (Start of Authority) and NS (Name Server) records are essentially placeholder zones. These zones:
- May indicate incomplete configuration: Zones created but never populated with actual records
- Could represent abandoned infrastructure: Services that were planned but never deployed
- Might be unnecessary: Adding complexity without providing value
- Can cause confusion: Administrators may assume these zones are actively used
Security Recommendationβ
Review zones with only SOA/NS records and either:
- Populate them with necessary resource records if they serve a purpose
- Delete them if they are no longer needed
- Document their purpose if they are intentionally placeholder zones
How the Test Worksβ
This test identifies DNS zones that contain only SOA and NS records, with no A, AAAA, CNAME, MX, SRV, or other record types.
Related Testsβ
Test-MtAdDnsZoneCount- Counts all zones with recordsTest-MtAdDnsEmptyZoneCount- Finds zones with zero records
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-DNS-02 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.DNS |
| PowerShell test | Test-MtAdDnsZonesWithOnlySoaNs |
| Tags | AD, AD-DNS-02, AD.DNS |
Sourceβ
- Pester test:
tests/ad/dns/Test-MtAdDnsZonesWithOnlySoaNs.Tests.ps1 - PowerShell source:
powershell/public/ad/dns/Test-MtAdDnsZonesWithOnlySoaNs.ps1

