AdguardTeam / AdguardForMac

Open bug tracker for Mac version of AdGuard
https://adguard.com/
296 stars 15 forks source link

Unable to apply any of the DNS servers #1300

Closed aliafshany closed 1 year ago

aliafshany commented 1 year ago

AdGuard version

Version 2.12.0.1380 nightly

Browser version

Arc Version 1.8.1 (41651)

OS version

Ventura 13.5

What filters do you have enabled?

No response

What Stealth Mode options do you have enabled?

No response

Support ticket ID

No response

Issue Details

Steps to reproduce:

  1. just set your Adguard DNS Settings to cloudflare doH

Expected Behavior

No response

Actual Behavior

When you open https://one.one.one.one/help/, even though you have set your settings to Cloudflare DoH, the site indicates "NO!"

Screenshots

CleanShot 2023-09-19 at 20 21 28 CleanShot 2023-09-19 at 20 22 08

Additional Information

No response

Aydinv13 commented 1 year ago

@aliafshany hi there.

Is it only happening on this server/protocol? Does your computer have a VPN or software that affects network traffic? Do you see DNS requests in Filtering log (request details)? Could you try the command sudo dscacheutil -flushcache then check again please. You may reboot just in case.

aliafshany commented 1 year ago

@Aydinv13

aliafshany commented 1 year ago

when i run this command i get these results:

scutil --dns | grep 'nameserver\[[0-9]*\]'
  nameserver[0] : 8.8.8.8
  nameserver[0] : 1.1.1.1
  nameserver[1] : 1.0.0.1
  nameserver[0] : 8.8.8.8

is this normal? and i have only this line on my mac. nameserver 1.1.1.1 in /etc/resolv.conf

aliafshany commented 1 year ago

I encountered this issue on my Android device as well. Even though I have configured my DNS settings to AdGuard-QUIC, it is still malfunctioning. Please take a look at this demo:

https://github.com/AdguardTeam/AdguardForMac/assets/40741745/f374fcc3-438f-4417-8bd6-f0d8b5d59849

Aydinv13 commented 1 year ago

Please grab the debug logs and send to apple@adguard.com Here's what we need you to do:

  1. Click AdGuard icon in the menu bar --> Gear --> Advanced --> Logging --> Logging level --> Debug;
  2. Reproduce the issue and remember the exact time it happened;
  3. Menu --> Advanced --> Logging --> Export Logs and System Info...;
  4. Send the archive to apple@adguard.com and mention this issue number in the subject.
aliafshany commented 1 year ago

just sent the logs!

Aydinv13 commented 1 year ago

@aliafshany if you turn off VPN is everything ok? Has it started with the latest build?

aliafshany commented 1 year ago

@Aydinv13 I recorded another video with different settings here. I'm using AdGuard DoH in the settings, and when I visit https://adguard.com/en/test.html, I see AdGuard DNS as "Not Running."

CleanShot 2023-09-20 at 15 27 20

And this is the new video, without using any VPNs here. just sent another log for this video. you can see timestamps in this video

https://github.com/AdguardTeam/AdguardForMac/assets/40741745/57b1f5a4-43d8-434e-8cee-19d4e41297f2

aliafshany commented 1 year ago

@aliafshany if you turn off VPN is everything ok? Has it started with the latest build?

@Aydinv13 It was going on as far as I can remember. Turning off the VPN would not help here.

P.S. https://one.one.one.one/help/ is blocked here, and I can't access it without a VPN. Instead, I tried it on the Adguard test page.

aliafshany commented 1 year ago

@Aydinv13 It seems that AdGuard and Cloudflare DNS over HTTPS (DoH) are blocked here. That's why you can't reproduce this issue.