SecDNS

DNS over HTTPS (DoH)

DoH encrypts DNS queries inside HTTPS so they cannot be inspected or modified by intermediate networks, defined by RFC 8484 and supported by all major browsers.

DNS over HTTPS (DoH)

DNS over HTTPS (DoH) is an encrypted DNS transport that carries DNS queries and responses inside ordinary HTTPS connections to TCP port 443.

In plain English

Classic DNS is sent in plaintext, so the Wi-Fi cafe, the ISP, or anyone on the path can read which sites you visit and modify the answers. DoH hides DNS inside the same encrypted channel your browser uses for the rest of the web, so the lookups look indistinguishable from regular HTTPS traffic.

How it works

DoH is specified in RFC 8484. The resolver exposes an HTTPS endpoint (commonly /dns-query); clients send DNS messages as either an HTTPS POST with an application/dns-message body or as a GET with a base64url-encoded dns query parameter. Because the transport is HTTPS, it inherits TLS server authentication, HTTP/2 multiplexing, and HTTP/3 over QUIC. Browsers ship DoH on by default for well-known providers, mobile operating systems expose it as a system setting, and per-device profiles can be pinned to a specific DoH URL so the device uses the same protective resolver on any network. DoH is often paired with QNAME minimisation, EDNS Client Subnet controls, and DNSSEC validation at the resolver.

  • DNS — the underlying protocol
  • DoT — DNS over TLS, the same idea on port 853
  • DoQ — DNS over QUIC
  • DNS leak — what happens when encrypted DNS is bypassed
  • Protective DNS — DoH is the preferred transport for it
  • Recursive DNS — what a DoH client talks to

SecDNS perspective

Every SecDNS resolver speaks DoH on a per-device URL so each device's traffic is encrypted and tied to its own policy, log, and quota.

Frequently asked questions

Does DoH hide DNS from my ISP?

Yes. The ISP sees only an HTTPS connection to the resolver, not the names you are looking up.

Is DoH slower than plain DNS?

Slightly, because of TLS setup. Once a connection is warm the overhead is a few milliseconds and is invisible in practice.