SecDNS

Ads and third-party tracking — privacy and performance gains from DNS-level blocking

SecDNS blocks ad networks and third-party tracking domains at the resolver, improving page load times and trimming the data sent off-network from every device.

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.com CNAMEd 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:

  1. 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.
  2. 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.com CNAMEd to a known tracker still gets blocked.
  3. App SDK telemetry list. A separate maintained list focuses on the tracker hostnames used inside mobile apps, smart-TV firmware and IoT devices.
  4. 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.

Frequently asked questions

Is DNS-level ad blocking better or worse than a browser extension?

They cover different surfaces. A browser extension catches ad markup and cosmetic elements inside the page, including first-party ads served from the same hostname as the content. A DNS resolver blocks every request to known ad and tracker hostnames before the connection is opened — including from apps, smart TVs and IoT devices that cannot install an extension. Most teams use both.

Will users notice broken pages?

Some pages will. A small number of sites tie key functionality to ad or tracker domains and break in unexpected ways when those are blocked. Each profile can choose a "balanced" preset that excludes the most disruptive lists, or stick with the curated default that prioritises low false-positive rate. Per-site allowlisting is one click away in the query log.

Does ad blocking save measurable bandwidth?

Yes, especially on bandwidth-constrained networks. Independent studies put the savings between 15% and 40% of total web traffic depending on the user's browsing pattern. On a 1,000-device school network that translates into noticeable Wi-Fi congestion relief during peak hours, even before counting CPU and battery savings on the devices themselves.

Do you block first-party analytics like Google Analytics?

Yes, in the default Tracking category. First-party analytics built on third-party SDKs (which most are) is exactly the use case the category is designed to address — the SDK domain is the tracker, even if the page integrates it as if it were first-party. Profiles can switch to a "lenient" preset that allows the largest analytics vendors if a tenant needs the data.