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

Catch EPROTONOSUPPORT as a sign of no IPv6 as well #41

Merged

Conversation

KJTsanaktsidis
Copy link
Contributor

If IPv6 is disabled inside a freebsd jail, it seems this returns EPROTONOSUPPORT and not EAFNOSUPPORT. In both cases, we should simply try some other listed DNS servers.

Fixes #19928 (https://bugs.ruby-lang.org/issues/19928)

If IPv6 is disabled inside a freebsd jail, it seems this returns
EPROTONOSUPPORT and not EAFNOSUPPORT. In both cases, we should simply
try some other listed DNS servers.

Fixes #19928
@sorah sorah merged commit 5e2d487 into ruby:master Nov 24, 2023
15 checks passed
matzbot pushed a commit to ruby/ruby that referenced this pull request Nov 24, 2023
(ruby/resolv#41)

If IPv6 is disabled inside a freebsd jail, it seems this returns
EPROTONOSUPPORT and not EAFNOSUPPORT. In both cases, we should simply
try some other listed DNS servers.

Fixes [Bug #19928] https://bugs.ruby-lang.org/issues/19928

ruby/resolv@5e2d48708b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants