Hi everyone,
I am starting to go snow blind looking at so many different posts/blogs etc and not made too much progress. Firstly I am not a programmer, I just do not have the mind set for it.
I am looking for a windows batch file that will do the following:
1) Perform forward & reverse (FQDN, Shortname, IP) lookup on a server list that I will provide as an input file. So that could be hosts_file.txt. This file will contain a list of server names.
2) Batch file reads the input file and creates an output file such dns_checked.csv in which I can open in Excel and review the results on mass.
example output file:-
Hostname | IP Address | FQDN | Shortname | Result
hostA | 10.4.19.25 | hostA.net | HostA | Pass or Fail
The reason I am doing this is that I find that several applications that we run depend really heavily on solid DNS (forward/reverse) lookups and if I had an output file displaying the failures as I have come across many entries where the PTR has not been set.
I have approx. 2700 hosts and I think that my fingers are starting to numb and also I am going blind doing this manually. Is there anyone out their kind enough to help me as I am not a scripting person. I am not also sure how we would handle multiple IP address for the same FQDN.
My brain is totally fried just thinking about it.
Best regards,
Andrew