You can do something like this with my NetDig tool at
www.mvptools.com. You
could also probably do it with nslookup, but did not try it. In your
IPs.txt text file, add "set do" to the first line and "exit" as the last
line. Make sure your IP addresses start in first char pos. Then just Pipe
your file into NetDig in interactive mode like below.
ips.txt File
<TOF> // Do not type this.
set do
192.168.0.221
192.168.0.2
....<More IPS>...
9.9.9.9
1.1.1.1
exit
<EOF> // Do not type this.
C:\Temp>type ips.txt | netdig -i > out.txt
Then just use something like find to clean up the non-Ptr stuff. You may
need to clean more up, but this will get you close I think.
C:\Temp>type out.txt | find "PTR"
Cheers!