All DNS or VPN based adblockers cause problems in Wifi and Chrome - Android Q&A, Help & Troubleshooting

Hello guys,
I have had one specific problem for literally years now and I could never find a solution.
Say I've got a Galaxy S20 and I won't root it. Leaves me with three options to block ads:
- use Firefox and uBlock origin
- set dns.adguard.com as custom DNS
- use Blokada, DNS66 or any other VPN-based adblocker
The problem with the latter two: Chrome will randomly stop functioning whenever I am connected to any wifi network.
It will just stop loading random sites, not show all pictures in Google Image search, not show anything anymore when you click back and forward or just stop loading anything at all.
Go to mobile connection, it immediately works. Disable the DNS/VPN blocker, it immediately works.
Reconnect wifi, it will work again for a while. Can be two days, can be ten minutes. It's completely random.
I am not able to figure out ANY reason why this is happening.
I know Chrome has its own DNS resolver and you should disable it when using DNS based blocking methods (disable async dns resolver and clear dns cache), and while this fixes the problem that not all ads are blocked in a reliable way, it doesn't fix the wifi connection loss.
Using DNS or VPN based blockers only cause problems in Chrome, no other app.
I know I could just switch browsers, its just that I use Chrome on desktop as well and like the synced bookmarks.
Does anyone have any idea why using a VPN/DNS based adblocker would cause Chrome to specifically stop working randomly only in a wifi network, but not via mobile?
I have had this issue over several devices and Android versions for years now and I can't figure it out.
Curious if any of you can help.

Related

[Q] Block Wifi if VPN is down?

I want to ensure nothing on my phone as access to wifi if my vpn is not connected. Anybody know how I could achieve this?
Any ideas greatly appreciated.
You might want to give Tasker a try. Llama (it's free / haven't used it though), or another Task automation tool might work too. It depends on how the app works, but you may have to do one or two things manually. For instance
Example Pseudo-code:
Code:
IF VPN app OPENED (
TURN OFF WIFI
SET VARIABLE vpnfrontend=1)
IF VPN app LOSES FOCUS (closed) (
ASK "Is VPN Enabled?"
IF YES (
ENABLE WIFI
SET VARIABLE vpnfrontend=0 )
IF NO (
SET VARIABLE vpnfrontend=0 ) )
That's the best I can think of off the top of my head.
Hope this helps!
Thanks for the reply closeone.
I purchased Tasker a couple of days ago. Hopefully I'll be able to do this - afraid there are going to be some manual steps though. I bought WifiJumper to auto connect to hotspots (known or unknown) so my wifi phone (Samsung Galaxy Player YP-G70) would be more like a cell phone. I thought if I could get OpenVPN working on my phone it automatically tries to reconnect but it is sometimes a slow process - thereby leaving my wifi connection open for a minute or so.
The ultimate goal here is: Android is a lot like CarrierIQ in that it tracks every IP you log in from. So I want to use a vpn so the IP I login from is the same one no matter where I'm at. I'm not a hacker, pedo, or even using P2P - I just want my privacy. Kind of a principal type of thing.
Your code is similar to what I was thinking of but.... I'm thinking I won't be able to check to see if VPN is enabled and then turn on wifi because the vpn requires wifi access to connect.
I'm still new to Android but so far the only tool I see to block wifi access is Airplane Mode and I think it blocks all apps (including the vpn). Maybe pdroid or Droidwall have some options for what I want to do????
Got to thinking if Droidwall had profiles I could build a profile that had wifi blocked for everything except Vpn. Then use Tasker to check to see if vpn was up. If not then set Droidwall to that profile. Problem is I don't think there is a way to run Tasker rule constantly. So there would be data leakage.
Sent from my YP-G70 using Tapatalk

[Q] DNS Changing Issues

Hi Guys/Girls,
Living in Australia we've got some issues getting to Netflix.
We need to use DNS servers for proxies so we can connect (Geoblocking and such)
I'm not looking at wanting to set the DNS on the Wi-Fi connection itself, as I often use networks out of my own Wi-Fi connection at home.
I know I need to set IP addresses manually in the Wi-Fi menu for the DNS option to show up.
I am unable to get Netflix to work at all.
I've tried 2 used apps on my phone (Galaxy S5)
DNS forwarder - http://goo.gl/VGpr0M
Static DNS for Wifi - [STRIKE]http://goo.gl/LQV8br[/STRIKE] - Since looked and stated it's not working on 5.0 yet..
Testing the apps on my KitKat 4.4.2 S5 - This works fine.
Tested on my Nexus 9 5.0 (LRX21L) - Fails to work (Netflix is not available in your country)
Does anyone know if the way of setting DNS with apps is broken since the changeover?
Since lollipop, android seems to have a problem with custom DNS server...
I've post on diffrents threads on XDA and opened a issue on the android tracker : https://code.google.com/p/android/issues/detail?id=79504
Ah, that makes sense then.
I shall keep an eye on that!

IPv6 on Lollipop causing very slow Wifi

So it seems that Lollipop's implementation of IPv6 doesn't work at all, and Google knows about it. Search "Lollipop ipv6" on Google for a bunch of info about it.
This is definitely the case on my Comcast router at home, as it takes 5-10sec of lag to even start loading something over Wifi, until IPv6 times out and it reverts to v4. I can't disable IPv6 on my router, and my LG G4 is too new to have a reliable root performed (I've tried, it didn't work). The only option is to use the app DNSet, which uses a VPN somehow to force the phone to use IPv4.
Well, when I do that, my phone suddenly becomes completely unable to receive MMS text messages. Also, I don't like that the app is routing all of my traffic through some guy's garage.
So I have this awesome new LG G4 and I have to choose between Wifi working properly, or MMS texts working properly? That is BS. Seriously has anyone come up with a fix for this that actually works?? Or do I have to go buy a new router without IPv6??

Prevent Certain Apps from Using My Work Wi-Fi - Anything better than Tasker?

Hi all,
I want to prevent certain apps from accessing my work Wi-Fi, mostly so my employer can't see what I'm doing. Specifically, I don't want to be connected to my employer's Wi-Fi while on Facebook, Evernote, etc.
For some other apps, I still want to use Wi-Fi to save data.
I just installed Tasker and have already a Task set up to shut off Wi-Fi for these apps. My question is: is this really secure? Does anyone think this will prevent my employer from seeing what's on my Facebook, or is there a flaw I'm not thinking of?
Ex: maybe Tasker has a delay which will allow my employer to see Facebook load anyway.
Alternatively, if anyone knows a more efficient way of doing this (in Tasker or anywhere else in Android) that'd be great.
Thanks
Question your boss is a hacker?
Because if he isn't he can't see anything in theory because he doesn't know how.
But you can use vpn connection as Hotspot Shield
so your traffic inside that network and all over the internet is encrypted.
You can also use "Firewall" for that.Firewall apps that they stop apps that you choose from getting access to internet.
if you aren't rooted try this one NoRoot Data Firewall . it use VPN
connection. So this vpn connection is local and when the blocked app tries to connect the internet it just get the localhost ip as gateway . the other apps continue to work normally.
if you are rooted try this one AFWall+ (Android Firewall +)
depends on your needs of course.

Gmail can't DL attachment on mobile data (but OK on VPN or Wifi!)

I've had this problem for many months on my Samsung S7 (it suddenly appeared). Now that I've bought an S10e I'm very displeased to have the same exact problem again. I didn't transfer anything from the S7 (knowingly. Perhaps some Google/Samsung auto-restoration of settings without my knowledge). The S10e was installed from scratch AFAIK.
Problem:
On the Gmail app downloading attachments on WiFi works fine. On mobile data it never works. It does nothing at all. Hitting preview continuously shows a 0% progress bar.
All other things work without issue on mobile data: Sending and receiving mail, browsing, navigation, YouTube, etc. is normal. Only Gmail attachments don't download...
I don't have adblockers or antivirus. Everything is updated. Gmail isn't on the background data restriction, nor do I use that function.
I tried the private DNS function, that didn't help either. Clearing the app cache and app data didn't help either.
+ VPN.
I spent some hours testing, and most of the time with an active OpenVPN tunnel (all traffic redirect through tunnel) to my home or to my office it works! The moment I disconnect the VPN, it stops working.
(Seems also to work on a LT2P Ipsec tunnel).
Some kind of DNS issues?
I have an older Motorola and an older Sony phone which don't show this problem, so it's not stemming from my Gmail account or my provider.
What can I try to fix this problem?

Categories

Resources