domainaware / checkdmarc

A parser for SPF and DMARC DNS records
https://domainaware.github.io/checkdmarc
Apache License 2.0
251 stars 77 forks source link

_get_reverse_dns uses system's DNS resolver for PTR #59

Closed slavkoja closed 3 years ago

slavkoja commented 3 years ago

I noticed this, because `checkdmarc' reports warning with my internal name for public IPv6 (which has no public PTR record), then i confirmed it by network sniffer.

It uses results = socket.gethostbyaddr(ip_address) and have to use "real" PTR DNS query, dnspython supports its.