Ad blocking DNS: which free servers block ads

An ad blocking DNS strips a good share of the ads from a phone or a PC without installing anything: you change one setting. The catch is picking a server that actually blocks ads, because the best-known ones don’t. Here are the free DNS servers that filter, the ones that don’t, and how to set one up on Android, iPhone and Windows.

What a DNS ad blocker does, and what it doesn’t

Before your phone loads an ad, it has to look up the server that delivers it: “where is ads.example.com?” That question goes to a DNS server. An ad blocking DNS answers “nowhere” when the name is on a list of ad and tracking domains, so the ad never loads.

That removes the banners and full-screen ads served by ad networks, in apps as well as on websites, along with a good deal of tracking. It doesn’t remove an ad served from the same domain as the content (YouTube’s, for one), the empty slot a blocked ad leaves on the page, or cookie banners. It only ever sees names, never what’s inside a page.

Free DNS servers that really block ads

Checked on 9 October 2026, on each provider’s own pages:

Service What it blocks Hostname for Android’s Private DNS Free tier
AdGuard DNS, default server Ads, trackers, phishing dns.adguard-dns.com No account
Control D, “Ads & Tracking” Ads, trackers, malware p2.freedns.controld.com No account
NextDNS Whichever lists you tick Your own, from your configuration 300,000 queries a month, then no blocking
AdHole DNS Ads, trackers dns.adhole.fr No account
Mullvad, adblock Ads, trackers adblock.dns.mullvad.net Shuts down on 2 November 2026

AdGuard DNS. Its public DNS page says the default server “will block ads and trackers”. The official addresses are 94.140.14.14 and 94.140.15.15, or https://dns.adguard-dns.com/dns-query for DNS over HTTPS. Don’t mix it up with AdGuard’s “non-filtering” server, 94.140.14.140, which blocks nothing.

Control D. Its free resolvers work without an account. The one that blocks ads is called “Ads & Tracking”: 76.76.2.2 and 76.76.10.2, or https://freedns.controld.com/p2. Not every resolver on that list filters ads.

NextDNS. You pick the blocklists, block or allow any domain you like and follow what happens in its logs, with no sign-up needed to try it. The free tier covers 300,000 queries a month; past that, NextDNS “will continue to answer DNS queries like a classic non-blocking DNS service”. Its Pro plan is €1.99 a month on its website.

AdHole DNS, our own, uses the same lists as the AdHole app and keeps no site name. Setup is one address on Android and one file to install on iPhone and Mac. It runs on a single server, which makes it less robust in an outage than the global networks of the services above.

Mullvad DNS, still turns up in plenty of roundups. Its help page says the public encrypted DNS service will be discontinued on 2 November 2026, and Mullvad points users to Quad9 instead, which doesn’t block ads. Don’t set it up now.

Three resolvers come up again and again in “block ads with DNS” advice. None of them blocks advertising:

  • Cloudflare 1.1.1.1 filters nothing. Its 1.1.1.2 and 1.1.1.3 variants block malware, and 1.1.1.3 adult content as well; Cloudflare’s documentation never mentions ads.
  • Quad9 (9.9.9.9) says so plainly: “Quad9 does not block advertisements or web trackers” (Quad9). It blocks dangerous domains and nothing else.
  • Google (8.8.8.8), according to its FAQ, “does not perform blocking or filtering of any kind”, apart from rare security or legal exceptions.

They’re good resolvers. They aren’t ad blockers.

What’s the best DNS for blocking ads?

There isn’t one best DNS for blocking ads, only the one that fits what you want to control:

  • It just has to work, no account, no settings: AdGuard DNS or Control D “Ads & Tracking”. One hostname to type, nothing else. The trade-off is that the list is the provider’s: you can’t add a rule or allow a site that breaks.
  • You want to choose your lists and see what was blocked: NextDNS, within the free tier’s 300,000 queries a month.
  • You’d rather no outside service did the sorting: a filter that runs on your own device, covered at the end of this article.

How to set up a DNS ad blocker on Android

Since Android 9, the setting is called Private DNS, and it encrypts your lookups (Cloudflare).

  • On a Pixel: Settings → Network & internet → Private DNS (Android Help).
  • On a Samsung Galaxy: Settings → Connections → More connection settings → Private DNS (Samsung support).
  • Anywhere else, or if the menu has moved, search the settings for “Private DNS”, as Google suggests.

Choose “Private DNS provider hostname”, type a hostname from the table, dns.adguard-dns.com for example, and tap Save. The field takes a name, not an IP address. If something stops loading, switch back to Automatic.

Ad blocking DNS on iPhone: what iOS allows

iOS gives you three ways in, and they aren’t equal.

  1. Manual DNS, one Wi-Fi network at a time. Settings → Wi-Fi → the info button next to the network → Configure DNS (Apple), set to Manual, with 94.140.14.14 and 94.140.15.15 for instance. Lookups go out unencrypted, and the setting only covers that network: on mobile data, the iPhone keeps its usual DNS.
  2. A configuration profile. Since 2020, iOS can encrypt DNS system-wide, set by a profile or by an app (Apple, WWDC 2020). AdGuard offers one on its page: download it, then install it from Settings, under “Profile Downloaded”.
  3. An app that applies the setting for you, such as NextDNS’s.

On a Windows 11 PC

Windows 11 can encrypt DNS on its own. In Settings → Network & internet, open your Wi-Fi or Ethernet connection and edit its DNS servers: Manual, IPv4 on, the provider’s first address under “Preferred DNS” and the second under “Alternate DNS”. Under “DNS over HTTPS”, choose the manual template and paste the provider’s address, such as https://dns.adguard-dns.com/dns-query. With “Fallback to plaintext” off, a lookup is never sent unencrypted, even if that means it goes unanswered. Microsoft’s help page explains each field; the setting doesn’t exist on Windows 10.

Setting the DNS once on the router, for the whole home, sounds easier. Often the router won’t let you, or quietly hands out its own server next to yours: here’s how to check, and what we measured on a real router.

Is there a DNS that blocks YouTube ads?

No. YouTube’s ads come from the same servers as its videos, and NextDNS says it in its help centre: “It is unfortunately impossible to block them using DNS ad blocking at this time.” Here is why no DNS blocker can remove YouTube ads, and what does work on an Android phone.

Who sees the sites you visit?

The DNS you pick sees the name of every site and every app server you reach, around the clock. Encryption hides those names from your internet provider and the café’s Wi-Fi, not from the DNS provider. Choosing an ad blocking DNS is choosing who gets that list. Here’s what the three free services say:

  • AdGuard says it processes no personal data on its public DNS, and keeps an anonymous database of the domains requested in the last 24 hours (privacy policy).
  • Control D says its free resolvers keep no logs (documentation).
  • NextDNS lets you turn logging off completely, or keep logs for anything from an hour to two years (NextDNS).

Those are their commitments, worth reading before you choose.

The other way: a filter on your own device

An ad blocking DNS does the sorting on someone else’s servers. A local filter does it on your device: it keeps the lists and your rules with you, and shows you what it turned away. That’s what the AdHole app does, free and with no account. It has no address to type into Private DNS: for that, there’s AdHole DNS, the hosted service.

  • On a Windows or Linux PC, AdHole sets that computer’s DNS to its own filter, so there’s nothing to enter in Windows. It also goes further than any DNS, blocking ad requests inside web pages and hiding the ad slots, and YouTube videos start without ads, in the browser. Your TV or console can use it too once you point their DNS to the PC (network-wide ad blocking from your PC); it only answers devices on your local network.
  • On an Android phone, AdHole’s app filters ad and tracking domains on the phone itself, for every app, on Wi-Fi and on mobile data. It declares itself to Android as a local VPN: the tunnel leads nowhere outside the device. You download it from this site, not from Google Play.

What doesn’t change: the names that get past the filter still have to be looked up somewhere. By default, AdHole sends them to Cloudflare over an encrypted connection: as long as it answers, your internet provider doesn’t see those names, but Cloudflare does. On a PC, you can change resolver. And no blocker stops every ad: some will get through.

Sources checked on 9 October 2026 and linked in the text.