resolve-dnsname and PTR/reverse zones

the documentation sure says PTR is a valid option for -Type, but I can’t figure out how to query a reverse zone for ptr records.

resolve-dnsname 10.10.10.in-addr.arpa -Server MyDNSServer -type any

returns NS, SOA and A records for that 10.10.10.0 reverse zone, but no PTR records (yes, there are PTR records in the zone). so obviously

resolve-dnsname 10.10.10.in-addr.arpa -Server MyDNSServer -type ptr

returns nothing.

anybody know what i’m doing wrong?

Try Resolve-dnsname 0.10.10.10.in-addr.arpa -Type PTR instead. When specifying a reverse DNS record name using in-addr.arpa, you need to reverse the zone (0.10.10.10). Otherwise try using 10.10.10.0 as the -name. In my tests, both gave the same results.