DoH bug.

Support requests about VPN Client Pro
Post Reply
vahidx4r4x
Posts: 4
Joined: Wed Oct 06, 2021 8:36 am

DoH bug.

Post by vahidx4r4x »

Hi.
Thanks for your great app.
There is a bug that I found couple of days ago.
When I set the DoH on a server, app will automatically push 8.8.8.8 as DNS server intead of custom DoH query, the DNS leak websites shows Google public DNS or the VPN's default pushed DNS.
Attachments
Screenshot_20211006-120853_VPN Client Pro.jpg
Screenshot_20211006-120853_VPN Client Pro.jpg (295.81 KiB) Viewed 1942 times
Screenshot_20211006-120920_Firefox.jpg
Screenshot_20211006-120920_Firefox.jpg (476.37 KiB) Viewed 1942 times
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: DoH bug.

Post by admin »

Hello,
thanks for the bug report.
However, this behavior is by design.
The DNS 8.8.8.8 and route 8.8.8.8/32 are added to make sure DNS requests are sent over the VPN.
The DNS 8.8.8.8 and pushed DNS are only used to resolve the host name in the DoH URL, all other DNS requests are captured and sent to the DoH URL.
Maybe the DNS leak websites show the DNS requests used to resolve the host name in the DoH URL (In your case doh-sg.blahdns.com)
vahidx4r4x
Posts: 4
Joined: Wed Oct 06, 2021 8:36 am

Re: DoH bug.

Post by vahidx4r4x »

Before the update DNS leak test websites were showing the blahdns servers and DNS queries were blocking the ads. But now all the applications are showing the ads, because of the pushed Google public DNS.
Attachments
Screenshot_20211006-140227_DNSDig.jpg
Screenshot_20211006-140227_DNSDig.jpg (286.33 KiB) Viewed 1926 times
Screenshot_20211006-135615_MX Player.jpg
Screenshot_20211006-135615_MX Player.jpg (534.49 KiB) Viewed 1927 times
Screenshot_20211006-135633_File Manager +.jpg
Screenshot_20211006-135633_File Manager +.jpg (331.25 KiB) Viewed 1927 times
vahidx4r4x
Posts: 4
Joined: Wed Oct 06, 2021 8:36 am

Re: DoH bug.

Post by vahidx4r4x »

Another example with my own VPN server.
My VPN server's default DNS is 108.61.10.10 wich is for the Constant Company
Attachments
Screenshot_20211006-141152_Firefox.jpg
Screenshot_20211006-141152_Firefox.jpg (329.36 KiB) Viewed 1923 times
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: DoH bug.

Post by admin »

I just finished giving the tests and on my side everything works fine. The DNS requests are sent only to the DoH URL.
Try changing the VPN profile and entering a wrong DoH URL. If everything works fine, you may no longer be able to resolve any host name and the VPN log should shown the DoH errors...
vahidx4r4x
Posts: 4
Joined: Wed Oct 06, 2021 8:36 am

Re: DoH bug.

Post by vahidx4r4x »

The problem is because of OpenVpn v.2.5.3. It will work just with v.2.4.9.
Can you make it optional to push 8.8.8.8 in routes?
Attachments
Screenshot_20211006-181022_Brave.jpg
Screenshot_20211006-181022_Brave.jpg (550.34 KiB) Viewed 1910 times
admin
Site Admin
Posts: 714
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: DoH bug.

Post by admin »

On my side it works also with OpenVPN 2.5.3.
Anyway the problem is not related to the 8.8.8.8 route.
Maybe you are using a browser with secure DNS feature like Chrome or this option is enabled in Android settings.
On Chrome this option is enabled by default.
Post Reply