DNS race.
Issues a HEAD request to 5 major hosts (Cloudflare, Google, Wikipedia, GitHub, OpenStreetMap). Records first-byte latency for each — surfaces a misbehaving DNS resolver or a single slow CDN.
HEAD requests include DNS + TCP + TLS + first byte. The number is full connection establishment time, not pure DNS — but DNS is the only path-dependent variable across hosts on the same network.
For each host we issue a no-store HEAD request and time it end-to-end via performance.now(). Failures count as 'failed' in the per-host breakdown.
We test 5 geographically and operationally diverse hosts so a single slow CDN doesn't dominate the result. If all hosts time similarly high, your DNS resolver or local network is the bottleneck. If only one host is slow, that CDN's edge near you is the issue.