Steps
- For an authorized HTTPS URL, run curl -4 -sS -o /dev/null --max-time 10 -w '%{http_code}\n' 'URL', then repeat with -6. On Windows use curl.exe and replace /dev/null with NUL.
Interpretation
Record errors and proxy use. If IPv6 fails, first check whether the target has an AAAA record and the network has IPv6 connectivity. HTTP or SOCKS proxies may resolve the target remotely, so interpret -4/-6 according to the actual connection endpoint. Repeat before attributing failure to one address family.