watch> dns over https — 10 packets

DNS over HTTPS · Protocol

DNS queries inside HTTPS

STEPS
  1. 1PLAIN DNSReadable by anyone on the way
  2. 2AN HTTPS LINKTCP and TLS to dns.google
  3. 3SEALED QUESTIONA DNS message in an HTTP request
  4. 4SEALED ANSWERThe DNS answer in an HTTP response
  5. 5WHAT STILL SHOWSHidden on the way, not from the resolver
NETWORK VIEW
Client192.168.1.10Router192.168.1.1Internetdns.google8.8.8.8
STEP 1/5 · 0/10
PACKET FLOWDNSTCPTLSv1.3
STEPTIMESOURCEDESTPROTOINFOSIZE
10.s192.168.1.108.8.8.8DNSStandard query A www.example.com75 B
20.012s8.8.8.8192.168.1.10DNSStandard query response A 203.0.113.1091 B
31.s192.168.1.108.8.8.8TCP52420 → 443 [SYN] Seq=066 B
41.012s8.8.8.8192.168.1.10TCP443 → 52420 [SYN, ACK] Seq=0 Ack=166 B
51.024s192.168.1.108.8.8.8TCP52420 → 443 [ACK] Seq=1 Ack=160 B
61.024s192.168.1.108.8.8.8TLSv1.3Client Hello (SNI=dns.google)571 B
71.036s8.8.8.8192.168.1.10TLSv1.3Server Hello + encrypted handshake, 2 segments2.9 KB
81.048s192.168.1.108.8.8.8TLSv1.3Change Cipher Spec, Finished (encrypted)118 B
91.048s192.168.1.108.8.8.8TLSv1.3Application Data (HTTP/2: DNS query)219 B
101.061s8.8.8.8192.168.1.10TLSv1.3Application Data (HTTP/2: DNS answer)200 B

Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.

LAYERApplication (Layer 7)
PORT443 (HTTPS)
CARRIESOrdinary DNS messages
HIDESWhich names you look up
SIMILARDNS over TLS (port 853)
DEFINED INRFC 8484

What is DNS over HTTPS?

DNS over HTTPS wraps ordinary DNS queries in an encrypted HTTPS request to a resolver such as dns.google. The names you look up stop being visible to everyone on the path.

Steps

  1. 1. PLAIN DNSReadable by anyone on the way
  2. 2. AN HTTPS LINKTCP and TLS to dns.google
  3. 3. SEALED QUESTIONA DNS message in an HTTP request
  4. 4. SEALED ANSWERThe DNS answer in an HTTP response
  5. 5. WHAT STILL SHOWSHidden on the way, not from the resolver

Which port does DNS over HTTPS use?

DNS over HTTPS primarily uses port 443 and 853.

Which layer does DNS over HTTPS run at?

DNS over HTTPS sits at Application (Layer 7).

Where is DNS over HTTPS defined?

RFC 8484.

Related ports

Related protocols

About This Tool

This page provides original, human-reviewed information about internet protocols such as DNS over HTTPS (DNS queries inside HTTPS), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.