-
Notifications
You must be signed in to change notification settings - Fork 70
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
gethostbyname defaults to ipv6 #23
Comments
aiodns uses pycares which in turn uses c-ares. Can you check at what level the default is applied? |
Per c-ares/c-ares#70 |
Closing since it needs to be solved upstream. |
Hello, I see that in |
Possibly, PRs are welcome :-) |
bdraco
added a commit
to bdraco/aiodns
that referenced
this issue
Mar 26, 2024
bdraco
added a commit
to bdraco/aiodns
that referenced
this issue
Mar 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if it's a bug or intended behaviour, but it's bitten me and other users (probably #22) of
aiohttp
since they switched to family=0 per default. Most Linux distro's ship with IPv6 enabled (luckily) but most don't have a IPv6 route set up yet.Output:
Test:
The text was updated successfully, but these errors were encountered: