What's new

Prevent client auto DoH

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Xboxsx4life

Occasional Visitor
Hello. I'm running AX86U Pro with latest Merlin release. I've reviewed this thread...


...but I'm still not clear on the difference between "Auto" and "Yes" for the "Prevent client auto DoH" setting when using a DNS filter with DoT.

I currently have DoT enabled in strict mode with Cloudflare's resolvers. And I have Prevent client auto DoH set to "Auto". Should this be changed to "Yes"?

Capture.PNG
 
Many Asuswrt settings will display a context help popup if you click on the label:

1707424329575.png
 
Just note that DoH depends on a white/black list of hosts...
The way my Prevent auto DoH works is through the APIs used by Windows and Firefox.

In Firefox's case, it won't auto-promote to DoH if the use-application-dns.net hostname resolves to NXDOMAIN or no valid record.

In Windows' case, it works by preventing DDR (Discovery of Designed Resolver) from working:
 
Thanks for everyone’s responses. Much appreciated. Final follow up question…

How valuable would it be to enable rebind protection? I understand what it does but not sure how much additional security it would add given that it can break certain services from what I’ve read. I’m using DoT in strict mode with ‘DNSSEC’ and ‘validate unsigned replies’ both enabled. Just not sure if it’s worth enabling rebind protection too.

Thanks again.
 
Last edited:
The way my Prevent auto DoH works is through the APIs used by Windows and Firefox.

In Firefox's case, it won't auto-promote to DoH if the use-application-dns.net hostname resolves to NXDOMAIN or no valid record.

In Windows' case, it works by preventing DDR (Discovery of Designed Resolver) from working:
Hi. Do you know how Asus implements this: "Prevent client auto DoH" and exactly how it works? Also are there any cons or side effects when set to Yes? Thank You very much for your insight.
I have an RT-AX86U Pro with the latest Asus firmware 3.0.0.6.102_34313 and with Filter Mode: Safe Quad9.
 
Last edited:
Hi. Do you know how Asus implements this: "Prevent client auto DoH" and exactly how it works?
Asus didn't implement this, I did.

All it does is sinkhole a few specific domains that are used by various clients to determine if automatic promotion to DoH should be done or not.

Code:
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/

First one is for Firefox, second one is for Windows, and third one is for iOS.
 
Asus didn't implement this, I did.

All it does is sinkhole a few specific domains that are used by various clients to determine if automatic promotion to DoH should be done or not.

Code:
address=/use-application-dns.net/
address=/_dns.resolver.arpa/
address=/mask.icloud.com/mask-h2.icloud.com/

First one is for Firefox, second one is for Windows, and third one is for iOS.
Thanks! Several people last year claim it broke Apple iCloud. But I don't see an iCloud issue after testing two Windows PCs.
See: https://zentalk.asus.com/t5/network...ffecting-icloud-connection/td-p/379654/page/2
Any side effects we should be aware of when "Prevent client auto DoH" is set to Yes using stock Asus firwmware?
"Asus didn't implement this, I did." Does this mean you wrote the code and Asus adopted it? :)
Thank You again.
 
Several people last year claim it broke Apple iCloud.
It does not. What it does is prevent iCloud Private Relay from bypassing your router's configured DNS servers, which is the point behind this toggle option.
Does this mean you wrote the code and Asus adopted it?
Yes. There's quite a few pieces of code in upstream Asuswrt that originally came from Asuswrt-Merlin, it's nothing really exceeptional here. Although Asus only prevents Firefox' auto DoH promotion from working, they didn't implement (so far) the additional sinkholes.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top