CLOUD CONCEPT

DNS over HTTPS

DNS over HTTPS (DoH) transports DNS queries and responses inside HTTPS to protect communications between a DNS client and a compatible resolver.

Cloud Concepts Hub →

What is DNS over HTTPS

DoH uses HTTPS encryption and server authentication to reduce DNS eavesdropping and tampering on the client-to-resolver connection. It is useful across untrusted networks and cloud boundaries, but it does not replace DNSSEC, guarantee resolver privacy, or automatically encrypt every subsequent DNS lookup.

DNS over HTTPS, standardized in RFC 8484, carries DNS messages in HTTPS requests and responses, normally using port 443. Traditional DNS commonly uses unencrypted UDP or TCP on port 53, which allows devices along the network path to observe queried names and potentially interfere with responses. DoH protects the connection to the selected resolver with TLS, provided that the client correctly validates the resolver's certificate and identity.

A DoH client can be a browser, an operating-system resolver, an application, or a local DNS proxy. Standard DoH supports HTTP GET and POST with DNS messages encoded according to the protocol. Persistent HTTPS connections can amortize connection establishment costs, but initial TLS negotiation, network distance to the resolver, and resolver cache behavior still affect latency. Using port 443 does not make DoH ordinary web browsing from an operational perspective; it remains a DNS dependency that needs explicit availability, policy, and monitoring decisions.

In cloud architectures, workloads can use an approved public DoH resolver or an organization-controlled endpoint that preserves private DNS resolution. For example, a hybrid environment can send queries from an on-premises DoH-capable resolver to a compatible Amazon Route 53 Resolver inbound endpoint. The endpoint must be configured for DoH, reachable through the intended network path, and permitted by applicable security controls. Do not assume that a VPC's built-in DNS address automatically accepts DoH simply because Route 53 Resolver supports it on compatible inbound endpoints.

Resolver selection directly affects correctness and confidentiality. A public resolver generally cannot resolve private hosted zones or internal split-horizon records. Sending an internal service name to that resolver can both fail and disclose naming information outside the organization. Configure clients or forwarding proxies so that private namespaces reach the appropriate internal resolver, and ensure browser-specific DoH settings do not bypass enterprise DNS routing.

DoH and DNSSEC address different threats. DoH encrypts and authenticates a transport connection to a resolver; DNSSEC allows validation of signed DNS data through a chain of trust. A resolver can provide DoH without validating DNSSEC, and a DNSSEC-validating resolver can communicate with clients over plaintext DNS. For signed zones, combining DoH with DNSSEC validation protects the client-to-resolver channel while enabling detection of forged or modified DNS data. DNSSEC does not conceal queried names, and unsigned zones do not gain signed-data authenticity merely because DoH is used.

DoH is not end-to-end encryption between a client and every authoritative DNS server. The selected resolver can see the queries it processes, and its upstream communications may still use plaintext DNS. Network observers may also see the resolver's IP address and traffic timing. Evaluate resolver logging, retention, access controls, and upstream behavior rather than treating encryption as anonymity.

Operationally, unmanaged DoH can bypass centralized DNS filtering and query logging. Blocking port 53 alone does not prevent applications from using external DoH over HTTPS. Use managed client settings, approved resolver destinations, and appropriate egress controls together. Test certificate validation, resolver bootstrap, private-name resolution, endpoint failure, and fallback behavior; silent fallback to plaintext DNS can defeat a confidentiality requirement. For exam scenarios, distinguish encrypted DNS transport, DNS data authenticity, and centralized DNS governance before selecting a solution.

Key aspects of DNS over HTTPS

DoH protects DNS transport to a trusted resolver, but secure deployment also requires DNSSEC decisions, private-resolution compatibility, policy enforcement, and deliberate failure handling.

Encrypted client-to-resolver transport

HTTPS protects DNS queries and responses against observation and modification along the protected connection. Clients must validate TLS certificates and the configured resolver identity rather than disabling verification.

Separate from DNSSEC

DoH secures the transport channel, while DNSSEC validates signed DNS data. Use a DNSSEC-validating resolver when authenticity of signed answers is required in addition to transport confidentiality.

Explicit resolver trust

The resolver still sees the DNS messages it processes. Select resolvers according to ownership, logging, retention, filtering, and private-namespace requirements.

Private DNS compatibility

Cloud private zones and split-horizon records require a resolver with the appropriate network and DNS context. Route private queries to approved internal endpoints instead of assuming a public DoH service can resolve them.

Centralized policy and visibility

Application-level DoH can bypass system DNS configuration and centralized DNS controls. Enforce approved client settings and resolver destinations, and collect query logs at resolvers that actually handle the traffic.

Controlled failure and performance

Connection reuse can reduce repeated HTTPS setup overhead, but resolver distance and cache behavior remain important. Define whether failures should stop resolution or permit fallback, and test that fallback does not silently violate encryption requirements.