Compare protocols
DNSCrypt vs DoH vs DoT: Encrypted DNS Protocols Side by Side
Compare encrypted DNS protocols
DNSCrypt v2
- Transport
- UDP and TCP
- Port
- 443 by default, set per server in the stamp
- Server authentication
- Server key published in the stamp; certificates fetched over DNS
- Blockability
- Uses port 443 but is not HTTPS, so traffic inspection can tell it apart
- Client anonymity
- Anonymized DNSCrypt relays
- DNSSEC
- Independent; pick servers that validate
- Built into systems
- None; needs a client such as dnscrypt-proxy
- dnscrypt-proxy support
- Yes
DNS-over-HTTPS
- Transport
- HTTPS over TCP (HTTP/2) or QUIC (HTTP/3)
- Port
- 443
- Server authentication
- TLS certificate of the server host name
- Blockability
- Looks like ordinary web traffic; blocking means blocking known endpoints
- Client anonymity
- Oblivious DoH through a proxy
- DNSSEC
- Independent; pick servers that validate
- Built into systems
- Major browsers, Windows 11, Apple platforms via profiles
- dnscrypt-proxy support
- Yes
DNS-over-TLS
- Transport
- TLS over TCP
- Port
- 853
- Server authentication
- TLS certificate of the server host name
- Blockability
- Dedicated port, easy to block or single out
- Client anonymity
- None built in
- DNSSEC
- Independent; pick servers that validate
- Built into systems
- Android Private DNS, systemd-resolved, Apple platforms via profiles
- dnscrypt-proxy support
- No
DNS-over-QUIC
- Transport
- QUIC over UDP
- Port
- 853
- Server authentication
- TLS 1.3 certificate inside QUIC
- Blockability
- Dedicated port, easy to block or single out
- Client anonymity
- None built in
- DNSSEC
- Independent; pick servers that validate
- Built into systems
- Limited; mostly provider apps
- dnscrypt-proxy support
- No
Oblivious DoH
- Transport
- HTTPS through a separate proxy
- Port
- 443
- Server authentication
- Target public key plus TLS to the proxy
- Blockability
- Looks like ordinary web traffic
- Client anonymity
- Built in: the proxy sees you, the target sees the query
- DNSSEC
- Independent; pick servers that validate
- Built into systems
- Limited; mostly specialised clients
- dnscrypt-proxy support
- Yes
Anonymized DNSCrypt
- Transport
- DNSCrypt through a relay
- Port
- 443 by default
- Server authentication
- Same as DNSCrypt, end to end with the server
- Blockability
- Same as DNSCrypt
- Client anonymity
- Built in: the relay sees you, the server sees the query
- DNSSEC
- Independent; pick servers that validate
- Built into systems
- None; needs dnscrypt-proxy
- dnscrypt-proxy support
- Yes
Plain DNS
- Transport
- UDP, TCP for large answers
- Port
- 53
- Server authentication
- None
- Blockability
- Readable and rewritable by anyone on the path
- Client anonymity
- None
- DNSSEC
- Records can be validated, the link stays open
- Built into systems
- Everywhere
- dnscrypt-proxy support
- Only to bootstrap other protocols
DNSSEC
- Transport
- Not a transport: signatures inside DNS records
- Port
- Any
- Server authentication
- Records signed by the zone owner, checked by the resolver
- Blockability
- Does not hide anything
- Client anonymity
- None
- DNSSEC
- It is DNSSEC
- Built into systems
- Validated by many public resolvers
- dnscrypt-proxy support
- Filter with require_dnssec
The dnscrypt vs doh vs dot question rarely has one winner: the three protocols protect the same hop in different ways. The matrix puts DNSCrypt v2, DNS over HTTPS, DNS over TLS, DNS over QUIC, Oblivious DoH, Anonymized DNSCrypt, plain DNS and DNSSEC in columns, so you can compare them on the properties that matter for your network.
Pick two or more columns to highlight them, or filter the rows down to the properties you care about. Each cell carries a short value and, where it helps, a note with the source: an RFC section, the DNSCrypt specification or the operating system vendor’s own documentation. Plain DNS and DNSSEC are included as reference points, not as encrypted options.
How to read the dnscrypt vs doh vs dot matrix
Transport says what carries the encrypted query. DNSCrypt runs directly over UDP and TCP; its specification requires TCP and recommends UDP. DoT wraps DNS in a TLS session over TCP, DoH sends DNS messages inside HTTPS, and DoQ uses a QUIC connection. ODoH is built on DoH, and Anonymized DNSCrypt adds a relay in front of a normal DNSCrypt server.
Port is the number a firewall sees. RFC 7858 assigns TCP port 853 to DoT, and RFC 9250 puts DoQ on UDP port 853. DoH uses port 443 like any HTTPS site, and the DNSCrypt specification recommends port 443 for both UDP and TCP. The page on DNS port numbers explains each one in depth.
Server authentication shows how your client knows it reached the right resolver. DoT and DoH rely on TLS certificates. DNSCrypt uses a provider public key, an Ed25519 key that the client receives through a trusted channel such as a DNS stamp, and checks every short-term resolver certificate against it. No certificate authority is involved.
Blockability describes how easily a network can stop the protocol without breaking other traffic. A dedicated port such as 853 is simple to filter, so DoT is the easiest to block. DoH looks like ordinary HTTPS on port 443. DNSCrypt also listens on 443 by default, but its packets are not TLS, so it is not hidden behind web traffic.
Privacy rows: anonymity and dnscrypt vs dnssec
Client anonymity asks whether the resolver learns both who you are and what you looked up. With DoH, DoT, DoQ and plain DNSCrypt it does. The Anonymized DNSCrypt specification routes encrypted queries through a relay that cannot read them, so the server only sees relay addresses. RFC 9230 gives ODoH the same split for DoH.
The DNSSEC relation row settles the common dnscrypt vs dnssec confusion. DNSSEC signs records so that a validating resolver can detect forgeries, and RFC 4033 notes that it provides no confidentiality. The DNSCrypt specification says the reverse for itself: it protects the resolver link and does not replace DNSSEC validation. Every encrypted protocol in the matrix combines with DNSSEC.
OS-native support lists what works without extra software. Microsoft documents DoH and DoT in the Windows 11 DNS client, Apple announced native DoT and DoH for its platforms at WWDC 2020, and Android’s Private DNS mode has used DoT since Android 9. DNSCrypt is not built into any of these systems and always needs a client.
dnscrypt-proxy support shows what the most widely used DNSCrypt client can speak upstream. Its README lists DNSCrypt v2 (including the post-quantum PQDNSCrypt variant), DoH over TLS 1.3 and QUIC, Anonymized DNSCrypt and ODoH. DoT and DoQ are not on that list, so the column helps if you plan to run dnscrypt-proxy as a local resolver.
Pair comparisons and doh vs dot vs doq
Two pairings get their own pages because they come up most often. DoH vs DoT covers the choice most phones and browsers offer, including where DoQ fits into a doh vs dot vs doq decision. DNSCrypt vs DoH goes into DNSCrypt v2 cryptography, certificates over TXT records and the anonymizing relay modes.
Choosing from the dnscrypt vs doh vs dot matrix
Start with the rows your situation fixes. If a phone must work without extra software, the OS-native row narrows dnscrypt vs doh vs dot to DoT or DoH. If a network filters port 853, the blockability row rules out DoT and DoQ. If hiding your IP address matters, look at Anonymized DNSCrypt and the route builder.
Frequently asked questions
Which is more secure, DNSCrypt, DoH or DoT?
All three give strong encryption and authenticate the resolver. The practical differences are in how the server is authenticated, how easy the traffic is to block, which operating systems support it natively and whether an anonymizing relay mode exists. The choice depends on your network and devices rather than on the cipher.
Is DNSCrypt the same as DNSSEC?
No. DNSCrypt encrypts and authenticates the conversation with one resolver. DNSSEC signs the DNS records themselves so that a validating resolver can prove they were not forged. The DNSCrypt specification states that it does not replace DNSSEC validation, so the two are best used together. DNSSEC on its own provides no confidentiality, as RFC 4033 notes.
Which encrypted DNS protocol do operating systems support natively?
Windows 11 supports DNS over HTTPS and DNS over TLS in its DNS client. Apple platforms support both since 2020. Android's Private DNS setting uses DNS over TLS. DNSCrypt is not built into these systems and needs a client such as dnscrypt-proxy. If a phone must work without extra software, that limits the choice to DoT or DoH.
Where does DNS over QUIC fit in?
DoQ, defined in RFC 9250, carries DNS over QUIC on UDP port 853. It aims to combine the privacy of DoT with lower connection setup cost. It is not among the upstream protocols listed in the dnscrypt-proxy README, so using it needs a different client. Because DoQ shares port 853 with DoT, a network can block it just as easily.
Sources
- DNSCrypt protocol specification
- Anonymized DNSCrypt specification
- RFC 7858: DNS over TLS
- RFC 8484: DNS Queries over HTTPS
- RFC 9250: DNS over Dedicated QUIC Connections
- RFC 9230: Oblivious DNS over HTTPS
- dnscrypt-proxy README
- Microsoft Learn: Windows 11 network security
- Apple WWDC20: Enable encrypted DNS
- Android Developers Blog: DNS over TLS support in Android P