how to check if DoH is working from CLI in windows?
.
I know there is a website to check, I want to know if I can check this from powershell.
3 Replies
The help website uses three endpoints to check if you're using CF DNS, if using DoH, or if using DoT, they are
<random-guid>.is-doh.help.every1dns.net
<random-guid>.is-dot.help.every1dns.net
<random-guid>.is-cf.help.every1dns.net
The use of random chars at the start is to prevent any dns cache from getting in the way, for example you can do
In powershell you can do the same:
nslookup "$(New-Guid).is-doh.help.every1dns.net"
If you get a response with the cname target
Non-authoritative answer: Name: target.every1dns.netYou are using Cf DoH If you get "can't find ...: Non-existent domain". You aren't for others: nslookup "$(New-Guid).is-dot.help.every1dns.net" nslookup "$(New-Guid).is-cf.help.every1dns.net"
Hi, thanks for the reply.
Btw only the last command showed any output.
and that last command is showing output even if I disable DoH in settings.
It shows correctly on the website when I turn off or on DoH in settings
https://one.one.one.one/help/