Android DNS double connect bug

shadowbladeee via Openvpn-users <[email protected]> Wed, 25 Jun 2025 20:49:25 +0000
Newsgroups gmane.network.openvpn.user
Message-ID <9g-vDRgYC6O6nAzn80IzIunO_eGFNB2b853x4ffX2JhvMf9kwm_sCyYQmUgjtsMyzY3M_lHPsMS_c1p30s4rrWinqWOYHlO5kPF8FxQbtHY=@proton.me>
Hello List,

I am using version 3.7.1 on Android 13, even tho I have noticed this behavior in earlier versions as well.

The VPN server running on a Debian box, it pushes the default route and DNS servers to Android.

This DNS server is a dnsmasq on that server which routes the requests (local ones with .lan extension) to the local DNS server, the rest to public servers. 

I noticed that many times after connecting this just don't work, the lan addresses stay unresolvable, I reconnect again and DNS works (until next reconnect).

Anyone seen this behavior? Any workaround for it?
I would be ok using dnsmasq on Android directly or even hosts file but sadly this cannot be done on unrooted phone :/

Thanks