Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS over HTTPS (DoH) #8431

Open
1 task done
Commandcracker opened this issue May 30, 2024 · 3 comments
Open
1 task done

DNS over HTTPS (DoH) #8431

Commandcracker opened this issue May 30, 2024 · 3 comments

Comments

@Commandcracker
Copy link

Is your feature request related to a problem?

I would like to use Mullvad as my DNS resolver, but I can't use the AsyncResolver because Mullvad only supports DoH or DoT.

Describe the solution you'd like

I think the best solution would be to have a class in aiohttp.resolver for it.

Describe alternatives you've considered

An alternative solution would be to make this into an external library, but I think a "basic" feature like DoH should be provided by aiohttp.

Related component

Client

Additional context

I was able to find a library called aiohttp-doh that adds DoH support to aiohttp, but it is outdated and does not work anymore.

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct
@Commandcracker
Copy link
Author

Commandcracker commented Jun 2, 2024

I have found some related issues: #7922, #6202.
dnspython would provide propper DoH support.

@Dreamsorcerer
Copy link
Member

aiohttp-doh looks pretty trivial, I wouldn't expect it to be difficult to update it. Then maybe the resolved could be included here if you do manage to get it working. Otherwise, someone will need to look at dnspython support or making a PR to aiodns.

@bdraco
Copy link
Member

bdraco commented Sep 7, 2024

porting aiohttp-doh is probably the way to go. dnspython is a large dep and is not a good fit for async use cases (rthalley/dnspython#1083)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants