iCloud Private Relay Blocking - ios26
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), AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.107.63
Action
Despite iCloud Private Relay Service blocking being enabled, it is no longer blocked on ios26.
IOS18.5 prompted the user to disable private relay on the WiFi network, now the user is not prompted and blocking this service no longer works
Expected result
iCloud private relay not blocked
Actual result
DNS Filtering Bypassed
Additional information and/or screenshots
No response
Have you confirm that AdguardHome is allowing the requests? It's possible/probable that Apple are using either hard-coded DNS entires in iOS, or are talking to a 3rd Party DNS server, bypassing AdGuardHome entirely.
If you can provide some logs showing AdGuardHome permitting the queries then I will flag this up, but probably this is just Apple working around people trying to block Private Relay at the DNS level.
I've come up with a workable solution after further testing. The block iCloud service doesnt work at all on iOS26.
The only way I've been able to get it working as expected is to create custom block rules for:
||mask-h2.icloud.com^$important ||mask.icloud.com^$important ||mask-canary.icloud.com^$important ||canary.mask.apple-dns.net^$important
The key one is mask-canary.icloud.com which allows iCloud Private Relay to detect the service is unavailable and to close down the service gracefully. Without that address - iCloud Private Relay just fails.
When mask-canary.icloud.com is included the user is notified that iCloud Private Relay is unavailabe and DNS resolution then routes through AdGuard.
Most of those domains are already blocked by the service, including the canary one...
In the intervening days, it’s still really flaky, I’ve manually switched iCloud + on my SSID, but I’ve no confidence it will behave properly on my Guest network.
I guess once iOS26 comes out in Public Beta we might see more people raising the same issue.
I’ve checked the logs and the canary url is only ever blocked by my custom rule, never by the service.
It should. The syntax is correct
Does making a change count as a rewrite in custom filtering, or should any type of block — even the Default one — work? I created a specific list for Private Relay. I read that the recommended approach is to rewrite domains to NXDOMAIN, but I’m not sure if that actually registers as a change.
Linking #8516 for traceability. The reproduced cause is that the built-in
iCloud Private Relay service rules carry $dnsrewrite/NXDOMAIN, but the
blocked-service path discarded that rewrite and generated the generic blocking
response. The PR applies the declared rewrite and adds an end-to-end
mask.icloud.com regression, matching the report that an equivalent custom
rule works while the built-in service does not.
This issue should remain open until the PR is accepted and merged; field confirmation on iOS 26 would still be useful afterward.
Any update on this being implemented ? Ios27 seems to be even worse on that front and despite all private relays options being off, it still connects and uses it.
Use Hagezi's blocklist to block it
I added these custom rules to solve this:
||mask.icloud.com^$dnsrewrite=NXDOMAIN;;
||mask-h2.icloud.com^$dnsrewrite=NXDOMAIN;;
||mask-canary.icloud.com^$dnsrewrite=NXDOMAIN;;
Thanks! I'll try that!
Having this issue on my phone. Running 27.0.1
Block private relay is checked in my server profile
Having this issue on my phone. Running 27.0.1
Block private relay is checked in my server profile
What "issue" are you having?
Apologies, I meant not being able to block private relay on my device and not browse through safari But It's working now although not as seamlessly as it used to
Yup, Still not working
Again what's not working?
If it's being blocked it won't be able to resolve DNS queries therefore sites won't load
Private relay is still active despite having the switch toggled on in my server setting and I can only browse through safari with adguard when private relay is unavailable which is what was done automatically but it's not working anymore
To accentuate, private relay is active and after some testing I found that when filtering through adguard and private relay is active I can't browse on safari. I believe that was the issue being discussed here, please correct me if I'm wrong
Are you using AdGuard Home or AdGuard Public DNS?
Adguard home