Ads and third-party tracking — privacy and performance gains from DNS-level blocking
What this threat is
This is the category that does not have a "threat actor" in the malware sense, but matters enough that most SecDNS deployments turn it on. It covers two related surfaces:
- Advertising networks. Third-party ad servers, programmatic exchanges, video pre-roll providers, banner networks and the rest of the ecosystem that exists to deliver creative units onto pages.
- Third-party tracking. Analytics SDKs, fingerprinting endpoints, session-recording services, cross-site identity graphs and the long tail of marketing-attribution platforms.
The privacy argument is well rehearsed: blocking these domains stops a large class of data collection at the source. The performance argument is the one that tends to convince IT teams — fewer connections, less JavaScript executing, faster page loads, less Wi-Fi congestion, and visibly better battery life on student laptops and field tablets.
How it abuses DNS
"Abuse" is a strong word for legitimate ad and analytics businesses, but from a network operator's point of view the DNS pattern looks the same regardless of intent:
- Hundreds of unique hostnames per page. A typical news article makes DNS lookups to between 30 and 80 distinct ad and tracker domains in addition to the article's own infrastructure.
- Programmatic auction fan-out. Real-time bidding exposes the page URL and visitor identifiers to dozens of ad exchanges simultaneously, each on its own hostname.
- CNAME cloaking. Tracking providers offer subdomains of the publisher's own apex (
metrics.publisher.comCNAMEd to a tracking SaaS), specifically to evade hostname-based blocklists. - App-embedded SDK telemetry. Mobile apps and smart-TV apps generally use hard-coded tracker hostnames that are invisible to browser-based tools but readily blocked at the DNS layer.
A DNS resolver sits in the right place to see all of this regardless of which device made the lookup.
How SecDNS blocks it
The default "Ads and tracking" category combines:
- Curated upstream lists. EasyList, EasyPrivacy, Peter Lowe's blocklist, Disconnect, the major hosts-file projects, and a number of region-specific lists. Each list is scored against a known-good corpus before promotion to the default policy.
- CNAME-cloaking detection. Our resolver follows the CNAME chain and applies blocklist logic to every label in the chain, not just the apex. A
metrics.publisher.comCNAMEd to a known tracker still gets blocked. - App SDK telemetry list. A separate maintained list focuses on the tracker hostnames used inside mobile apps, smart-TV firmware and IoT devices.
- Per-profile presets. Each profile can pick "strict", "balanced" or "lenient" to control the aggressiveness of the lists. Strict is the privacy-maxed default; balanced trims the most breakage-prone entries; lenient keeps only the categories that no legitimate workflow needs.
By default we return NXDOMAIN for blocked tracker queries. Synthetic A-record responses are available for environments that want their own block page, but most ad/tracker blocking is invisible to the user — the page simply loads without the ad slot.
Example
A student opens a news article on a school-issued laptop. Their browser kicks off DNS lookups for the article's own CDN plus 47 third-party hostnames covering ad networks, analytics, fingerprinting and consent SDKs. SecDNS returns successful answers for the article CDN and NXDOMAIN for 43 of the 47 third parties; the remaining four are allowlisted because the school district uses them for legitimate site-operations purposes. The article loads in roughly half the time, uses noticeably less battery and Wi-Fi bandwidth, and sends no telemetry to the blocked providers.
Stats
Across the production resolver fleet we blocked approximately N ad-and-tracker queries in <month> this year, accounting for roughly N% of total resolved volume — by far the largest category by request count, ahead of malware, phishing and C2 combined. Data placeholder pending Q1 2026 transparency report.