DoH

DNS over HTTPS

This text was analyzed, written and translated by artificial intelligence (AI). It may contain mistakes.How we use AI

A way to send DNS Domain Name System The internet's directory that links domain names to computer addresses. Full definition of DNS questions inside an encrypted HTTPS Hypertext Transfer Protocol Secure The encrypted version of the protocol web browsers use to load pages. Full definition of HTTPS connection, the same kind used by secure websites. People on the network path cannot easily read or change the lookups. Browsers often use it to reach a resolver The DNS server that looks up domain names on behalf of users. Full definition of resolver they choose, which may bypass the local network's own resolver.

category
DNS and technical foundations

Updated on 5 min read

DoH, short for DNS over HTTPS, hides the questions a device asks the DNS by sending them inside the same kind of encrypted connection that secure websites use. Two related methods, DoT DNS over TLS DNS lookups carried over a TLS-encrypted connection on a dedicated port. Full definition of DoT and DoQ DNS over QUIC DNS lookups carried over the encrypted QUIC transport protocol. Full definition of DoQ, do the same over other encrypted channels. They keep lookups private on the way to the resolver, but the resolver itself still sees every question.

Why DNS lookups needed encryption

Classic DNS sends questions and answers unencrypted on port 53, so anyone on the network path can read or alter them. RFC Request for Comments A numbered document in the series recording the internet's technical standards and practices. Full definition of RFC 9076 points out that even when a website loads over encrypted HTTPS, the DNS lookup that came before it is not encrypted.

Encrypted DNS changes only the transport, as ICANN Internet Corporation for Assigned Names and Numbers The nonprofit that coordinates the global DNS and gTLD policy. Full definition of ICANN’s SSAC Security and Stability Advisory Committee ICANN's expert committee on security and stability of naming and addressing. Full definition of SSAC noted in its report SAC109 of 12 March 2020. The DNS messages stay the same; they travel through an encrypted channel between the device’s stub resolver The simple DNS client on a device that passes lookups to a recursive resolver. Full definition of stub resolver and its resolver.

It is not DNSSEC Domain Name System Security Extensions Digital signatures that prove DNS answers are genuine and unchanged. Full definition of DNSSEC. DNSSEC proves that an answer is genuine; encryption keeps it private. SAC109 says the two solve different problems and can be used together.

DoH, DoT and DoQ compared

  • DoT (RFC 7858, May 2016) uses a TLS Transport Layer Security The standard that encrypts connections between a browser or app and a server. Full definition of TLS connection over the Transmission Control Protocol (TCP), on port 853 by default. A dedicated port makes it easy to recognize.
  • DoH (RFC 8484, October 2018) puts each question into an ordinary web request over HTTPS, normally on port 443, shared with web traffic. It is designed to look like other HTTPS traffic to the same server.
  • DoQ (RFC 9250, May 2022) uses QUIC An encrypted transport protocol used by recent web traffic and by DNS over QUIC. Full definition of QUIC over the User Datagram Protocol (UDP), on UDP port 853. It offers privacy similar to DoT with delays similar to classic DNS, and is also defined for traffic between resolvers and authoritative server A DNS server that gives the official answers for a domain or zone. Full definition of authoritative server.

Browsers favored DoH because they already use HTTPS, so it was easier to build and less likely to break connections (SAC109).

RFC 8310 defines two ways to use DoT. Strict mode requires encryption and a verified server, and gives no answer otherwise. Opportunistic mode tries encryption but falls back, so it offers little or no protection against attacks.

Where it is switched on and how to change it

RFC 9076 notes that the vast majority of users never change their default DNS settings, so defaults in operating systems and apps decide who uses encrypted DNS. As of October 2026, vendor documentation describes:

  • Chrome: secure DNS is on by default in automatic mode, which falls back to unencrypted lookups if there is a problem. The switch is “Use secure DNS” under Settings, Privacy and security, Security. It cannot be used on managed devices or with parental controls on.
  • Firefox: the “DNS over HTTPS” section under Privacy and security offers Default, Increased and Max Protection, and Off. Default Protection uses secure DNS in regions where it is available and turns off with a VPN, parental controls, enterprise policies or a network signal.
  • Android: Private DNS, under Network & internet, uses DoT. Introduced in Android 9, it is used by default on networks that support it, with the options Off, Automatic or a provider hostname.
  • Apple: iOS 14 and macOS 11 added native DoT and DoH, for all apps or for a single app.
  • Windows 11: DNS over HTTPS can be turned on for each name server A server that holds a domain's DNS records and answers lookups. Full definition of name server in the network settings, with an optional fallback to unencrypted lookups. Windows 10 does not offer the setting.
  • Managed devices may have the setting fixed by their organization, for example through a mobile device management (MDM) profile on Apple devices or Firefox’s enterprise policies, which can turn DoH on or off and lock it.

Menus change between versions; the vendor’s current documentation is the reference.

What it protects and what it does not

Encrypted DNS stops others on the network, for example on shared Wi-Fi, from reading or changing lookups between the device and the resolver. Its limits:

  • The resolver operator still sees every question. With traffic concentrated in a few large resolvers, users depend on those operators’ privacy practices.
  • The size and timing of encrypted traffic can sometimes reveal the names looked up.
  • Without a securely configured server identity, an attacker can impersonate the resolver.
  • DoH can add web-layer identifiers, such as cookies, that DoT does not have.
  • As of March 2020, neither DoT nor DoH was standardized for the resolver’s queries to authoritative servers, which still used classic DNS (SAC109).
  • It does not make browsing anonymous.

QNAME minimization A resolver privacy technique that sends each server only the part of the name it needs. Full definition of QNAME minimization (RFC 9156, November 2021) is complementary. The resolver tells each server only the part of the name it needs: for www.example.com, it asks the root only about .com. It offers no protection from the resolver itself, and a study cited in the RFC found up to 26 % more lookups and up to 5 % more failures.

Effects on network filtering and parental controls

Many home, company and internet service provider (ISP) filters, including parental controls, work through DNS. An app that sends lookups to an outside resolver can bypass them, and inside a company it may fail to find internal names, breaking split-horizon DNS A DNS setup that gives different answers to internal and external users. Full definition of split-horizon DNS.

DoT on port 853 is easy to block. DoH is harder to block, but networks may block known DoH resolvers or manage settings by policy. As of March 2020, SAC109 described a canary domain, use-application-dns.net, that a network could set to tell Firefox not to use DoH; it was not standardized. As of October 2026, Firefox’s automatic mode turns DoH off if that name does not resolve or resolves only to local addresses. Two standards of November 2023, RFC 9462 and RFC 9463, let a network announce its own encrypted resolver.

SAC109 takes no position on the merits of DNS blocking, and concludes that DoT, and particularly DoH, will be disruptive.

Sources