IPv6 Proxies for CDN Testing: AAAA and Dual-Stack Fit

Edward, Content Editor at ColdProxy10 min read
Fact-checked against ColdProxy product data

A transparent network device sends blue light through a glass prism that splits it to three small edge servers on a dark surface.
Updated

IPv6 proxies for CDN testing show how your site behaves for visitors who arrive over IPv6, beyond whether a DNS record exists. A green AAAA check tells you DNS advertises an IPv6 destination. It tells you nothing about whether the edge answers, the cache behaves the same, or a login survives the round trip. If your office network or CI runner has no IPv6, you cannot answer those questions from where you sit.

Your CDN's request logs record each visitor's address, so you can count your own IPv6 share.

Why CDN testing needs IPv6 coverage now

A CDN can serve visitors over IPv6 while it talks to your origin over IPv4, so an IPv6 visitor test checks the edge and the origin leg needs its own check. Cloudflare's IPv6 compatibility documentation says IPv6 compatibility is on by default and Cloudflare generates the AAAA records. It also says that when an origin has both an IPv4 and an IPv6 address, Cloudflare prefers IPv4 for the origin connection.

Fastly's dual-stack documentation shows the same split. It says that once dual-stack is enabled, clients connect over whichever protocol is faster, and that most modern clients run Happy Eyeballs, which prefers IPv6 when both perform the same. It adds that Fastly-to-origin connections can use IPv6, set in the host settings. Your own connection shows you one address family; a visitor on another network, resolver or browser can land on the other.

AAAA records are only the first check

RFC 3596 defines the AAAA record as the DNS record that stores one 128-bit IPv6 address. Most public IPv6 delivery needs it, but DNS can be correct while the application path is broken. Each layer proves one thing and stops there:

  • An AAAA lookup proves the hostname advertises an IPv6 destination. It does not prove the site responds as it should to IPv6 visitors.
  • An IPv6 HTTP response proves the edge accepts an IPv6 request. It does not prove every route, cache rule, redirect and asset path works.
  • A header comparison proves IPv4 and IPv6 return the same status, cache state and security headers. It does not prove the origin side is identical.
  • An application flow test proves login, checkout or an API call works over IPv6. It does not cover every location, network and device.

Where IPv6 proxies fit in the test plan

You may not need a proxy. If your laptop or CI runner has native IPv6, a curl -6 request with no proxy tests the IPv6 visitor path from that one network, and a DNS tool answers the AAAA question.

Use a proxy in these cases:

  • Your own network has no IPv6.
  • You need the IPv6 view from other locations or from a US residential IPv6 route. CDN edges and rules can differ by region and network.
  • You need repeatable runs from the same exit address. Both IPv6 plans offer sticky sessions from 5 seconds to FOREVER.

What to compare between IPv4 and IPv6

Send the same request over both families and record the differences. Each row is one leg of the delivery path or one behaviour that can differ.

What to compare between IPv4 and IPv6
Leg or behaviourQuestionHow to checkEvidence to keep
DNSDoes the hostname publish AAAA records, directly or through the CDN's CNAME?A dig AAAA lookup or the IPv6 Checker, without a proxyRecord set, plus the TTL from dig
Visitor to edge, IPv6Does the edge answer IPv6 clients?Request through an IPv6 plan whose exit you have confirmedStatus, final URL, headers
Visitor to edge, IPv4What does the baseline look like?Direct request forced to IPv4The same fields
Edge to originWhich family does the CDN use to fetch from your origin?The CDN's origin settings and your origin access logSource addresses in the origin log
CacheDo both families hit the same cache state on the same edge?Send the same GET twice per family; compare the cache status header, Age and VaryValues on the first and second request
WAF and security headersDo the same rules apply to both families?Compare 403 and 429 responses, challenge pages and security headersStatus, body size, HSTS and CSP
RedirectsIs the redirect chain the same?Follow redirects; log the hop count and final URLEach Location hop
TLSDoes the edge serve the same certificate to both families?Verbose curl outputSubject, names covered, expiry
AssetsDo images, scripts, fonts and API calls load over IPv6?List every hostname the page loads from and check each one's AAAA recordAAAA result and status per hostname
Signed-in flowsDo login, session cookies and API auth work over IPv6?A test account in your own applicationSession cookie, API status codes

Three rows need care:

  • Edge to origin. A request from the visitor side cannot show which family the edge used to reach your origin. The source addresses in your origin log belong to the CDN, and their family tells you what that leg carries.
  • DNS and assets. Both ColdProxy IPv6 plans keep requests to supported CDN-fronted domains on IPv6 even when the domain publishes no AAAA record. A successful proxied request to such a host shows that the edge answers over IPv6. It does not show that your DNS advertises IPv6 to visitors, so run the AAAA check on its own. The IPv6 reachability guide explains which targets the IPv6 plans reach.
  • Signed-in flows. Test them separately from the public homepage, with accounts and flows you own or are authorized to test, because session cookies and cached private pages fail in ways a public page does not show.

How to confirm the exit family before you compare

The plan you connect through sets the exit family. Residential IPv6 and Datacenter IPv6 exit over IPv6 only, with no IPv4 fallback. The -4 and -6 flags in curl choose how your machine reaches the proxy gateway. With an HTTP proxy, the gateway resolves and connects to the target, so those flags do not change the family the target sees.

Confirm the exit with ColdProxy's IP-info endpoints. One hostname answers only over IPv4, the other only over IPv6, and both return JSON with ip and version fields:

Shell
# IPv6 endpoint through your IPv6 plan: "version" should read "IPv6"
curl -s -x "http://USERNAME:PASSWORD@gw-2312.coldproxy.com:30000" \
https://api6.vipv6proxy.com/api/checker/my-ip
# IPv4 endpoint through the same plan: expect an error, because an IPv6 exit has no IPv4 route
curl -sS -m 15 -x "http://USERNAME:PASSWORD@gw-2312.coldproxy.com:30000" \
https://api.vipv6proxy.com/api/checker/my-ip

If you take the IPv4 baseline through a proxy too, such as a Residential IPv4 plan for a view from another country, check that connection against the IPv4 endpoint first. The proxy verification guide covers browser tools for the same checks.

A practical CDN testing sequence

Work in this order so a green result at one step cannot hide a failure at another:

  1. Look up the AAAA record for the hostname and every asset hostname the page loads.
  2. Confirm the exit family of each route you will use.
  3. Compare IPv4 and IPv6 responses for the homepage and one important deep URL.
  4. Repeat each request until the cache state settles, then compare cache headers.
  5. Run the smallest signed-in journey your own policy allows.
  6. Change one variable at a time (plan, location, session mode or hostname) so a failure points at one cause.

For step 3, take the IPv4 baseline from your own connection with no proxy, where -4 does force the family, and send the IPv6 request through your IPv6 plan. The two requests reach the CDN from different places, so a cache, redirect or WAF difference can come from location rather than address family. Before you report one as an IPv6 bug, rerun the IPv6 request from the Datacenter IPv6 location closest to your own network.

Run the comparison:

Shell
# Replace with a page on your own site
URL="https://www.example.com/pricing/"
# IPv4 baseline: your own connection, forced to IPv4, no proxy
curl -4 -sS -L -o /dev/null -D v4-headers.txt \
-w 'v4 %{http_code} redirects=%{num_redirects} final=%{url_effective}\n' "$URL"
# IPv6 path: through your IPv6 plan (the plan sets the exit family)
curl -sS -L -o /dev/null -D v6-headers.txt \
-x "http://USERNAME:PASSWORD@gw-2312.coldproxy.com:30000" \
-w 'v6 %{http_code} redirects=%{num_redirects} final=%{url_effective}\n' "$URL"
# Show the headers that matter in each file
for f in v4-headers.txt v6-headers.txt; do
echo "== $f"
grep -iE '^(location|cache-control|age|vary|cf-ray|x-served-by|x-amz-cf-pop|cf-cache-status|x-cache|strict-transport-security|content-security-policy):' "$f"
done

Three notes on the output:

  • The commands send a GET and discard the body, because a visitor's page load is a GET and a HEAD request can report a different cache status.
  • Through an HTTP proxy, v6-headers.txt starts with the gateway's reply to the tunnel request, and each new connection during the redirect chain adds another. The target's headers follow each one.
  • Compare cache state only when both responses come from the same edge. The edge shows in the cf-ray suffix on Cloudflare, X-Served-By on Fastly and X-Amz-Cf-Pop on CloudFront; cache status is cf-cache-status on Cloudflare and X-Cache on Fastly and CloudFront. If the edges still differ after the rerun from the nearest Datacenter IPv6 location, record a cache difference between two edges as expected.

HTTPS runs end to end inside the proxy tunnel, so curl -v through the proxy shows the certificate the edge serves to IPv6 visitors. To test one Datacenter IPv6 location, add location tags to the username, for example user-country-de-city-berlin.

When to retest

Each of these changes can affect one family and not the other. Rerun the matching rows of the matrix:

When to retest
ChangeRows to rerun
DNS: new CNAME, AAAA records added or removed, a new DNS providerDNS, visitor to edge for both families
CDN configuration: proxy status, IPv6 setting, new zone or serviceVisitor to edge, cache, WAF
Cache key: Vary, query-string, cookie or device rulesCache for both families, signed-in flows
Certificate: renewal, added hostnames, a new issuerTLS for the main hostname and every asset hostname
Origin: new address, IPv6 added to the origin, firewall or allowlist changesEdge to origin, signed-in flows, redirects
WAF or redirect rulesWAF and security headers, redirects

Check origin allowlists after any CDN change. A firewall that lists only the CDN's IPv4 ranges can start rejecting origin fetches once the CDN reaches the origin over IPv6.

Residential IPv6 vs Datacenter IPv6 for CDN tests

Pick the route that matches the question:

  • "Does my CDN edge answer over IPv6 across regions?" Use Datacenter IPv6. One order includes all 45+ supported locations, among them US metros, Toronto, London, Frankfurt, Amsterdam, Paris, Tokyo, Singapore and Sydney, each with a private /48 subnet.
  • "Does the site behave as expected from a US residential IPv6 route?" Use Residential IPv6. It is USA-only and exits from US residential IPv6 addresses rather than datacenter ranges, with an included /32 subnet. For a customer-facing site, run the repeatable baseline on Datacenter IPv6 and recheck key paths here.
  • "Is the target IPv4-only and not behind a supported CDN?" No IPv6 plan reaches it. Use a Residential IPv4 plan for that target.

Both IPv6 plans share the same controls. Throughput follows the Mbps speed tier you buy, with unlimited traffic during the purchased period. They support HTTP, HTTPS and SOCKS5: HTTP and HTTPS run over TCP, and UDP goes through SOCKS5. Tests through an HTTP proxy cover HTTP/1.1 and HTTP/2, not HTTP/3. You get 1 to 5,000 ports and User:Pass or IP authentication with up to 50 whitelisted IPs.

For current plans, see the ColdProxy pricing hub. Residential IPv6 can be bought for one hour and Datacenter IPv6 for one day, so a short paid window covers a first run of the matrix. Free trials may be available after individual review; ask ColdProxy on Telegram or in a support ticket. Daily plans are non-refundable. Weekly and monthly plans are refundable only for a verified technical issue on ColdProxy's side. If a weekly or monthly plan was activated and used for one day or less, the daily portion is deducted at the plan's daily rate and the remaining balance is refunded.

Limitations to keep in mind

Keep these limits in your test report:

  • A proxy test is a controlled route. It does not sample every ISP, browser, device or resolver the way real-user monitoring does.
  • Residential and datacenter routes can get different responses, and some sites vary content by location, network or sign-in state on purpose. Treat a disagreement as a finding to investigate.
  • An edge that answers IPv6 and fetches over IPv4 can be a valid setup, but your origin is not IPv6-ready until you test that leg.
  • Test the hostnames, assets and flows you own or are authorized to test.

Frequently Asked Questions

Do I need IPv6 proxies if my CDN already supports IPv6?

Often, yes. CDN support means the platform can serve IPv6. It does not prove that your hostname, rules, redirects, cache keys, asset hostnames and signed-in flows work for IPv6 visitors. If your network has native IPv6, you can test that path without a proxy; a proxy adds other locations and a US residential IPv6 route.

Does curl -6 through a proxy test the IPv6 path?

Not because of the flag. With an HTTP proxy, -6 only makes curl reach the gateway over IPv6. The plan sets the family the target sees, so an IPv6 plan tests the IPv6 path with or without -6.

Can IPv6 proxies reach IPv4-only sites?

Only when a supported CDN fronts the site. Otherwise an IPv6 exit has no route to an IPv4-only host, and a Residential IPv4 plan is the right tool. The IPv6 compatibility checklist walks through checking a target list before you buy.

Your next step

Run your hostname and its asset hostnames through the free IPv6 Checker to settle the DNS row. Then run the rest of the matrix on Datacenter IPv6: one daily plan includes every supported location, so you can compare edges across regions in a single run.

ColdProxy

Edward

Content Editor at ColdProxy

We check every draft against ColdProxy's product facts, live pricing and copy rules before publishing. Read how we write.