celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.87k stars 147 forks source link

Setting Rethink to use System DNS doesn't work when using a custom DNS server #1436

Open LinuxDragon57 opened 4 months ago

LinuxDragon57 commented 4 months ago

Certain apps don't work properly even when they're allowed on mobile and wifi networks in the RethinkDNS app. Namely, apps that use the local network to control or cast to local devices. A solution I've discovered that works is setting them to be excluded from DNS and Firewall. However, I don't fully like this solution because I still want apps to use my DoT provider. I tried setting RethinkDNS to use the system DNS and set my DNS provider in Android's built-in settings to set a custom DNS provider, but after a few hours, internet connectivity drops because Android couldn't connect to my custom DNS server. Honestly, the DNS settings in the RethinkDNS app seems redundant anyway.

ignoramous commented 4 months ago

Namely, apps that use the local network to control or cast to local devices

Can you name a few apps?

Couple solutions:

Using System DNS or not has little bearing on if P2P apps will work.

I tried setting RethinkDNS to use the system DNS and set my DNS provider in Android's built-in settings to set a custom DNS provider, but after a few hours, internet connectivity drops because Android couldn't connect to my custom DNS server

Are you sure these are DNS-related errors? If so, what errors do you see in DNS logs? Tap on any DNS log entry in the UI and the footer of the bottomsheet that comes up should have final connection status for that DNS request.

Honestly, the DNS settings in the RethinkDNS app seems redundant anyway.

Sorry, I don't get which settings are redundant?

Ypot commented 4 months ago

Namely, apps that use the local network to control or cast to local devices

Can you name a few apps?

I always have problems with Google maps.

Sometimes with the Play Store, not always.

ignoramous commented 4 months ago

Don't think both the Play Store and Google Maps rely on P2P/LAN. So, that's unlikely to be the problem here.