How does dns-dump.ps1 work, and what fix was needed for newer Windows systems?
dns-dump.ps1 obtains DNS records by querying LDAP for DNS zones and decoding the binary DNS record data to extract actual content. The original script failed on Server 2008 R2 and Server 2012 R2 because its LDAP query statement needed modification. The article provides a patched version and links to the updated script. For the implementation details, see the dns-dump section and the related PowerView article.
dns-dumpPowerShellLDAP querybinary DNS record decodingbug fixServer 2008 R2Server 2012 R2