A few days ago, I had to query over 100 DNS records whether forward & reverse records are working fine. nslookup over 100 records is time-consuming and daunting task for a system admin. So, I decided to write the powershell script to automatic this task. Hope it useful to others.
For beginners new to powershell,
1) Copy the below code & put into file that has .ps1 extension, (i.e, Find_DNS_Forward_Reverse.ps1)
2) Put the host names in the hostnames.txt in the same directory as powershell script.
3) Run the script, it will ask for input parameters.
Code as below:
Interesting Article. Hoping that you will continue posting an article having a useful information. Find DNS records
ReplyDeleteNice Blog, Best microsoft office 2010 professional for Mac Home and Business edition is a powerful suite which fulfils the productivity applications, written for Mac OS X.
ReplyDelete