DNS SEARCH IN POWERSHELL
Get all
Resource Records in a Zone by Specified Host Name
Get-DnsServerResourceRecord
-ZoneName "abc.com" -Name "HostName"
Get all
records in a Zone by Specified host and Specified type
Get-DnsServerResourceRecord
-ZoneName "abc.com" -Name "hostname" -RRType "A"
Get all A
records in a specified zone
Get-DnsServerResourceRecord
-ZoneName "abc.com" -RRType "A"
Get all NS
records at the root of a specified zone
Get-DnsServerResourceRecord
-ZoneName "abc.com" -RRType "NS" -Node
No comments:
Post a Comment