this post was submitted on 09 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I have a local Adguard home sever, which is used as DNS and DHCP Server. This is completely working fine on my Computers. I was wondering why my phone is still showing ads which were blocked on my PC.

Then I found out that my mobile device is not using my local DNS. I am using a public tld in my home to have valid let's encrypt certs also on my private services. But this is not working on my Android. I found out that my phone is using hard coded DoH Servers. I found people with the same problem online, they are blocking DoH and routing all Port 53 traffic to the local DNS. I did the same. But the only thing I get as result is a timeout in the mobile Webbrowser.

How is it possible to use my local DNS server with public tld on mobiles? Any help is appreciated 👍

top 10 comments
sorted by: hot top controversial new old
[–] ElevenNotes@alien.top 1 points 1 year ago (1 children)

I doubt that you can't change the DNS your device is using unless its a company device with company policies?

[–] certuna@alien.top 1 points 1 year ago (1 children)

with iOS/iPadOS it's as simple as downloading a DNS profile https://www.reddit.com/r/Adblock/comments/koowte/encrypted_dns_profiles_for_ios_14/

[–] ElevenNotes@alien.top 1 points 1 year ago

As I said in my initial comment, only MDM would prevent that, you can change the IP of the DNS server used via network settings on your phone, no need to download profiles.

[–] Firestarter321@alien.top 1 points 1 year ago
[–] Calm-Size-1110@alien.top 1 points 1 year ago (1 children)

Asus router with merlin firmware have an option called “global redirection” that can force LAN devices to use specific dns server.

https://imgur.com/a/iftioOx

[–] FierceDeity_@alien.top 1 points 1 year ago

This won't help against the device using DoH

[–] FierceDeity_@alien.top 1 points 1 year ago

I kept hating against DoH for this reason and now they're deploying it without a way out. Or it requires significant extra configuration.

My Samsung device still uses my own local DNS, but I wonder when that will also follow.

[–] zfa@alien.top 1 points 1 year ago

What makes you think this is the case?

A DNS leak test showing Cloudflare could just be that is the upstream resolver in your AGH config, for example.

Provide your phone model and Android version, I've never heard of the DNS being unchangeable. Bonus punts if you can post a screenshot of your phones 'private dns' settings.

[–] Kratomtex@alien.top 1 points 1 year ago

I use wire guard for all my mobile traffic and have wireguard set to use my pihole server for dns

[–] mattzuba@alien.top 1 points 1 year ago

Disable Private DNS on Android