Troubleshooting

Users report that a website takes about 30 seconds to load from a Linux workstation and then works. On the workstation, curl -4 returns immediately, while curl -6 hangs until it times out. The site name has both A and AAAA records, and the workstation has a global IPv6 address and an IPv6 default route via the local router. What is the MOST likely cause?

Show the answer

Correct answerC. The client tries the IPv6 address first, but IPv6 traffic is dropped beyond the local router, so each attempt times out before it falls back to IPv4

The name has an AAAA record, so the client tries IPv6 first. The local route exists, but IPv6 traffic is dropped upstream, so the attempt times out before the client falls back to IPv4. NXDOMAIN would make the lookup fail outright, not delay and then succeed. Fast curl -4 results also rule out an IPv4 problem.