maester-tests/ad/dns/Test-MtAdDnsDynamicRecordCount.Tests.ps1

Describe "Active Directory - DNS Infrastructure" -Tag "AD", "AD.DNS", "AD-DNS-05" {
    It "AD-DNS-05: Dynamic DNS record count should be retrievable" {

        $result = Test-MtAdDnsDynamicRecordCount

        if ($null -ne $result) {
            $result | Should -Be $true -Because "DNS record data should be accessible"
        }
    }
}