Given 1 or more name servers, (1,2,3, 4 or more) this script should compare DNS resolutions by these name servers for a list of hosts provided in a text file as an argument. Script should capture all IP addresses resolved (if more than 1) for same domain.
It should provide an output like:
[login to view URL] is resolved to ip addresses:
ip1, ip2 by nameserver1
ip1, ip2 by nameserver2
ip1, ip2 by nameserver3
[login to view URL] is resolved to ip addresses:
ip1, ip2 by nameserver1
ip1, ip2 by nameserver2
ip1, ip2 by nameserver3
[login to view URL] is resolved to ip addresses
ip1, ip2 by nameserver1
ip1, ip2 by nameserver2
ip1, ip2 by nameserver3
and so on.
If any domain is not resolved to same Ip address by different name servers, it should provide a warning like:
warning. inconsistent DNS resolution for domain1.com. Please check it for any error.
Script could be written either in Perl or in Python.
I have 16 years of experience in web hosting, server administration and php programming
See my previous works at
https://www.freelancer.com/u/Netfreehost
Message me, let's discuss the project.