How DetectRadar Works

Last updated:

Open DetectRadar to inspect your current exit IP (residential ISP vs. datacenter), ASN and 30-day ASN human traffic ratio, timezone and language consistency, DNS / WebRTC / IPv6 leaks, and browser fingerprint integrity. Below is the exact methodology behind each check.

What Is Checked

How DNS Leak Detection Works

The DNS Leak Test generates fresh random subdomains on every run to bypass local DNS caches and capture the actual recursive resolvers reaching our authoritative nameserver.

How WebRTC Leak Detection Works

WebRTC peer-to-peer connectivity can bypass browser proxies and expose real public or LAN IP addresses. The WebRTC Leak Test gathers browser ICE candidates via our self-hosted same-domain RFC 5389 UDP STUN server (stun:detectradar.com:3478) — avoiding third-party Google STUN dependencies, regional blockage, and split-tunnel routing mismatches — and compares exposed public IPs against your current exit IP without retaining candidate IPs.

How IPv6 Leak Detection Works

Both the IPv6 Leak Test and the home diagnostic probe dedicated IPv4-only (4.detectradar.com) and IPv6-only (6.detectradar.com) endpoints concurrently, without depending on WebRTC.

How Connection Characteristics Work (Beta)

The bottom strip of the home Network Identity card observes two independent transport signals on your live connection: same-window RTT Delta (HTTP RTT minus server-side TCP RTT) and Estimated MTU derived from peer TCP MSS (MSS+40 for IPv4, MSS+60 for IPv6) via read-only server kernel queries (NETLINK_SOCK_DIAG). Because both signals are orthogonal, output tags are non-mutually-exclusive (for example, a residential PPPoE proxy or a proxy node using a WireGuard exit can match two tags simultaneously):

Caveats: MTU 1492 is not exclusive to PPPoE, and PPPoE itself can support 1500 MTU; when a probe server’s own interface MTU is below 1500 (e.g. 1460 on some cloud VPCs), readings hitting that ceiling are marked clamped (mtu_clamped) and 1492 PPPoE vs. 1500 Ethernet cannot be distinguished; unclassified cellular connections may still trigger the neutral “Low MTU Link” badge; the current implementation inspects RTT delta and MSS/MTU only and does not claim OS TCP fingerprinting; and “No Obvious Anomalies” does not prove a direct connection or absence of a proxy. All Connection Characteristics readings and tags are Beta informational signals only and are excluded from risk scoring.

Scope & Privacy

Data Sources & Open Source

CLI & AI Agent Integration

When debugging proxy routing in a terminal, Git, or an AI coding assistant, query DetectRadar directly with curl and dig:

1. Check Terminal Exit IP (IPv4 / IPv6)

curl -s https://detectradar.com/en/
curl -s "https://4.detectradar.com/?lang=en"
curl -s "https://6.detectradar.com/?lang=en"

CLI requests return a concise plain-text summary including server-observed TCP estimated MTU when available (without HTTP RTT delta). For structured JSON, request /api/v1/ip?lang=en (also available on 4.detectradar.com and 6.detectradar.com, with optional connection metadata for peer_mss, est_mtu, and link characteristic). usage_type is strictly isp, hosting, or unknown, with Cache-Control: no-store. Default requests use fast local databases; append &deep=true for deep proxy checks (subject to a global daily quota with automatic local fallback).

2. Compare Browser vs. Terminal Egress

When troubleshooting why your browser and terminal route through different exits, click Compare Terminal in the Network Identity card on the home page to generate a 5-minute one-time pairing code and run:

curl -s https://detectradar.com/c/<code>

Your terminal receives an immediate plain-text comparison of both IPs, regions, ASNs, network types, MTU differences, and common split-tunnel causes, while the browser page updates automatically and includes the comparison in exported share summaries and cards (with IPs masked).

3. Test Terminal DNS Resolvers

# 1. Create a one-time probe subdomain
curl -s -X POST https://detectradar.com/api/v1/leaks/dns \
  -H "Content-Type: application/json" -d '{}'

# 2. Trigger a live lookup against test_domain
dig +short "r1.<test_domain>"

# 3. Wait 1–2s and fetch observed recursive resolvers
curl -s "https://detectradar.com/api/v1/leaks/dns/<id>?lang=en"

Standalone probes (not bound to a scan_id) return assessment.state: "unobserved" when no queries arrive, or "unknown" when resolvers are observed without a bound exit; compare dns_servers against your exit IP or submit { exit: { ip, country, network, asn, type }, resolvers, observed_rounds: 1, total_rounds: 1 } to POST /api/v1/leaks/dns/assessment (exit.network from /api/v1/ip isp/org, exit.type: "access" | "hosting" | "proxy", resolvers from dns_servers).

4. Let an AI Agent Run the Check

Share https://detectradar.com/en/SKILL.md with Antigravity, Claude Code, or Codex to automate terminal egress, IPv6, and DNS checks. CLI endpoints are unauthenticated and rate-limited per IP (avoid polling). They cannot observe browser-side HTTP RTT delta, WebRTC, timezone/language, or fingerprints — use the web app for browser checks.

Frequently Asked Questions

What is a DNS leak? Do Cloudflare 1.1.1.1 or Google 8.8.8.8 count as leaks?

A DNS leak happens when your traffic routes through a proxy or VPN, yet DNS lookups bypass the tunnel and go to a cross-region or local residential/mobile ISP resolver. Public DNS resolvers (Cloudflare, Google, Quad9, OpenDNS, NextDNS, AdGuard, AliDNS, DNSPod, etc.) and datacenter resolvers are exempt and are not flagged as ISP leaks.

What is the difference between a datacenter IP and a residential IP?

Residential IPs belong to consumer broadband or mobile ISPs, while datacenter IPs belong to cloud or hosting providers. Because datacenter ranges are often shared or automated, strict sites may trigger extra challenges. On the DetectRadar home page, the Network Identity card displays ISP vs. datacenter classification, ASN, ISP/organization, Cloudflare Radar 30-day ASN human traffic ratio, public blocklists, and open proxy ports.

What are WebRTC leaks and IPv6 leaks?

WebRTC can establish direct peer-to-peer connections (via STUN/ICE) that reveal local or real public IP addresses outside a browser proxy. An IPv6 leak occurs on dual-stack networks when a proxy only tunnels IPv4, allowing IPv6 traffic to exit directly through your local ISP. Use the dedicated WebRTC Leak Test and IPv6 Leak Test pages to inspect each stack independently.

Why do sites flag an environment even when the exit IP looks clean?

Sites often cross-check your exit IP against browser timezone, preferred language, DNS resolvers, WebRTC candidates, and WebGL renderer vs. OS consistency. DetectRadar checks these signals together in one report so mismatches are easy to spot.

Does the browser fingerprint check expose or store personal data?

Canvas rendering output is hashed locally in your browser into an irreversible hash before submission (raw pixels are never uploaded). Audio checks inspect only whether native AudioContext methods are overridden, and WebGL submits only the GPU renderer string to verify consistency with your declared OS. Shareable text summaries and PNG cards are rendered locally with full IP addresses masked automatically.