AdguardTeam / AdguardTeam/AdguardForiOS

Incorrect error message

Open
#2,095 2 comments 1 reaction 0 assignees View on GitHub
Bug Junior Priority: P4 TechAudit Version: ADGuard v4.6 [Reserved]
Dominant language
Swift
Stars
1.7k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

When adding a DNS server and selecting a DNS implementation, that DNS server will not be shown when selecting the other DNS implementation.

If you attempt to add the same DNS server that you added with the first DNS implementation, it will tel you you cannot add duplicate DNS servers.

What seems to be happening is that the DNS servers are being written to the same location, but don't seem to be getting read from the same location as the custom DNS servers aren't shared between both DNS implementation's.

Steps to repro
1. Set DNS implementation to AdGuard
2. Create custom DNS server
3. Switch DNS implementation to Native
4. (DNS server will disappear from DNS server list) Add the same DNS server that you added in step 2.
5 Error will be observed.

![image](https://user-images.githubusercontent.com/95468948/209037751-4135a212-6283-493a-b5e3-5cc5d1a0c424.jpeg)
![image](https://user-images.githubusercontent.com/95468948/209037772-268862c8-5fcd-4239-8eb2-47761438aa12.jpeg)
![image](https://user-images.githubusercontent.com/95468948/209037797-b09080e6-1b65-45a2-b0d4-f9ce5ae54f13.jpeg)

Version: 4.4.5(9.8.5)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.