How To Block Ads In Android Smartphones Using Private DNS

In android smartphones, most of the apps show unwanted ads and pop-ups. It may be irritating to the user. There are a lot of methods to block these ads from showing up. Most used method is by using third party ad-blocking apps. You can download apps such as Adblock Plus, AdGuard and AdLock to block ads on your smartphone. Most of these apps need root permission for blocking ads effectively. But there is an another method for blocking the ads which uses the private dns.

Smartphones with Android 9 or later comes with Private DNS feature. This feature can be used for blocking the ads. The biggest advantage of this feature is that you don't need to download any app on your smartphone and you get system-wide ad-blocking without root access. Adguard dns is used for blocking malicious ads and pop-ups.

Steps to set up Adguard DNS

  • Make sure your device runs on Android 9 or later.
  • Go to Settings>Network&Internet Settings>Private DNS
  • In Oneplus devices, Settings>Wifi&Internet>Private DNS
  • For Samsung Galaxy devices Settings>Connections>More Connection Settings>Private DNS
  • If you cannot find the Private DNS option, then simply search Private DNS in Settings search bar.

Private DNS

  • Then select Private DNS provider hostname and enter the hostname of DNS provider as ''.
  • For family protection mode(for blocking adult content) enter the hostname of DNS provider as ''.
  • Hit Save and exit from the Private DNS menu. That's it. Now your device will block most of the ads and pop-ups.


  1. Using the latest LP tool, you can block ads from apps and websites...

  2. The worst part of it was that the software only worked intermittently and the data was not accurate. You obviously canot confront anyone about what you have discovered if the information is not right free classified ads sites

  3. finalratings brings you the top unbiased editorial reviews and ratings for i7 9700k gaming daily tech products, along with specs, user reviews, prices and more.Expert reviews on the latest gadgets, phones, laptops and more. Find first looks to complete hands-on experiences with the latest tech on the market here.Get all the latest reviews and news on Technology, Gadgets, Latest Technology Products across the world on mint.

  4. Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post! facebook ads