IPv4 Works but IPv6 Fails. How to Find the Cause
Use the same hostname for both tests. A second network helps you see whether the failure follows your connection or the service.
A website opens in one browser and hangs in another. A server works on Wi-Fi but fails on cellular. In either case, the working request may have used IPv4 while the failing one tried IPv6. Many clients can fall back to IPv4, so a site loading normally tells you only that one path worked. IETF guidance on IPv4 and IPv6 connection fallback.
Keep the hostname, URL, and port the same across both tests. First check which addresses DNS advertises, then find out which address family can reach the service.
1. Check A and AAAA records
Enter the exact hostname in DNS Lookup with the system resolver. An A answer supplies an IPv4 address and an AAAA answer supplies an IPv6 address. Test the full name the browser uses. The apex domain and www can point at different services.
Use DNS Record Explorer when you need to follow a CNAME or check TTLs. Select the same resolver the client uses when comparing results, particularly on a VPN or internal network. A public resolver may legitimately give a different answer for an internal service.
If there's no AAAA answer for a service you intend to run on native IPv6, check its DNS configuration. If there's an AAAA answer, confirm it points at the intended server or load balancer. An old IPv6 address can survive a migration after the A record has been corrected.
2. Compare connections to the same hostname
Open HTTP(S) Check with the full URL and look for separate IPv4 and IPv6 reachability results. Those side checks test TCP to the service port. The main request reports the HTTP result and TLS information for the connection it used. Verify that HTTPS itself also succeeds over IPv6.
From a terminal, force each address family while keeping the hostname the server expects. Replace the example URL with the same URL in both commands. If a redirect changes the hostname, repeat the comparison on the URL it points to.
curl -4 -sS -o /dev/null -w 'IPv4 HTTP %{http_code}\n' --max-time 12 https://example.com/
curl -6 -sS -o /dev/null -w 'IPv6 HTTP %{http_code}\n' --max-time 12 https://example.com/An HTTP response code from a direct HTTPS request means the connection reached the server and finished TLS. A timeout, TLS error, or name lookup error points to an earlier stage. If the client uses a proxy, the flags may select the address family used to reach that proxy. curl option reference.
Compare both address families
Replace the sample URL with the one that fails. Run the check on the affected network, then repeat on a second connection.
Get NetDebug Toolkit3. Repeat from another network
Run the same checks from the affected Wi-Fi network and another network, such as cellular. Include a second known working dual-stack site as a control. This helps you tell a client-side IPv6 problem from a service-specific failure.
| What you observe | Where to look next |
|---|---|
| Both sites fail over IPv6 on one network | Check the client's IPv6 configuration and default route. Check whether the router has an IPv6 uplink and advertises a usable prefix. |
| Only your site fails over IPv6 on both networks | Verify the AAAA record, the IPv6 listener on the service port, and the firewall rules for that address family. |
| IPv6 TCP connects, then TLS or HTTP fails | Check the certificate and proxy configuration on the IPv6 endpoint. Compare the response for the same hostname on IPv4. |
| Small requests work and larger transfers stall | Try Path MTU Discovery set to IPv6. Check tunnel MTU and handling of ICMPv6 Packet Too Big messages. |
A device can have an address beginning with fe80: on its local link without an IPv6 route to the internet. On IPv6-only networks, a DNS64 resolver can also synthesize an AAAA answer to reach an IPv4 service through NAT64. Record the resolver and network used for each test. IPv6-only networks and DNS64.
Frequently asked questions
Why does the website load even with broken IPv6?
Many clients try both address families and use the connection that succeeds first. Test each family explicitly to see which one is carrying the request.
Does an AAAA record prove IPv6 works?
An AAAA record supplies an IPv6 address. Test the service port and then the HTTPS request to verify the route, firewall, listener, and TLS configuration.
Should I test HTTPS using the IPv6 address directly?
Keep the hostname in the HTTPS URL so TLS and virtual hosting use the intended name. Use a family-specific test to select IPv6.
NetDebug Toolkit