Skip to content

replace resolver.query with resolver.resolve#19

Merged
michaelherold merged 3 commits intomichaelherold:masterfrom
moshfrid:master
Dec 31, 2021
Merged

replace resolver.query with resolver.resolve#19
michaelherold merged 3 commits intomichaelherold:masterfrom
moshfrid:master

Conversation

@moshfrid
Copy link
Copy Markdown
Contributor

Thanks so much for this great package. The dns.resolver.query function is deprecated https://github.com/rthalley/dnspython/blob/master/doc/whatsnew.rst#200 so this request is just aiming to replace it with the recommended dns.resolver.resolve.

@michaelherold
Copy link
Copy Markdown
Owner

Since they added this API in v2.0.0, we will need to bump the minimum version of the library. This also means we have to drop support for Python 2 (yay!), which necessitates a major version bump.

@michaelherold michaelherold merged commit 229db4f into michaelherold:master Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants