OfferEarly Access 100: FAMILIE free for 90 days – only 100 places. Learn more →

XIBRO SHIELD
Language: EN
My account

Private DNS on Android: Block Ads Without an App

Ads & Trackers 6 min readSviatoslav Lohvinov
Private DNS on Android: Block Ads Without an App

Private DNS (German: Privates DNS) on Android blocks ads when you enter the hostname of a provider with an ad filter in the settings, for example from AdGuard DNS or NextDNS. It works without an extra app, from Android 9 onwards and in a few minutes. The catch: it only applies to this one phone, and ads in YouTube or in the Instagram feed remain.

How does Private DNS on Android help block ads?

Every website and every app has a name, for example beispiel.de. Your phone first asks: “Where do I find this name?” A DNS server answers that. DNS stands for Domain Name System, the phone book of the internet.

Ads have their own addresses too. A DNS server with an ad filter knows many of them. If your phone asks for a known ad domain, it gets no usable answer. The banner simply does not load. So blocking ads without an app works because the filter does not sit in the phone, but in the name lookup.

“Private DNS” is Android’s name for DNS over TLS. Your phone’s name requests travel encrypted to the provider you choose. Only these requests are encrypted, not all of your traffic. It does not make you anonymous, and your IP address stays the same.

How to set up Private DNS on Android

Menu names differ depending on the manufacturer and Android version. So here is the general way:

  1. Open the settings. Tap the gear icon on your phone.
  2. Find the entry. Type “Private DNS” (German: Privates DNS) into the search field of the settings. If that does not work, look under Network & internet, Connections or More connection settings (German: Netzwerk und Internet, Verbindungen, weitere Verbindungseinstellungen). The menu item is named slightly differently depending on the model.
  3. Choose the hostname option. There are usually three choices: off, automatic or provider hostname (German: Aus, Automatisch, Hostname des Anbieters). Choose the last one.
  4. Enter the hostname. It is best to copy it from your provider’s page. One typo is enough, and nothing loads any more.
  5. Save. Confirm with “Save” (German: Speichern) or a similar button.
  6. Test. Open a page that is otherwise full of banners. Many providers also offer their own test page.

TipRemember what was set before, usually “Automatic” (German: Automatisch). That way you can go back at any time if something stops loading.

Which providers offer Private DNS with an ad filter?

The best known are AdGuard DNS and NextDNS. Both filter ads and trackers. These are small helpers that follow your behaviour on the web. If you want to use Private DNS with AdGuard, copy the hostname from the provider’s page. Pay attention to the right variant there: some providers offer servers with an ad filter, without a filter or with a family filter.

Private DNS on Android: Block Ads Without an App

Hostnames, features and terms can change. So check them directly with the provider before you enter anything. This also applies to costs and limits. Some providers additionally offer an account with its own settings, others only a public server.

To be fair: if you only have one Android phone and simply want fewer banners, a public server is often entirely sufficient. You can find a closer comparison of the two services in the article AdGuard DNS vs. NextDNS.

Where does Private DNS reach its limits?

Private DNS on Android: Block Ads Without an App
  • Android only: The setting only exists on Android devices. iPhone and laptop are left out, and you set up each phone in the family individually.
  • Ads in apps with their own content: Ads in YouTube or in the Instagram feed remain, because they come from the same server as the video or the post.
  • No custom exceptions without an account: If an app or a shop link stops loading because a domain is blocked, you cannot unblock it on a public server. Then it often helps only to switch Private DNS briefly to “Automatic” (German: Automatisch).
  • Not a complete solution: Lists are never gap-free. New ad domains appear all the time.

The limitsA DNS filter only knows domains. It cannot remove ads inside YouTube or in the Instagram feed, not even with the best provider.

Notifications from websites that you once allowed also remain. You turn them off in the settings of your browser or phone. How to find the cause of pop-ups is explained in Werbung auf dem Handy entfernen. Why apps contact tracking domains in the first place is explained in Tracker in Apps blockieren.

What does XIBRO SHIELD do differently from Private DNS?

XIBRO SHIELD is not a classic VPN, but a DNS filter that runs through the WireGuard app. Only the DNS requests go through the tunnel. All other traffic goes directly to the internet, as it does without XIBRO SHIELD. Your IP address and the country of your connection stay the same. DNS filtering runs on our servers in Germany, with DNS logs without your IP address and with automatic deletion after 91 days.

With one account you protect Android, iPhone and laptop. In the customer account you see the DNS statistics of the last 24 hours and maintain your own whitelist and blacklist domains. Depending on the plan, that is 15, 30 or unlimited. We update our blocklists automatically twice a day. The protection applies as long as the WireGuard connection is switched on on the device.

Feature Private DNS with a provider XIBRO SHIELD
Devices Android only, set up per device Android, iPhone, laptop with one account
Setup Hostname in the settings WireGuard app with configuration
Custom exceptions Depends on the provider, often only with an account Whitelist and blacklist in the customer account
Statistics Depends on the provider DNS statistics of the last 24 hours
IP address Stays the same Stays the same
Ads in YouTube Remain Remain

ImportantIf you use XIBRO SHIELD, set Private DNS to “Automatic” or “Off” (German: Automatisch, Aus). A hard-coded provider sends the DNS requests past the filter.

Frequently asked questions

How do I find Private DNS if it is missing in my settings?

Use the search field of the settings and type “Private DNS” (German: Privates DNS). Otherwise look in the areas for network, connections or more connection settings. On devices with Android 8 or older, the function does not exist.

Which Private DNS provider is the right one?

That depends on what you need. For fewer banners on one phone, a public server is often enough. If you want custom exceptions, look for a provider with an account. Always check hostnames, features and terms directly with the provider.

What should I do if nothing loads after setup?

First check the hostname for typos. If that does not help, set Private DNS back to “Automatic” (German: Automatisch). After that, your phone works as it did before.

Does Private DNS also block ads in YouTube?

No. A DNS filter cannot remove ads inside YouTube or in the Instagram feed. They come from the same servers as the content itself.

Conclusion: Try it first, then decide

For a single Android phone, Private DNS is a quick, free way to get started. Once several devices, custom exceptions or statistics come into play, it is worth looking at other options. On xibro.de you can learn how XIBRO SHIELD works. You can easily check it yourself: test for 7 days free of charge – without a customer account and without payment details. The guide to the test takes you through the setup step by step.

Share this article
Picture of Sviatoslav Lohvinov
Sviatoslav Lohvinov
Founder of XIBRO SHIELD. Writes about child safety, home networks and DNS filters.
More in Ads & Trackers