Troubleshooting

Dual-stack and Happy Eyeballs connection selection

A dual-stack client can use either address family. Connection selection considers address candidates and network behavior; it need not always choose IPv6.

Updated

Resolve both families

A service may have A and AAAA records. Their presence provides candidate addresses, not proof that the client has working routes to both.

Connection attempts

Happy Eyeballs describes a way for clients to try alternatives with controlled timing to reduce delays from a broken family. Implementation behavior can differ.

Test each separately

A working dual-stack website may hide a failure in one family by falling back to the other. Explicit family-specific observations are useful. A failed probe can also be caused by the test endpoint, so preserve uncertainty.

Observe the selected family

A hostname with A and AAAA answers can be reached over either IPv4 or IPv6, depending on available routes and connection timing. A dual-stack client may prefer a working alternative after delay or failure. Compare actual successful connections, not DNS record presence alone.

Step-by-step example

Compare the address families a client can use when a hostname offers both A and AAAA records.

  1. 01

    Read DNS records

    An A record advertises an IPv4 destination and AAAA an IPv6 destination. Their presence does not prove either connection will succeed.

    A
    192.0.2.10 (example)
    AAAA
    2001:db8::10 (example)
    Illustration · example, not a live result
  2. 02

    Understand racing or fallback

    A Happy Eyeballs implementation attempts suitable candidates according to timing and connection policies to reduce delay. It may use IPv4 or IPv6; the exact strategy is implementation-dependent.

    IPv6 path
    Connection attempt
    IPv4 path
    Connection attempt
    Selected
    Working path
    Illustration · example, not a live result
  3. 03

    Observe each family explicitly

    Check the current request's address and, if available, use the family-specific check for the other version. Failure to get a response is not proof that the device lacks that family.

    Current request
    One observed family
    Other family
    Explicit probe / unknown
    Illustration · example, not a live result

Check your understanding

A website connection using IPv4 does not by itself prove IPv6 is unavailable.

Try this tool →
Working through a learning path?

Record your own progress on this browser. No account required.

Learning paths →

Try this

Compare A and AAAA answers and the address family actually observed by My IP; avoid assuming DNS support equals reachability.

DNS record lookup →

Technical references