I had the problem on Lineageos 17.1 that Android was not using the server provided DNS. The solution is the following:
Go to Settings > Network & Internet > Private DNS and set to Off
This way the server provided DNS is used and I can resolve everything correctly in the browser. If you still have problems, check your logs if the DNS directive was sent at all and use termux to test with dig hostname @ip_of_dns. Do not forget that Termux does use resolv.conf instead of the Android one. So the @ is important!
Can we add this to the FAQ please?
Thank you for your work and contribution to secure network connectivity!
How to fix Android not using server provided DNS
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sun Dec 20, 2020 3:29 pm
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Dec 26, 2023 6:40 pm
Re: How to fix Android not using server provided DNS
Hello, I registered on purpose to say THANK YOU VERY MUCH!!
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Nov 29, 2024 1:32 am
Re: How to fix Android not using server provided DNS
It was fortunate that I found this post within the first half-hour.