Original topic:

Block Ads on Android 9.0+ (Without downloading any app)

(Topic created on: 12-27-2019 08:25 PM)
335 Views
Aashish
Expert Level 4
Options
Others
In android 9.0 pie and above we have an option to set Private DNS, this can be used to block ads on your phone.

STEP 1- Under Connection in Settings, scroll down and select More Connection Settings.

image



STEP 2- Select the Private DNS Option
image



STEP 3- Select Private DNS  provider hostname and enter the following in the text bar


For Adguard DNS: dns.adguard.com      

For Adguard DNS and removing adult content: dns-family.adguard.com


image



Additional STEPS for using this with Google  Chrome-
Since Google Chrome uses its own DNS resolver, we need to disable that for ad block to work. 

STEP 1-
  • Launch Chrome app.
  • Enter the URL “chrome://flags”, without quotes, into the address bar.
  • You will see a new window with many flags.
  • Search for “dns”.
  • Set the “Async DNS” option to “Disabled” and close the tab.

image


STEP 2- You will also need to clear the prebuilt DNS cache.

  • Enter “chrome://net-internals”, without quotes, into the address bar.
  • Select the DNS tab, and tap on “Clear Cache”.
  • Restart Chrome.
Confirmed Working on-
Google Chrome
Samsung Internet (Just Clear Cache)


Sources-
Information and Picture of Chrome flags taken from androidsage.com
Main Article was created by me on my S10+ with help from Reddit.
102 Comments
NicknameO
Beginner Level 4
Others
doesn't brave automatically block ads?
xda_in_dev98
Active Level 6
Others
Very helpful !
vvnaidu
Active Level 3
Others
bro I want ui 2.0 update in s9 mobile any one tell me how
Aashish
Expert Level 4
Others
Next month.
0 Likes
Sahil110
Beginner Level 2
Others
Nice
SwapnilIndia
Active Level 1
Others
nice bro.
SwapnilIndia
Active Level 1
Others
you can additionally use "dns.google" for better speed.
Aashish
Expert Level 4
Others
But it wont block ads.
0 Likes
Sandyyy89
Active Level 2
Others
Useful
Others
nice trick