AdguardTeam/DnsLibs

Adding/Editing DNS Servers

nightznero opened this issue · 33 comments

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

AdGuard version

4.2.118 and prev stable

Environment

- OS:A13
- Device: SM S20U
- Firmware: OneUI 5.1

Root access

  • Yes, I have it.

What filters do you have enabled?

Others

What Stealth Mode options do you have enabled?

Hide your search queries, Send Do-Not-Track signals, Strip URLs of tracking parameters, Self-destruction of third-party cookies, Disable cache for third-party requests, Disable WebRTC, Block Push API, Hide your User Agent, Hide your IP address, Remove X-client-Data header from HTTP request, Protect from DPI

Issue Details

Adding new DNS or trying to editing already added server

Expected Behavior

On version v3.x adding or editing existing DNS servers was normaly working but after update to stable version of v4 and now on version v4.2.118 issue still presents for me

Actual Behavior

Rather than save or indicate what exacly is wrong,on every dns try to add/edit showing the same issue,was trying to delete prefix/surfix just to check is there only that error or the other but there is only this one

Screenshots

Screenshot_20231111_162158_AdGuard

teseted with few DNS,all have same error

Additional Information

No response

I got the same error in v3.6. So the problem is that these particular servers are not available now, perhaps they no longer exist.
Try adding a server from another provider.

I got the same error in v3.6. So the problem is that these particular servers are not available now, perhaps they no longer exist. Try adding a server from another provider.

I was trying to. With private ADG DNS as well as with Public,in public i wanted to change a HoD cuz it was changed since i added it to My DNS's lists from https://dns.adguard.com/dns-query to https://dns.adguard-dns.com/dns-query so thats mean public ADG DNS doesn't exist either? Even if deleted HoD version(cuz if even was deleted/wrong) and just left plain v4 and v6 IP addresses with DNSCrypt (sdns://xyz) but still the same issue. Same goes also for NextDNS and as on screen for Mullvad. Its not the fault of doesn't existed locations or of availablilities of these

The second line from the screenshot is invalid.
Do you have any problems with adding https://dns.adguard-dns.com/dns-query upstream?
To troubleshoot this issue, we also need to get the app logs.
Here's what we need you to do:

  1. Enable debug logging:
    Settings -> General -> Advanced -> Logging level -> Debug
  2. Reproduce the issue, then remember the exact time when it happened
  3. Collect logs:
    Settings -> General -> Advanced -> Export logs and system info
  4. Send this file to devteam@adguard.com:
    • mention the 5075 number in the subject
    • specify the exact time when the issue occurred

The second line from the screenshot is invalid. Do you have any problems with adding https://dns.adguard-dns.com/dns-query upstream? To troubleshoot this issue, we also need to get the app logs. Here's what we need you to do:

  1. Enable debug logging:
    Settings -> General -> Advanced -> Logging level -> Debug

  2. Reproduce the issue, then remember the exact time when it happened

  3. Collect logs:
    Settings -> General -> Advanced -> Export logs and system info

  4. Send this file to devteam@adguard.com:

    • mention the 5075 number in the subject
    • specify the exact time when the issue occurred

ill send the issue but just to clarify.
I can add ADG that u shared without any issue,same goes for Mullvad(from ss) or NextDNS,BUT if next line contain(no matter which one adg or any other) ip,ipv6,DoT(as from Mullvad ss) it shows error. Maybe i M dumb or blind but,if i M not wrong ADG in DNS section supports all of above versions like v4 v6 DoT,not only HTTPS. Right?

adding https + v4 works,any of v6,DoT,DoH shows the error

Could you please try to add these pairs of upstreams? If any errors appear, please let me know what they are.
1.
https://dns.adguard-dns.com/dns-query
tls://dns.adguard-dns.com
2
https://dns.adguard-dns.com/dns-query
quic://family.adguard-dns.com
3
https://unfiltered.adguard-dns.com/dns-query
tls://unfiltered.adguard-dns.com

Also you can try to use AdGuard 4.3 Beta.

Could you please try to add these pairs of upstreams? If any errors appear, please let me know what they are. 1. https://dns.adguard-dns.com/dns-query tls://dns.adguard-dns.com 2 https://dns.adguard-dns.com/dns-query quic://family.adguard-dns.com 3 https://unfiltered.adguard-dns.com/dns-query tls://unfiltered.adguard-dns.com

Also you can try to use AdGuard 4.3 Beta.

1 Doesn't work
2 Added without ant issue
3 Doesn't work
The issue is with the type of DNS cuz mixed (3) https unfiltred with (2) quic family and also has been added.
I doesn't want to override my settings with Nightly/Beta versions. i m already testing on 3.6.54 n 4.2.118 and on both are almost the same results,with one diff that on v4 i can TLSs but on v3 i cannot.but still on v3 n v4 os issue with DoT DoH n ipv6

What error exactly are you getting?

What error exactly are you getting?

ADG v3
Screenshot_20231219_170341.png

ADG v4
Screenshot_20231219_170644_AdGuard.png

Thank you. Well, we are waiting for your logs, without them we will not be able to solve the problem.

You wrote that you have a problem adding servers in version 4.2, but your screenshot shows that the server was successfully added. Could you please clarify again what the problem is with version 4.2?

You wrote that you have a problem adding servers in version 4.2, but your screenshot shows that the server was successfully added. Could you please clarify again what the problem is with version 4.2?

Well,on version v3.xx i can add https,quic n ipv4 while for past 2years i could add any type of dns,and if i M not wrong on the first stsble relase of v4.xx i also could add any of type byt now its familiar linited as on v3.
On v3 i can add 3types (https,quic,v4)
on v4 i can add 4types of DNS (https,quic,tls,v4) BUT DoH,DoT and ipv6 shows the errors like ADG delete suppor for that types but i dont think adg team would do that

@nightznero Could you please send us your logs?

@nightznero Could you please send us your logs?

logs has been sent

You didn't attach logs in the second email.

Unfortunately, transfer has expired and is not available any more. Could you please send logs again? It would be great if you could still send a file instead of a link.

Unfortunately, transfer has expired and is not available any more. Could you please send logs again? It would be great if you could still send a file instead of a link.

If You don't have something like Microsoft have,their own temporsry hostage for sending files; I cannot sent logs as a file cuz its too big for mail service

Do you have the opportunity to upload the file to Google Drive and send us a link to it?

Do you have the opportunity to upload the file to Google Drive and send us a link to it?

Mega? Google n OneDrive is kind of problem for Me If You don't mind

You can launch the app, reproduce the issue and go to Settings -> Support -> Report a bug. In the message input field, write that the task is opened on github, specify the number "5075", specify the exact time when the issue occurred and send a report. Then write here a number of your ticket (you will get it by email).

Do you have such a problem in the latest Nightly version? We fixed one bug that caused problems with adding DNS servers, and we hope that it helped you.

Do you have such a problem in the latest Nightly version? We fixed one bug that caused problems with adding DNS servers, and we hope that it helped you.

I don't use Nightly version cuz heard after relase version v4 u cannot overwrite normal version with Nightly and vice versa as its was on v3.If You stick to one channel u gave to use him or reinstall adg.
Or its fake and I can use next stable version even if I now install Nightly?

In versions v4, it is possible to select an update channel and change it at any time, then if a version higher than the one you already have appears on the selected channel, the application will offer to update.

In versions v4, it is possible to select an update channel and change it at any time, then if a version higher than the one you already have appears on the selected channel, the application will offer to update.

Alrighty,
Under testing
idk its has been added in THIS version or prev cuz I left v4 version for v3 but now i see others errors than just "server doesn't respond" good to see.
but heres first issue i find,ip6 filtering is enabled but adg shows its doesn't
20240507_201622.jpg

  1. DNSWarden - any protocol doesn't work (DoH/DoT/DoQ)
    Screenshot_20240508_100527_AdGuard.png

  2. Mullvad & LibreDNS from LibreOps - ipv4 doesn't work
    Screenshot_20240508_100835_AdGuard.png

Screenshot_20240508_101315_AdGuard.png

on v4 its doesn't work but on v3 working properly,but heres diff e.x of Blokada while on v3 its doesn't work...works on v4
4. Blokada - one and only; DoH doesn't work(v3)
20240508_102818.jpg

Thanks for the answer! Could you please create a separate task related to IPv6 filtering? As for the error “This server isn't responding or doesn't exist,” we passed it on to our colleagues, they will try to fix this problem.

Could you please create a separate task related to IPv6 filtering?

You mean to create new issue on Git or...? Cuz idk how to understand the "task"? 😅

Yes, issue on GitHub

In versions v4, it is possible to select an update channel and change it at any time, then if a version higher than the one you already have appears on the selected channel, the application will offer to update.

Today i was trying to install new "release" but without uninstall its impossible,as j said before. In next updateds u can think about deleting that restrictions,to clarify; i dont say about GP updates but just install .apk file,now cannot back to relase even if on settings channel is switched on Relase Channel

@nightznero Hello! Can you please check in Low-level settings, if any custom server set in Bootstrap upstreams?

@nightznero Hello! Can you please check in Low-level settings, if any custom server set in Bootstrap upstreams?

Its setted up the ADG Server

@nightznero Can you please try to change it to something else? AG unfiltered may not be available in some countries.

@nightznero Can you please try to change it to something else? AG unfiltered may not be available in some countries.

Im EU resident,and also its DEFAULT ADG server,i mean with filtering.
94.140.14.14
94.140.15.15
2a10:50c0::ad1:ff
2a10:50c0::ad2:ff