How to check multiple Forward and Reverse DNS records in Powershell

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

2 thoughts on “How to check multiple Forward and Reverse DNS records in Powershell”

Leave a Reply

Your email address will not be published. Required fields are marked *