]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Avoid instantiating Resolver when it is not necessary for DoH (#1123)
authorURenko <18209292+URenko@users.noreply.github.com>
Wed, 28 Aug 2024 13:42:57 +0000 (13:42 +0000)
committerGitHub <noreply@github.com>
Wed, 28 Aug 2024 13:42:57 +0000 (06:42 -0700)
commit3f4bf3d562deebf5f54f7e662fab53be7294e461
treeed3b2a664e5a056c9d82964137a8ecb388014f0a
parentc97da58d0bc125eba8cbab3e7a85ddbfa71611d2
Avoid instantiating Resolver when it is not necessary for DoH (#1123)

* Avoid instantiating Resolver when bootstrap_address is present for DoH

* Avoid instantiating Resolver when hostname is ip address for DoH
dns/_asyncio_backend.py
dns/_trio_backend.py
dns/asyncquery.py
dns/query.py