INTEGRITY Cloudflare Docs

Oblivious DNS over HTTPS

With standard DNS over HTTPS (DoH), your DNS queries are encrypted, but the resolver still sees both your IP address and the domain you are looking up. Oblivious DNS over HTTPS (ODoH) adds a privacy layer so that no single entity can see both pieces of information at the same time.

How ODoH works

ODoH introduces two roles between your device and the DNS resolver:

Because the query is encrypted before it reaches the proxy, and the target never learns your IP address:

This means that, as long as the proxy and the target do not collude, no single entity can have access to both the DNS messages and the client IP address at the same time. Clients are in complete control of proxy and target selection, so you can choose a proxy and target operated by different organizations to reduce collusion risk.

Clients encrypt their query for the target using Hybrid Public Key Encryption (HPKE), a standard for encrypting messages to a recipient using their public key. A target's public key is obtained via DNS, where it is bundled into an HTTPS resource record and protected by DNSSEC.

Cloudflare and third-party products

Cloudflare 1.1.1.1 supports ODoH by acting as a target that can be reached at odoh.cloudflare-dns.com.

To make ODoH queries you can use open source clients such as dnscrypt-proxy.

iCloud Private Relay uses similar privacy-separation principles and uses Cloudflare as one of their partners.