Also, if you run any other DNS redirect service on your phone like dns66 or cloudflared for DoH on your phone, that will bypass pihole. If you have advanced DNS configured, your phone will tunnel dns requests out using the servers that are configured in advanced DNS and bypass pihole. I was pulling my hair out trying to figure it out. I get no ads on anything at home except my phone. I have cloudflared (DoH, I highly recommend setting this up if you aren't doing this already) running on my pihole server and that tunnels dns requests out via 443. I have pfsense blocking all dns requests outbound and IPv6 off yet I was still getting ads on my phone (pixel 3 xl). Good morning all, I had the same problem and hopefully this is helpful for some but it might not be for all. AND/OR Turn off any DNS adblocker on your phone like dns66 or DoH client like cloudflared as they will also bypass pihole. Settings/Network & internet/Advanced/Private DNS/Off. Proton VPN NetShield secure ad blocker for Android with a VPN. Atlas VPN SafeBrowse Android ad blocker with a VPN for browsing. Surfshark CleanWeb affordable Android ad blocker with a VPN. Total Adblock the best ad blocker for Android overall. Get real-time stats on DNS requests of all devices. Disable advanced DNS on your phone if you have it. Top 5 best ad blockers for Android in 2023. I think that Android versión and device's Brand are not the problem but I add this details for more info. Android device: Samsung Galaxy S9+, Android 9.0. This let you to have normal internet when you turn off the raspberry or lost conection for any reason.Įxtra: I had everything working at this point but I highly recommend to add more blocking lists, I did it from this (excellent work): The best blocking lists for the Pi-Hole + Alternative DNS servers 2019ĮDIT: More details. On DNS 2 write any DNS you like (I have Google DNS 8.8.4.4).On DNS 1 write the Pi-Hole static IP (I suppose you set Pi-Hole IP to static on router when you did the Pi-Hole installation).On the Android Device, go to wifi settings, select your wifi network, advaced settings, set IP to static (check that it is the same static ip you set on router).Set Android pone IP to an static one from the router.I have just installed 2 days ago Pi-Hole today for blocking some distraccions for sudiying (YouTube) and I have ad blocking working on Android with Samsung internet explorer, Google Chrome and all apps. If you don't have both Ethernet and Wi-Fi on your pi-hole, just set DNS 2 to 127.0.0.1 which is your localhost. But the short answer is to point both DNS 1 and DNS 2 to your pi-hole (Ethernet port and Wi-Fi). Good luck getting Google to "fix" this, as they probably see it as a "feature". Android Chrome is not doing DNS correctly, it's trying DNS 2 when we're on purpose causing the DNS 1 lookup to fail. But, it does pinpoint the source of the problem. While this does create a situation where if the pi-hole fails no DNS works, that has yet to happen. Now, when Android tries both DNS 1 & 2 for an ad domain, they both fail because both are pointing to my pi-hole. I've been able to confirm this action by changing my second DNS server to the Wi-Fi port on my pi-hole (IP 192.168.0.201 in my case). So Chrome then gets the ip of the ad domain from 1.1.1.1 which then causes the ad to show. But, Chrome then tries the secondary DNS because the first one didn't return a result. Chrome does a DNS lookup for an ad domain and pi-hole blocks it properly. The first, is pi-hole (for example 192.168.0.200) and the second DNS is typically a backup in case pi-hole is down (something external like 1.1.1.1). When Android gets the DNS servers when it connects to Wi-Fi it gets two addresses. Also, I have a solution and I have figured out what Chrome on Android is doing.įirst, what Android Chrome is doing. For example, I can't disable IPv6 DNS from my router. In the Settings tab, you need to select Network. I believe this topic is still alive because there's not a clear answer. Steps to Block Ads on Android Using Private DNS First of all, open the Android app drawer and tap on Settings.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |