DNS-over-HTTPS (DoH) test
This checks, from your browser, whether you can reach the major encrypted DNS-over-HTTPS resolvers and how fast each one responds.
How to use the dns-over-https (doh) test
- Open this page: the test queries each public DoH resolver automatically.
- Read which resolvers responded and their latency.
- A blocked resolver means this network is filtering encrypted DNS.
What this tells you
This runs from your browser and tries to reach the major public DNS-over-HTTPS resolvers. A green latency means your network lets you reach that encrypted resolver and how fast it answered; "unreachable" means a firewall, captive portal, or DNS filter on this connection is blocking it. DoH encrypts your lookups so the network between you and the resolver can't read them, but it isn't a VPN: your IP and the rest of your traffic stay visible, and a browser sending DoH straight to a public resolver can even bypass a VPN's tunneled DNS. On vpn.golf, DNS is resolved inside the tunnel, so let the VPN handle it. To see whether your real resolver is leaking, use the DNS leak test.
Code & API examples
Use this from the command line or your code.
curl -s -H "accept: application/dns-json" "https://cloudflare-dns.com/dns-query?name=example.com&type=A"
See all endpoints at /api/tools/.
Frequently asked questions
vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.
Step up to the tee for free