AdguardForiOS icon indicating copy to clipboard operation
AdguardForiOS copied to clipboard

Add a low-level setting that enables DoH3 negotation for all DoH upstreams

Open ameshkov opened this issue 2 years ago • 4 comments

Currently AdGuard will use DoH2 exclusively for all DoH upstreams that use https:// URLs.

We should add a low-level setting that enables both DoH3 and DoH2 (it's available as a flag in DnsLibs).

When this flag is enabled, DnsLibs tries to connect using both DoH3 and DoH2 simultaneously and chooses the one that was established faster, and then closes the slower one.

This setting should be disabled by default.

ameshkov avatar Jul 06 '23 08:07 ameshkov

I agree with this issue, here is what I get when I try to use the h3:// domain with the most recent (4.5.0) version update for AdGuard and the Adguard-pro apps too. 31DCAF90-E628-4E81-9D38-A8F3A7FA2DD6

FsAguard62 avatar Jul 07 '23 13:07 FsAguard62

@FsAguard62 several options:

  1. DoH3 does not work at all (maybe QUIC is blocked?)
  2. You're using native implementation

ameshkov avatar Jul 07 '23 13:07 ameshkov

Well, I have figured out with the help from Vladislav on the Adguard chat today it was the Adguard VPN stopping the connection, and you can't use the “h3://” domain in the AGVPN standalone service I get the same error in thereimage too!

FsAguard62 avatar Jul 07 '23 16:07 FsAguard62

I think it would be so much easier to have the selection of the service on the AdGuard (products) setting

FsAguard62 avatar Jul 07 '23 16:07 FsAguard62