r/GalaxyS9 • • Dec 24 '18

Blocking ads without additional software in Android 9.0 Pie (finally :D)

As I received Pie today (Germany yay), I immediately remembered the feature I was looking forward to:

DNS over TLS, which has been natively integrated in Pie.

This finally allows us to block ads system wide (for apps without built in dns resolver) without installing additional software or plugins or anything. Getting started is really easy:

1.) Open Settings --> Connections --> More connection settings --> Private DNS

2.) Check Private DNS provider hostname

3.) depending on what you want enter either:

dns.adguard.com

dns-family.adguard.com (for nofap :D)

dot-de.blahdns.com (small hobby project with adblock)

These are secure DNS servers that have integrated ad blocking. Adguard is a Russian company, blahdns is a small hobby project with a good history...

4.) Press Save & enjoy ad free browsing.

5.) Extra step for chrome users:

Open Chrome, type in chrome://flags

search for async DNS resolver (#enable-async-dns) and choose disabled in the drop down menu.

(Otherwise chrome could use a built in dns resolver which does not block ads)

Over the years I used root with hostlist, blokada, dns over local vpn with adguard dns servers, firefox, samsung internet with adblock and brave browser.

This is finally a builtin solution that just works and it even enables secure encrypted dns.

So win win :)

Merry Christmas and thank you Samsung for Pie.

433 Upvotes

114 comments sorted by

View all comments

Show parent comments

1

u/unstoppable-force Dec 25 '18

Phone IPs are not static, and this is talking mainly about mobile adblocking. You can go through multiple IPs in a single browsing session with cell towers.

1

u/moriartyj Dec 25 '18

The majority of the time you're on your phone, you'll be connected to a wifi network with a static IP. At least for me and anyone I know

1

u/unstoppable-force Dec 25 '18

This isn't accurate... the bulk of mobile traffic that isn't deferred background sync is through mobile networks. It's why telcos are billion dollar companies. On top of that, you're going from WiFi network to WiFi network, which effectively means to you that you have a dynamic IP.

1

u/moriartyj Dec 25 '18

In my experience, you have 2 IPs - that of your home and that of your office. For about 30 minutes a day, I also have multiple other IPs while I travel from one to the other. It will be trivial to tailor your online persona to DNS queries coming only from those static IPs. I've done similar analyses in the past