Tired of spending hours manually querying DNS records? A few days ago, I had to query over 100 DNS records to determine if both forward and reverse records were working properly. Making the nslookup over 100 records is a time-consuming and daunting task for a system administrator. Therefore, I decided to write a powershell script to automate the job.
You will need to put the hostnames in hostnames.txt file in the same directory as the script file and run the script.
.\Find_DNS_Forward_Reverse.ps1
![](https://1.bp.blogspot.com/-51xwrEj6SLg/VxCYssepZ0I/AAAAAAAAAB4/-CUBxH3pu0UUaOkfiTC1NH61GokC2LDAQCLcB/s640/find%2Bmultiple%2Bdns%2Brecords.jpg)
Unfortunatly I cannot see the link to download the script! 🙁
I have reattached the script. I also recommend you to check the advanced DNS check script in my another post.
https://www.scriptinghouse.com/2018/06/find-the-missing-mismatch-or-duplicate-dns-forward-and-reverse-records.html