cancel
Showing results for 
Search instead for 
Did you mean: 

Original topic:

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

(Topic created on: 12-29-2019 09:28 PM)
480 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
Aashish
Expert Level 4
Others
No S8+ wont get android 10, you can try custom rom like Lineage but that too wont be perfect.
0 Likes
ZombieHRN
Active Level 10
Others
make your post smaller so it be easier to know what's that all about
and atleast write "try on your own risk" bcos who knows if that dns provider is collecting user data and selling them?
u know! people forget that they added dns and in future if something happens! they can't figure out what's the cause of this problem.
Aashish
Expert Level 4
Others
Bro the title says it all, also the post is small and only the images take up space.
0 Likes
Bhaskar555
Active Level 4
Others
it works for chrome but reduces the browsing speed
0 Likes
Others
this is not working
0 Likes
Manta123
Beginner Level 3
Others
In my S9plus some aweful pages are opening randomly and ads are showing unexpectedly. Can u tell me how to fix it? Pls reply
0 Likes
Aashish
Expert Level 4
Others
You have to remove and 3rd party app you downloaded recently. When these things pop up press the recent bar to see what caused them.
0 Likes
drvksah
Active Level 6
Others
that's great.....👍👍👍👍
0 Likes
pranjalgangwar
Beginner Level 2
Others
nice it is working
0 Likes
NicknameO
Beginner Level 4
Others
Very helpful, also we can use BRAVE browser, based on Chromium (so it looks like Chrome) without Ads.