MacOS 26 / iOS 26 fails to resolve DNS with Adguard Home when encryption enabled.
Prerequisites
-
[x] I have checked the Wiki and Discussions and found no answer
-
[x] I have searched other issues and found no duplicates
-
[x] I want to report a bug and not ask a question or ask for help
-
[x] I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Darwin (aka macOS), ARM64
Installation
Docker
Setup
On one machine
AdGuard Home version
0.107.71
Action
Replace the following command with the one you're calling or a description of the failing action:
~> dnslookup google.com https://dns.<mydomain>.com/dns-query
dnslookup 1.11.2
Server: https://dns.<mydomain>.com/dns-query
dnslookup result (elapsed 6.154646459s):
;; opcode: QUERY, status: NOERROR, id: 31630
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 3220 IN A 142.251.210.46
Expected result
I have HTTPS, DNS-over-HTTPS, and DNS-over-TLS enabled on Adguard pro. I'm able to do an DOH query with dnslookup. However, I am not able to use the DNS server with MacOS 26 or iOS 26 while encryption is enabled. I cannot tell for sure, but I think MacOS/iOS 26 is attempting to use encrypted DNS and is failing. If I disable encryption (and I assume force MacOS/iOS 26 to use plan DNS on port 53) it works correctly.
Actual result
Adguard Home only works with MacOS / iOS 26 with encryption disabled.
Additional information and/or screenshots
No response
Is the dnslookup command new in iOS26? I have Sequoia and I have no such command.
You also mention Adguard Pro which is confusing - how does that relate/what product are you talking about?
Best I can see you have a single tool (dnslookup) that doesn't appear to be a standard MacOS app that's failing here.
Can you clarify what, exactly, you think is wrong/bugged/the issue with AdGuardHome please?
I installed dnslookup based on advice I saw in other issues relating to DNS over HTTPS:
https://github.com/AdguardTeam/AdGuardHome/issues/4701#issuecomment-1249152533
A few issues mentioned it was better at performing valid DoH requests than crafting a raw curl call.
I'm having a hard time telling if there's an issue with AdGuardHome or MacOS 26. I have several macs using a local AdguardHome instance for DNS resolution since 2024. It had been set up to use encryption and and provide DNS over HTTPs and DNS over TLS in addition to port 53. As soon as we upgraded a few macs to MacOS 26, dns resolution started failing on those machines completely. I was able to verify that resolving names over plan DNS on port 53 works with nslookup and dig. I was able to test resolving names with DoH via dnslookup on the command line as well, but mac applications were all failing using the system's resolver.
When I turned OFF encryption on AdgardHome, making it only respond to port 53, dns resolution started working on macs with MacOS 26 again. It's hard to debug, but I suspect that MacOS 26 is attempting to resolve names via an encrypted method if it detects the server listening on the correct ports, and something about either how MacOS 26 is making those requests or how Adgard handles them is failing.
I saw the same behavior on iOS 26 as well.
If someone can give me some pointers how how to troubleshoot DNS over HTTPS/TLS issues in adguard, I can reenable encryption and see if I can come up with some better clues.
Hi! Could you please check if this issue is still reproducible with the latest AGH version? If yes, could you please run these commands against your AGH instance and share the output:
dig SVCB _dns.resolver.arpa @<AGH_IP>
dig HTTPS _dns.resolver.arpa @<AGH_IP>
This will help determine whether macOS 26/iOS 26 is using DDR (Discovery of Designated Resolvers, RFC 9462) via SVCB/HTTPS queries - which might be the root cause. Also, please share the AGH logs with verbose logging enabled when an iOS 26 device tries to connect through encrypted DNS.
Closing due to inactivity. If the issue persists, please leave a comment and we'll be happy to reopen the issue.