TLS Server Name Indication (SNI) is a field in the TLS handshake that names the destination hostname — visible to any network observer even when the connection itself is encrypted.
Explanation
When your browser opens an HTTPS connection to youtube.com, the very first bytes (the TLS ClientHello) include the destination hostname in plaintext via the SNI field. This is necessary because one IP address can host many HTTPS sites, and the server needs to know which certificate to present. But it also means every intermediate network can see which specific domain you are connecting to, even though the request contents are encrypted. DPI-based blocking uses SNI heavily — the firewall reads the hostname from the ClientHello and drops the connection if the hostname is blocked. Encrypted SNI (ECH) hides the hostname; adoption is still limited in 2026.
Related terms