dns-query (DoH)

Live · spec-accurate de-facto

/.well-known/dns-query

Standard: RFC 8484 (DNS-over-HTTPS)

The default DNS-over-HTTPS endpoint — resolve DNS through HTTPS instead of port 53.

What it is

RFC 8484 defines the standard DoH URI template; /.well-known/dns-query is the default path where a DoH server accepts GET (?dns=base64url) or POST (application/dns-message) queries and returns application/dns-message responses.

The threat it addresses

Classic DNS is plaintext and trivially snooped or hijacked on untrusted networks. DoH wraps queries in HTTPS, hiding them from network observers and verifying the resolver's identity.

How it works

  • A client sends the wire-format DNS query over HTTPS to /.well-known/dns-query.
  • This server relays to the public resolver at cloudflare-dns.com — a real, working DoH endpoint you can point any resolver at.
  • Responses come back as application/dns-message.

Honesty notes

  • This endpoint is a live relay to Cloudflare's public resolver, not a resolver itself.
  • Not IANA-registered — RFC 8484 leaves the path to the operator; /.well-known/dns-query is the de-facto default used by browsers and resolvers.

In the wild

Links verified to serve this URI on 2026-08-05; some point at the governing spec where no live deployment could be verified.

Try it

Live demo

Working DoH relay — resolves real DNS through this server

Content-Type: application/dns-message
(binary DNS message, 61 bytes)
base64: EjSBgAABAAIAAAAAB2V4YW1wbGUDY29tAAABAAHADAABAAEAAADZAARoFBeawAwAAQABAAAA2QAErEKT8w==