AdguardTeam / AdguardForiOS

The most advanced ad blocker for iOS
https://adguard.com/
GNU General Public License v3.0
1.45k stars 203 forks source link

DNS Protocols won't work with VPN #1707

Closed Quorum75 closed 3 years ago

Quorum75 commented 3 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Issue Details

Expected Behavior

Whatever DNS protocols you choose you should be able to access the internet without any interruption. ### Actual Behavior All DNS Protocols except DNScrypt, block the internet access with third part VPN like Proton or Windscribe even with split tunnel mode activated. However it happens mostly when the devices go to sleep, but also sometimes while simply surfing the web. ### Screenshot
N/A

Additional Information

Putting the device in Plane Mode and re-activating the wifi and cellular networks sometimes helps to regain the internet. Otherwise a restart of the devices is mandatory. The only solution as today seems to keep only DNScrypt activated.
ivan-ilin commented 3 years ago

Windscribe VPN sets the local IP address as the DNS server (10.255.255.2). We are trying to use it as bootstrap DNS for doh, dot, quic protocols. But this address is not available to us from the tunnel. To solve this problem, you can set a custom bootstrap DNS(for example 1.1.1.1). This setting will be available in Adguard v4.1.0(now in beta)

Quorum75 commented 3 years ago

Windscribe VPN sets the local IP address as the DNS server (10.255.255.2). We are trying to use it as bootstrap DNS for doh, dot, quic protocols. But this address is not available to us from the tunnel. To solve this problem, you can set a custom bootstrap DNS(for example 1.1.1.1). This setting will be available in Adguard v4.1.0(now in beta)

Thanks for the reply.

@ivan-ilin As mentioned above I am using the latest beta. However what you are suggesting does not ring a bell for me. Can't you give me some guidance about how setting a bootstrap to try your recommendation please?

Thanks.

zzebrum commented 3 years ago

@Quorum75 run AdGuard app and go to Settings - General - turn on Advanced mode -Advanced settings - Low-level settings - Bootstraps. There you need to set a bootstrap DNS server and save it.

Quorum75 commented 3 years ago

@zzebrum thanks for your response.

I finally setup the Bootstrap to 9.9.9.9.

Should I input an address for the Fallbacks?

Quorum75 commented 3 years ago

@sfionov @zzebrum

Hello. Question, should I add a fallback address? Like Cloudfare? Is it really necessary? Thanks for your response.

08kovalchuk03 commented 3 years ago

@Quorum75

  1. If you leave "Fallback servers" empty, we will use system DNS servers.
  2. If you fill "Fallback servers" with your addresses, we will use your addresses.
  3. If you fill "Fallback servers" with 'none' word, we will set empty list of fallbacks.
sfionov commented 3 years ago

Fixed, will be included in Adguard for iOS 4.2