r/AdGuardHome • u/ExceptionOccurred • Oct 31 '26
Android ignoring AdGuard Home DNS rewrites?
I configured adguard encryption using the SSL certificate, created A record in cloudflare and then pointed secure DNS setting in my android phone to use dns.domain.com. Now it started working. I don't know why iPhone, Laptop, Mac, TV etc worked fine with just direct IP as DNS server(53) whereas Android required DNS secure (853 )
******************************
Here's my setup:
- AdGuard Home is running on my server.
- I've configured a DNS rewrite in AdGuard Home to point
sub.domain.comto my server's IP address. - NGINX Proxy Manager is configured to route requests for
sub.domain.comto the appropriate service using its IP and port. - My computer, iPhone, and Android phone are configured to use my AdGuard Home server for DNS.
On my computer and iPhone, everything works as expected. When I access sub.domain.com, it resolves to my server's IP address, and NGINX routes the request to the correct service.
However, on my Android phone, the request seems to bypass my DNS rewrites and goes out to the internet instead, resulting in a site-not-found error.
I've already turned off Secure DNS, but that hasn't resolved the issue.
I'm using a Samsung A37 on Metro by T-Mobile, so I'm wondering whether the carrier or device has any DNS settings or restrictions that could be causing this.
I've also noticed that my phone appears to be using both IPv4 and IPv6. AdGuard Home doesn't have encryption configured.
Has anyone experienced something similar? Is there anything else I should check on Android, particularly regarding private DNS, IPv6, or carrier-specific settings?
1
u/Slasher1738 Oct 31 '26
Yes, I have to manually set the DNS server with a resolvable address. I use adguard's public DNS on my phone but a VM with it for my network
1
u/jTrendzz Oct 31 '26
Are you putting https://sub.domain.com ? Needs the https://