Dual stack
Running IPv4 and IPv6 side by side. A dual-stack site answers on both, and a dual-stack device or proxy picks one for each connection, usually IPv6.
Updated 19 September 2026 · 15 primary sources
Dual stack means running IPv4 and IPv6 side by side on the same device, server or network. A dual-stack website publishes two DNS records for its name: an A record with its IPv4 address and an AAAA record with its IPv6 address. A dual-stack device can use either, and it chooses one for every connection.
The standards meant it as a transition step. The first one, of April 1996, called it a "dual IP layer", and its revision of October 2005 added "also known as dual stack". Thirty years later the transition is not finished. Of 202 sites our proxy guides cover, 80 ran both on 19 September 2026, 122 ran IPv4 only and none ran IPv6 only.
How a device picks IPv4 or IPv6
A dual-stack device asks DNS for both records. Since February 2003 the address selection rules have preferred IPv6 whenever the device has an IPv6 address of its own. That preference hurt when the device's IPv6 path was broken. The device waited "many seconds" before falling back to IPv4, and IPv6 was "frequently disabled in its entirety" to avoid the wait.
Happy Eyeballs, standardised in April 2012, fixed this. The device tries IPv6 first; if that has not connected after a short delay, it tries IPv4 as well and keeps whichever connects first. The revision of December 2017, by two Apple engineers, recommends a 250 millisecond delay and a 50 millisecond wait for the IPv6 answer from DNS.
A study published in October 2025 measured what clients really do. Every widely used browser preferred IPv6. Chromium-based browsers waited 300 milliseconds, Firefox 250 and curl 200, while Safari varied from 50 milliseconds to 5 seconds. The wget tool, version 1.21.3, did not fall back to IPv4 at all.
| Client or standard | Head start for IPv6 |
|---|---|
| Happy Eyeballs, RFC 6555, April 2012 | 150 to 250 ms recommended |
| Happy Eyeballs version 2, RFC 8305, December 2017 | 250 ms, plus 50 ms for the DNS answer |
| Chromium-based browsers, measured 2025 | 300 ms |
| Firefox, measured 2025 | 250 ms |
| Safari, measured 2025 | Varies, 50 ms to 5 s |
| curl, documented default | 200 ms |
| wget 1.21.3, measured 2025 | No fallback to IPv4 |
| Squid proxy server 5 and later, documented default | 250 ms |
Where dual stack came from
IPv6 got its DNS record before it got its transition plan. The AAAA record, which "stores a single IPv6 address", was defined in December 1995. The dual IP layer followed in April 1996, described as "the most straightforward way" for IPv6 devices to stay compatible with IPv4-only ones.
World IPv6 Day, on 8 June 2011, was a one-day event. On 6 June 2012, at World IPv6 Launch, internet providers, home router makers and web companies turned IPv6 on "permanently". Happy Eyeballs was published that April, two months earlier, so that a broken IPv6 path would stop costing visitors "many seconds".
The work continues. In February 2025 the IETF set up a working group for a third version, which adds QUIC and encrypted connection setup to the race. It was still a draft in September 2026.
Which sites answer over IPv6
On 19 September 2026 we looked up the DNS records of the sites our proxy guides are about. Of the 202 with an address, 80 had both records, 122 had an A record only and none had only an AAAA record.
The IPv4-only side includes big proxy targets such as GitHub, Twitch and Roblox as well as the retailers below. For 26 sites the bare domain and the www name differed, so check the exact name you will request.
| Records | Sites | Examples |
|---|---|---|
| A and AAAA (dual stack) | 80 (39.6%) | Amazon, Google, Facebook, Netflix, Spotify |
| A only (IPv4 only) | 122 (60.4%) | Walmart, Target, Nike, eBay, Booking.com |
| AAAA only (IPv6 only) | 0 | None |
Dual stack and proxies
With a proxy in the path, your own device does not pick IPv4 or IPv6 for the target site. The proxy server looks up the name and connects, so its stack decides. The documentation of older Squid versions says "Squid prefers to contact websites over IPv6". Since version 5, Squid starts with whichever DNS answer arrives first and tries the other family 250 milliseconds later by default.
So a dual-stack proxy can reach Amazon over IPv6 and Walmart over IPv4, and the two sites see different exit addresses. Over IPv6 a site may count the proxy's whole /64 as one visitor. Apple's iCloud Private Relay works the same way: its exit server resolves the name and picks the family, not Safari.
SOCKS5 lets you choose who resolves. With curl, socks5:// resolves the name on your machine and hands the proxy an address, while socks5h:// lets the proxy resolve it. We tested this on a dual-stack machine. Plain socks5:// put an IPv6 address into the request and a public proxy without IPv6 refused it; socks5h:// returned 200.
How HProxy handles it
hproxy.com answers over IPv4 and IPv6, so our proxy IP checker, opened through a proxy, shows which of the two that proxy used. An IPv6-only proxy reaches only the sites with an AAAA record.
Frequently asked questions
What is dual stack?
Running IPv4 and IPv6 side by side on one device, server or network. A dual-stack site publishes an A record and an AAAA record, and a dual-stack device can reach it over either.
What is Happy Eyeballs?
The method dual-stack devices use to pick a protocol without making people wait. The device tries IPv6 first and, if that has not connected within about 250 milliseconds, tries IPv4 too and keeps whichever connects first.
Does my browser use IPv4 or IPv6?
IPv6, when both you and the site have it and it works. Every widely used browser prefers IPv6, and most give it a head start of 250 to 300 milliseconds before also trying IPv4.
How do I check if a website supports IPv6?
Look up its AAAA record, for example with dig AAAA or nslookup -type=AAAA followed by the name. No AAAA record means the site answers over IPv4 only. Check the exact name, because www and the bare domain can differ.
Can an IPv6 proxy reach IPv4-only websites?
No. A proxy that exits only over IPv6 can reach only sites with an AAAA record. Of the 202 sites our proxy guides cover, that rules out 122. A dual-stack proxy reaches both kinds.
Is Dual-Stack Lite the same as dual stack?
No. Dual-Stack Lite, from August 2011, gives a home native IPv6 and carries its IPv4 traffic inside IPv6 to the provider. The provider shares IPv4 addresses among its customers with NAT. The home gets no IPv4 address of its own, as with carrier-grade NAT.
What is an AAAA record?
The DNS record that holds a name's IPv6 address, as the A record holds its IPv4 address. It was defined in December 1995 as record type 28.
Sources
- RFC 1886: DNS Extensions to support IP version 6, IETF, 1995-12.
- RFC 1933: Transition Mechanisms for IPv6 Hosts and Routers, IETF, 1996-04.
- RFC 3484: Default Address Selection for Internet Protocol version 6 (IPv6), IETF, 2003-02.
- RFC 4213: Basic Transition Mechanisms for IPv6 Hosts and Routers, IETF, 2005-10.
- RFC 6333: Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion, IETF, 2011-08.
- RFC 6555: Happy Eyeballs: Success with Dual-Stack Hosts, IETF, 2012-04.
- RFC 6724: Default Address Selection for Internet Protocol Version 6 (IPv6), IETF, 2012-09.
- RFC 8305: Happy Eyeballs Version 2: Better Connectivity Using Concurrency, IETF, 2017-12.
- Happy Eyeballs Version 3: Better Connectivity Using Concurrency (Internet-Draft, revision 04), IETF, 2026-09-19.
- Analysing the state of Happy Eyeballs implementations, APNIC Blog, 2025-10-07.
- curl man page: --happy-eyeballs-timeout-ms, --socks5, --socks5-hostname, curl, 2026-09-17.
- Squid configuration directive dns_v4_first, Squid, 2025-04-08.
- Squid configuration directive happy_eyeballs_connect_timeout, Squid, 2025-04-08.
- World IPv6 Launch, Internet Society, 2026-09-19.
- IPv6 support of the 202 sites covered by our proxy guides, HProxy measurement, 2026-09-19.
Back to the full glossary.