Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Dynamic DNS record count should be retrievable

AD-DNS-05InfoActive DirectoryDNS

Part of Active Directory · Active Directory · DNS · All checks

Run this check
Invoke-Maester -TestId AD-DNS-05

Dynamic DNS allows clients to register and update their own DNS records. While convenient, excessive dynamic registration can indicate:

  • Security risks: Unauthorized devices may register in DNS
  • Configuration issues: Misconfigured clients may create excessive records
  • Stale data: Dynamic records may not be cleaned up properly
  • Resource exhaustion: Too many dynamic records can impact DNS performance

Understanding the ratio of dynamic to static records helps assess the security and hygiene of your DNS environment.

Operational

  • Enable secure dynamic updates only (require authentication)
  • Implement aging and scavenging to remove stale records
  • Monitor for unusual patterns in dynamic registration
  • Restrict dynamic updates to authorized systems only

This test counts DNS records that have timestamps (dynamic) versus those without (static) and reports the ratio.

  • Test-MtAdDnsZoneRecordDetails - Provides detailed record counts per zone
Every attribute of this check
FieldValue
Test IDAD-DNS-05
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureDNS
AreaInfrastructure hardening
Resource typeDnsZone
MITRE ATT&CKNone
PowerShell testTest-MtAdDnsDynamicRecordCount
ServicesActiveDirectory
PermissionsActiveDirectory:Remoting:Microsoft.PowerShell, ActiveDirectory:Cim:root\MicrosoftDNS:MicrosoftDNS_Zone:Read, ActiveDirectory:Cim:root\MicrosoftDNS:MicrosoftDNS_ResourceRecord:Read, ActiveDirectory:Cim:root\MicrosoftDNS:MicrosoftDNS_RootHints:Read