secynic / ipwhois

Retrieve and parse whois data for IPv4 and IPv6 addresses
https://ipwhois.readthedocs.io/en/latest
BSD 2-Clause "Simplified" License
555 stars 121 forks source link

DeprecationWarnings #294

Closed Lionqueen94 closed 3 years ago

Lionqueen94 commented 3 years ago

i'm getting some DeprecationWarnings in ipwhois, I hope you can have a look at this.

/.../python3.6/site-packages/ipwhois/net.py:223: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead
  data = self.dns_resolver.query(self.dns_zone, 'TXT')
/.../python3.6/site-packages/ipwhois/net.py:265: DeprecationWarning: please use dns.resolver.Resolver.resolve() instead
  data = self.dns_resolver.query(zone, 'TXT')

Thanks in advance!

secynic commented 3 years ago

Related to PR #291.