AdguardTeam / AdguardForiOS

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

When using native DNS, notify the user that they have to manually enable AdGuard in iOS DNS settings when toggling on AdGuard protection #2214

Open ghost opened 1 year ago

ghost commented 1 year ago

Prerequisites

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

Problem Description

When using native DNS and toggling AdGuard off, then back on, AdGuard will reenable AdGuard as the DNS provider in iOS DNS settings as this requires user intervention. The issue with this is that there is no way for the user to know that this is required at the moment without checking the DNS state.

Proposed Solution

Notify the user with the same message as when toggling on native DNS protection from the DNS protection page in the AdGuard app. My proposed solution is as below.

photo1693585340

Alternatives Considered

Additional Information

If a user is using a custom DNS server with the native DNS implementation, AdGuard will not return as an option in iOS DNS settings until a preconfigured DNS provider is selected in the AdGuard app, before switching back to the custom DNS server. Refer to #2203 as to why.

ESurina commented 1 year ago

We will add it in the next versions!