It is deeply disappointing how poorly Apple implements privacy tools and technologies.
To wit:
It is 2025 and you cannot configure a DoH endpoint in Safari on either iOS or OSX.
Further, enabling DoH in iOS involves an experts-only plist file download which has many esoteric failure modes that are difficult to track and have poor (nonexistent ?) documentation.
Finally, any regular person (like my wife) will have an almost immediate need to toggle adblocking DNS on and off for (weird site that breaks) but, of course, that is not possible without going through the entire plist file workflow twice (once to remove (not disable) the existing profile and once to re-download it).
I might be misunderstanding your problem, but if you want to easily switch DNS there is an iOS app I was using. Sadly, don’t remember what it was called, but I’m sure an AppStore search will yield possible solutions
To wit:
It is 2025 and you cannot configure a DoH endpoint in Safari on either iOS or OSX.
Further, enabling DoH in iOS involves an experts-only plist file download which has many esoteric failure modes that are difficult to track and have poor (nonexistent ?) documentation.
Finally, any regular person (like my wife) will have an almost immediate need to toggle adblocking DNS on and off for (weird site that breaks) but, of course, that is not possible without going through the entire plist file workflow twice (once to remove (not disable) the existing profile and once to re-download it).
Ridiculous. Embarrassing.