Skip to content
RawBill

How Browser Network Diagnostics Actually Work

A technical breakdown of what browser-local network checks can accurately measure — dual-stack IPv4/IPv6 exit, WebRTC STUN mapping, HTTP Resource Timing phases, and public DNS answers — and where server-side MTR is still required.

Execution Model
100% Browser-Local · No Backend Proxy
Measured Signals
IPv4/IPv6 · WebRTC STUN · Resource Timing
Updated
2026-11-22
Measurement boundary: Every probe in a web browser runs from your current client network (including any active VPN or proxy), not from a remote datacenter. Browser HTTP timings are not ICMP ping or bidirectional MTR.

1. Dual-Stack IPv4 / IPv6 Exit & RDAP vs. Geolocation

Modern connections frequently route IPv4 and IPv6 traffic through different gateways or tunnels. Querying IPv4-only and IPv6-only public endpoints directly from the browser reveals split routing immediately — for example, when IPv4 exits through a proxy while IPv6 leaks through your local ISP.

Comparing the RDAP registration country against third-party IP geolocation shows whether an IP block is announced in a different country from its registry record. That mismatch is a factual observation, not an automated “fraud score” or a guarantee about streaming unlocks.

2. WebRTC STUN Mapping & Public DNS Boundaries

  • WebRTC ICE candidates: Comparing server-reflexive addresses and mapped ports across two independent public STUN servers approximates whether your NAT preserves port mappings or allocates symmetric ports, and surfaces public IPs exposed outside HTTP proxies. Modern browsers obfuscate LAN addresses as .local mDNS names, which should never be misclassified as public leaks.
  • Public DoH comparison vs. DNS leak: A browser cannot read your operating system’s stub resolver directly. Querying Cloudflare and Google DNS-over-HTTPS endpoints checks public resolver reachability and answer consistency, not whether your local OS leaks DNS queries.

3. HTTP Resource Timing vs. Server-Side Routing Tests

Using the browser’s PerformanceResourceTiming API on cross-origin endpoints that send Timing-Allow-Origin separates DNS lookup, TCP handshake, TLS negotiation, Time to First Byte (TTFB), and download duration. When a connection is reused over HTTP/2 or HTTP/3, DNS/TCP/TLS are skipped — those phases represent connection reuse, not zero network latency.

To evaluate a VPS datacenter’s real return path, packet loss, or BGP hop sequence back to your users, run ICMP/TCP MTR or NextTrace directly from the target server or vendor Looking Glass instead of relying on browser-only checks.

Run Browser-Local Diagnostics

Both tools run directly from your browser to public endpoints with zero account requirements and zero server-side logging of your IP or results.