DEVICE FOR COLLECTING COMMUNICATION DESTINATION CORRESPONDENCE RELATION,METHOD FOR COLLECTING COMMUNICATION DESTINATION CORRESPONDENCE RELATION, ANDPROGRAM FOR COLLECTING COMMUNICATION DESTINATION CORRESPONDENCE RELATION
A communication partner correspondence relationship collecting device (100) includes a communication partner specifying unit (101) that specifies a subject communication partner whose correspondence relationships are to be collected; a DNS query transmission controller (102) that controls a DNS client such that the DNS client transmits a DNS query to the subject communication partner in a given cycle shorter than a cycle in which the IP address corresponding to the subject communication partner is changed and that collects IP addresses corresponding to the subject communication partner from responses to the DNS queries; and a correspondence relationship log information creator (103) that creates log information from the IP addresses corresponding to the subject communication partner, which are the IP addresses collected by the DNS query transmission controller (102), and at least one of a set of dates and a set of times at which responses are made to the DNS queries.