Detect DOH

Is there any way to detect if the user has enabled DOH or DOT by another app? If there is no built-in feature then maybe make a special network request that will indicate that?
Accepted Answer
What’s your end goal here?

If your goal is to see whether your connection used a secure DNS, you can do that by looking at the new dnsProtocol property in the connection establishment report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Detect DOH
 
 
Q