DNS records can be requested pretty easily from DNS servers via Powershell. All you need to do is to query the DNS server for  the DNS zones.


$DNSServer = "servername"
$zones = @(Get-DnsServerZone -ComputerName $DNSServer)

And then get all resource records for a given zone (or even all of them)


$records = $zones | ?{$_.ZoneName -like "*domain.com*"}
$records | Get-DnsServerResourceRecord -ComputerName $DNSServer

Advertisements