Program to check a list of servers for its IPs in rDNS

From a file that has a list of servers, check that each of its public ip
addresses resolve to to something in rDNS.