You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On some IPv4-only networks, DNS results sometimes include AAAA records. Most programs correctly handle this situation and fall back to the A record. For example, if you curl www.torproject.org, it uses the A or AAAA record depending on whether you are on a IPv6 or IPv4 network.
In other words, marcos is on an IPv6 network, curie isn't. curie's network does give out AAAA records however, which might be a mistake, but that's besides the point: IPv6 could be down for other reasons here, for example upstream routing issues, intermittent packet loss, etc.
This is not specific to curl, web browsers (tested in Firefox) also handle this gracefully. This is actually documented in a draft RFC (draft-grinnemo-taps-he, also known as Happy eyeballs) which has unfortunately expired but has been generally adopted widely.
oping (and, obviously noping) doesn't handle this correctly:
On some IPv4-only networks, DNS results sometimes include AAAA records. Most programs correctly handle this situation and fall back to the A record. For example, if you curl
www.torproject.org
, it uses the A or AAAA record depending on whether you are on a IPv6 or IPv4 network.On an IPv4-only network:
On an IPv6 (dual-stack) network:
In other words, marcos is on an IPv6 network, curie isn't. curie's network does give out AAAA records however, which might be a mistake, but that's besides the point: IPv6 could be down for other reasons here, for example upstream routing issues, intermittent packet loss, etc.
This is not specific to curl, web browsers (tested in Firefox) also handle this gracefully. This is actually documented in a draft RFC (draft-grinnemo-taps-he, also known as Happy eyeballs) which has unfortunately expired but has been generally adopted widely.
oping (and, obviously noping) doesn't handle this correctly:
For what it's worth, iputils-ping doesn't have the same bug, but that's only because it defaults to IPv4 instead, which isn't ideal:
... but that's a different question.
the
oping
manpage specifically advertises IPv6 support this way:And, for what that's worth, fping actually does the correct thing here:
(It should also be noted here that fping can use both IPv4 and IPv6 transparently, see the
-m
option, so the above quote is actually incorrect.)The text was updated successfully, but these errors were encountered: