Mohamed Reda Tech Logo
HomeArticlesApplicationsPhonesTutorialsTools
AR
Mohamed Reda Tech Logo
Mohamed Reda Tech

Tech articles, applications, and digital tools & services.

Follow Us
TelegramYouTube

Quick Links

ArticlesApplicationsTutorialsToolsPhones

Help

About UsAbout the authorEditorial policyContact Us

Stay Connected

Get notified when new articles, tools, and app updates are released.

© 2026 MR. All rights reserved.

Privacy Policy•Terms of Service•
Block Android Ads Without Root: Private DNS Step-by-Step (Free) · Mohamed Reda Tech
  1. Home
  2. Tutorials
  3. Block Ads on Android Without Root or Apps: Private DNS Setup Step by Step
Tutorials

Block Ads on Android Without Root or Apps: Private DNS Setup Step by Step

A hidden feature inside Android's own settings called Private DNS can block most app and website ads in two minutes — no root, nothing to install, completely free. A practical step-by-step guide with the method's real limitations.

By Mohamed RedaPublished: November 22, 2026Updated:
December 1, 2026
5 min read
Block Ads on Android Without Root or Apps: Private DNS Setup Step by Step

If you're tired of ads interrupting you inside apps, games, and even the browser, there's a solution already built into your phone's settings since Android 9 that most people have never heard of: Private DNS. With a single option you change the "phone book" your phone asks for website addresses, so ad and tracker domains get blocked before they ever reach your device. This method needs no root, no installed apps, and it's completely free — here's how to enable it step by step, plus an honest look at what it does and doesn't block.

The idea in simple terms: how does it block ads?

Any app that wants to show you an ad has to contact an ad company's server (like googlesyndication or doubleclick). That connection starts with a DNS question: "what's this domain's address?" Blocking-focused DNS servers like AdGuard DNS keep a huge database of ad and tracking domains, and when a query for an ad domain arrives, they answer that it doesn't exist — so the app simply can't load the ad. All of this happens at the system level: it works across every app, not just the browser, without installing anything.

Setup steps on stock Android and most skins

  1. Open your phone's Settings.

  2. Go to Network & Internet.

  3. Tap Private DNS — sometimes it's under "More" or "Advanced" options.

  4. Choose Private DNS provider hostname.

  5. Type exactly: dns.adguard-dns.com

  6. Tap Save. If the option now shows the address you typed instead of "Off", it's working.

No restart, no extra steps — blocking starts immediately on both Wi-Fi and mobile data.

The path on Samsung and Xiaomi

  • Samsung (One UI): Settings → Connections → More connection settings → Private DNS → choose "Private DNS provider hostname", enter the address, save.

  • Xiaomi (MIUI / HyperOS): Settings → Connection & sharing → Private DNS → same steps.

  • Huawei / Honor: Settings → Wireless networks or More connections → Private DNS.

How to confirm it's working

Open any site that used to drown you in ads and notice the difference, or launch a game with a banner ad at the bottom — it should disappear or stay blank. You can also revisit the Private DNS setting anytime: if your hostname is still there and selected, blocking is active.

The method's real limits (honestly)

Private DNS does not block everything. Ads inside the official YouTube app won't be affected, because YouTube serves ads from the same domains as its videos — blocking them would break the app itself. Ads in Facebook, Instagram, and TikTok that come from the same servers as content also won't be blocked as effectively. Think of it as a big, noticeable reduction of ads across most apps and websites, not the deletion of every ad on earth.

  • If you use a VPN: most VPN apps override the Private DNS setting and use their own resolver, so blocking won't work while the VPN is on unless the VPN app has its own ad-blocking feature.

  • Public Wi-Fi networks: some networks (cafes, airports) require a sign-in page, and Private DNS can prevent it from appearing. If a network won't connect, switch the option to "Automatic" temporarily, sign in, then re-enable it.

  • A site or app breaks: rarely, the blocking server may block a domain a legitimate app needs. The fix is simple: switch back to "Automatic" in the same setting and everything returns to normal instantly — there's no permanent modification to your system.

Alternatives from the same provider for different needs

Hostname

Purpose

dns.adguard-dns.com

Block ads and trackers (the main choice)

family.adguard-dns.com

Same blocking plus adult-content filtering — good for kids' phones

unfiltered.adguard-dns.com

Encrypted DNS with no blocking — privacy only

All of these are free official AdGuard servers, and they encrypt your queries (DNS-over-TLS), so even your ISP can't see the sites you visit as easily — an extra privacy win. And if you want to take isolation and privacy further, check our guide on Shelter, which isolates apps in a separate work profile.

If you want stronger blocking

Private DNS is the best balance of ease and safety because it's an official system feature. If you need finer control (custom rules, per-app whitelists), dedicated apps like AdGuard for Android create a local VPN on the device, but they request broader permissions and are downloaded from outside the Play Store — in that case, apply the checks from our APK verification guide. Our advice: start with Private DNS, and if it's enough — and it usually is — you're done.


The bottom line: Settings → Network & Internet → Private DNS → type dns.adguard-dns.com and save. Exactly two minutes, and you'll notice a clear drop in ads. Remember its limits with YouTube and VPNs, and if anything breaks, switch back to "Automatic" — as if you never changed a thing.

Tags

  • Android
  • خصوصية

Frequently asked questions

Is Private DNS safe for my phone?+

Yes — it's an official feature built into Android by Google itself since version 9, originally meant to encrypt your DNS queries and protect your privacy. You're not installing anything or modifying the system; you're simply choosing a specific DNS server. And if you switch the option back to 'Automatic' at any time, your phone returns to your carrier's default server as if nothing changed.

Will blocking ads via Private DNS slow down my internet?+

You'll most likely feel browsing is slightly faster, not slower, because your phone now downloads less data — ad images, videos, and scripts get blocked before they reach you. The DNS query itself takes a fraction of a second and is imperceptible. In rare cases, if the server is geographically far, you might notice a tiny delay the first time you open a site.

Why do YouTube ads still show after enabling Private DNS?+

That's normal and not a setup problem. YouTube serves ads from the same domains it serves the videos themselves, so blocking those domains would stop the videos too. That's why any DNS-level blocking can't separate YouTube's ads from its content — it's a known limitation of this method.

Does this method block ads in every app?+

It blocks ads served from known ad domains, which covers most apps, games, and websites. The main exceptions are apps that serve ads from the same servers as their content — YouTube, Facebook, Instagram, and TikTok — where most ads will still appear. But you'll notice a very clear difference in the browser, games, and most other apps.

Can I use Private DNS and a VPN at the same time?+

Most VPN apps override the Private DNS setting and use their own DNS resolver while connected, so blocking won't work then unless the VPN app itself has a built-in ad-blocking feature. If blocking matters more than the VPN at a given moment, pause the VPN and Private DNS will keep working as usual.

Related articles

Tutorials

Google Find My Device guide: locate, lock, or erase your lost Android phone remotely

Lost or stolen phone? A practical guide to Google's Find My Device: what to set up before you lose it, how to locate, ring, lock, or erase it remotely, and the real limits of each option.

November 28, 20263 min read
Tutorials

Translate Chrome Pages on Android: Choose a Language and Manage Automatic Translation

Request page translation, choose its destination language and manage automatic or excluded languages. Learn how these differ from Chrome’s interface language.

November 28, 20264 min read
Tutorials

Chrome Reading Mode on Android: Adjust Text, Fonts and Background Colors

Open Reading mode for supported pages, adjust font style and size, and choose light, sepia or dark backgrounds. Understand unavailable pages and the difference from audio playback.

November 24, 20264 min read
Tutorials

Android Privacy Dashboard: Review Camera and Microphone Use and Change Permissions

Find permission activity, identify the app and access time, then change one permission and test the feature. Understand Android 12 and 13 history windows and the limits of the log.

November 24, 20264 min read

Comments(0)

Leave a comment

Share your thoughts or questions. Your email will not be published.

No comments yet. Be the first to share your thoughts!