För att lista DNS records med DNScmd kan man göra på följande sätt..

Forward:

dnscmd /enumrecords test.contoso.com test /additional

 

Reverse: i detta fallet för 192.168.1.X

DNSCMD /enumrecords 1.168.192.in-addr.arpa @

 

Dessa går att kombinera med ex FIND

DNSCMD /enumrecords 1.168.192.in-addr.arpa @ | find /I "36 " >> ut.txt"

 

Mer om DNScmd