aio-libs / aio-libs/aiohttp

Replace aiodns with dnspython maybe?

Open
#6,202 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
16.5k
Forks
2.4k
Avg merge
17h 22m
Merged PRs (30d)
212

Description

### Is your feature request related to a problem?

Not a problem really but the replacement can simplify aiohttp internals a little; backward compatibility can be provided (I hope)

### Describe the solution you'd like

Use https://dnspython.readthedocs.io/en/latest/async-resolver.html
Use embedded caches https://dnspython.readthedocs.io/en/latest/resolver-caching.html as a replacement for home-grown `_DNSCacheTable`

### Describe alternatives you've considered

Keep everything as is, fix all found and future bugs :)

### Related component

Client

### Additional context

Have no idea when I can find time frame for the issue, feel free to contribute please

### Code of Conduct

- [X] I agree to follow the aio-libs Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.