This tester resolves a domain through two major DNS-over-HTTPS providers — Cloudflare and Google — straight from your browser, so you can confirm that encrypted DoH resolution works and that both resolvers agree on the answer.
How it works
Both Cloudflare and Google publish a JSON DoH API following the same query shape. A request looks like:
GET https://cloudflare-dns.com/dns-query?name=example.com&type=A
Accept: application/dns-json
The tool issues that request (and the Google equivalent at https://dns.google/resolve) with fetch(). The JSON response includes:
Status— the DNS RCODE (0= NOERROR,3= NXDOMAIN,2= SERVFAIL).Answer— an array of records, each with aname, numerictype,TTL, anddata(the IP for A/AAAA records).
The tool parses both responses, lists the resolved addresses with their TTLs, and flags whether the two resolvers returned the same set of IPs.
Reading the results
A matching answer from both resolvers means your DoH path is clean and consistent. A mismatch is not automatically a problem — content delivery networks return geo- and load-based answers — but a consistent mismatch, or a NXDOMAIN from only one provider, is worth investigating. If one query fails entirely while the other succeeds, the failing provider may be blocked on your network.
Notes
- The browser cannot read your operating system’s resolver directly, so this compares two encrypted public resolvers rather than DoH-vs-system. To compare against system DNS, run
nslookupordiglocally and check the IPs against what you see here. - A short TTL (a few seconds to a minute) means the record rotates often; re-running the query may yield different but valid IPs.
- All queries go directly from your browser to the public resolvers. No data passes through any Gera server.