You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
Which version of dnspython is expected? I have
python3.8/site-packages (2.4.2)
on Ubuntu and I get this error usingresolve()
.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.htmlhttps://github.com/MISP/misp-warninglists/blob/e868e50c461b2e57c0c4306bad622bc7f658ce39/tools/generate-crl-ip-domains.py#L53C11-L53C11
The text was updated successfully, but these errors were encountered: