- 
                Notifications
    
You must be signed in to change notification settings  - Fork 185
 
Open
Description
Which version of dnspython is expected?   I have python3.8/site-packages (2.4.2) on Ubuntu and I get this error using resolve().
  File "/var/www/MISP/app/files/warninglists/tools/generate-crl-ip-domains.py",      line 53, in get_ips_from_domain
    answers = dns.resolver.resolve(domain, 'A')
AttributeError: module 'dns.resolver' has no attribute 'resolve'
I have to switch back to query() to get answers.    The docs for 2.4.2 indicate that either should work so I presume this is a setup issue on my part  https://dnspython.readthedocs.io/en/latest/resolver-class.html
Metadata
Metadata
Assignees
Labels
No labels