Skip to content
Shield

ExplainerDNS filtering limits

Encrypted Client Hello and DNS filtering

You will be able to judge whether Encrypted Client Hello (ECH) affects your guest WiFi filtering, and decide where to act. ECH encrypts the hostname inside the TLS handshake but leaves the DNS lookup visible to your resolver. Your priority is keeping every device on that resolver, not blocking ECH.

12 min read

Encrypted Client Hello and DNS filtering

Encrypted Client Hello (ECH) is a TLS 1.3 extension that encrypts the hostname a device sends when it opens an HTTPS connection. The IETF published it in March 2026 as RFC 9849. ECH hides the destination from firewalls that read Server Name Indication (SNI). It does not hide the DNS lookup your resolver answers first, so DNS filtering still decides.

What is Encrypted Client Hello, and what does it hide?

A network can filter in three places: at the resolver, at the TLS handshake, or inside decrypted traffic. ECH removes the middle option for every site that supports it. To see why, start with the message it encrypts.

Every HTTPS connection begins with a ClientHello, the first message of the TLS handshake. That message carries Server Name Indication, an extension defined in RFC 6066. SNI names the site the device wants, so one IP address can host thousands of sites. Without ECH, SNI travels in plain text.

TLS 1.3, published as RFC 8446, already encrypts the server certificate. That left SNI as the last plain-text hostname in the handshake. Firewalls and web proxies read it to apply category rules without decrypting anything.

ECH closes that gap by splitting the greeting in two. An outer ClientHello carries a public name that belongs to the hosting provider. An inner ClientHello carries the real hostname, and the device encrypts it. Only the provider's server holds the key to read it.

What ECH hides and what it leaves visible

ECH hides the real hostname, the application protocol list and the other extensions in the inner ClientHello. It leaves four things visible:

  • the destination IP address
  • the provider's outer public name
  • the timing and volume of traffic
  • the DNS lookup that came before the connection

That last item is the one that matters for filtering. The diagram below shows what each layer exposes once ECH is in use.

DNS lookup to your resolverReal hostname visible to the resolver you operateIP headerDestination address, often shared by many sites on oneproviderClientHelloOuterProvider's public name only, in plain textClientHelloInnerReal hostname and extensions, encrypted with HPKEHTTP trafficPaths and content, encrypted by TLS 1.3
What a network filter can read at each layer once ECH is in use

Layered diagram showing that the DNS lookup and IP header stay visible while the inner ClientHello and application traffic are encrypted.

Connections

  1. DNS lookup to your resolver to IP header (Answer supplies address and ECH key)
  2. IP header to ClientHelloOuter (Connection opens)
  3. ClientHelloOuter to ClientHelloInner (Carries encrypted payload)
  4. ClientHelloInner to HTTP traffic (Handshake completes)

How does Encrypted Client Hello work, step by step?

An ECH connection involves four parties: the device, its DNS resolver, the provider's client-facing server and the origin site. The sequence runs like this:

  1. The site publishes a key. The provider publishes an ECH configuration in the DNS HTTPS record defined in RFC 9460. The configuration holds a public key and the public name.
  2. The device looks the site up. Before connecting, the browser asks its resolver for the site's address records and its HTTPS record. The resolver sees the real hostname in that query.
  3. The device encrypts the inner hello. The device uses the published key to encrypt the inner ClientHello with Hybrid Public Key Encryption (HPKE), defined in RFC 9180.
  4. The provider decrypts and routes. The client-facing server decrypts the inner hello. It completes the handshake for the real site or forwards it to a backend server.
  5. Stale keys trigger a retry. If the provider has rotated its key, the server rejects ECH and returns fresh configurations. The device then tries again with the new key.

Step 2 is where your control sits. The device cannot encrypt anything until it holds an address and a key, and both arrive through DNS. If your resolver answers the query, it sees the real hostname before the device sends a single TLS byte. If your policy blocks that hostname, the resolver returns no usable address and the handshake never starts.

1. Query for address and HTTPS record2a. Domain matches a block policy2b. Allowed: address and ECH key sent3. Outer hello, encrypted inner hello4. Session for the real siteGuest deviceECH-capable browser onyour WiFiProtective DNSresolverSees the real hostnamein the queryLookup blockedNo usable address, noECH key, no handshakeEncryptedhandshakeOuter hello names theprovider onlyClient-facingserverDecrypts the inner hellowith its private keyOrigin siteThe real destinationnamed in the inner hello
Where the filtering decision happens in an ECH connection

Flow diagram showing a device querying a protective DNS resolver, which either blocks the domain or returns an address and ECH key before the encrypted handshake reaches the provider and the origin site.

Connections

  1. Guest device to Protective DNS resolver (1. Query for address and HTTPS record)
  2. Protective DNS resolver to Lookup blocked (2a. Domain matches a block policy)
  3. Protective DNS resolver to Encrypted handshake (2b. Allowed: address and ECH key sent)
  4. Encrypted handshake to Client-facing server (3. Outer hello, encrypted inner hello)
  5. Client-facing server to Origin site (4. Session for the real site)

GREASE: why you cannot spot ECH on the wire

The specification tells clients to send GREASE ECH when they have no key. GREASE ECH is a dummy extension filled with random bytes. A middlebox cannot tell real ECH from this noise by inspecting the packet. Firewall rules that try to detect and block ECH traffic will misfire against ordinary connections.

ECH, ESNI, SNI and DoH: which term means what?

Four families of terms circulate in vendor material, and they describe different layers. The table separates them by what each one is, where it is defined, and what your network can still see.

SNI, ESNI, ECH and encrypted DNS compared Data as of 2026-06-01
TermWhat it isDefined inWhat your network still sees
SNIPlain-text hostname in the TLS ClientHelloRFC 6066The full hostname, to anything on the path
ESNIEarly draft that encrypted the SNI field alone, with keys in a TXT recordSuperseded IETF draftOther handshake extensions; clients have moved to ECH
ECHEncrypts the whole inner ClientHello, including SNIRFC 9849Outer public name, IP address and the prior DNS lookup
Outer SNI (public name)Provider hostname in the unencrypted outer helloRFC 9849The provider, not the site
HTTPS recordDNS record that carries the ECH key and public nameRFC 9460Visible to the resolver that answers it
GREASE ECHDummy ECH extension sent when a client has no keyRFC 9849Looks identical to real ECH on the wire
DNS over HTTPS (DoH)DNS queries sent inside HTTPS on port 443RFC 8484HTTPS traffic to the resolver, not the queries
DNS over TLS (DoT)DNS queries sent inside TLS on port 853RFC 7858Port 853 traffic, not the queries
ECH hides the handshake. DoH and DoT hide the lookup. Only the second pair moves the control point away from your resolver.

ECH is not encrypted DNS

This is the most common confusion. ECH protects the TLS handshake. DNS over HTTPS and DNS over TLS protect the lookup. A device can use ECH while sending every query to your resolver. In that case your DNS filter sees every hostname it needs to make a decision.

ECH does not hide the IP address

The destination address stays in the packet header. On large hosting providers, though, thousands of unrelated sites share the same addresses. An IP block aimed at one site will catch its neighbours too. That makes IP filtering a blunt fallback, not a replacement for SNI rules.

Blocking ECH is not the same as filtering

Searches for "ech block" usually come from teams whose SNI rules stopped firing. A resolver can strip the ECH key from HTTPS record answers, which pushes clients back to a plain-text hostname. Doing so weakens privacy for every guest on the network. It also leaves GREASE ECH in place, so the traffic still looks encrypted. If your filter already decides at the lookup, stripping keys adds risk without adding control.

ESNI is not a softer version of ECH

ESNI was the earlier draft. It encrypted the SNI field but left other extensions readable, and it published keys in a TXT record. The IETF replaced it with ECH. Treat any product that still lists "encrypted SNI" support as describing the older design.

Where do you meet ECH on a real network?

ECH shows up wherever a browser that supports it reaches a site whose provider has enabled it. Chrome and Firefox both support ECH. Cloudflare announced ECH support for sites on its network, which puts a large share of the web behind a small set of public names.

On guest WiFi in hotels and pubs

The usual symptom is a firewall category rule that quietly stops matching. Your logs show the provider's public name where the real hostname used to appear. The guest reaches a site your policy should have stopped. If the DHCP scope hands out a protective resolver, the lookup was already decided before the handshake.

At airports and transport hubs

Passenger devices are unmanaged, varied and short-lived. You cannot install a root certificate for TLS inspection on a passenger's phone. DNS is the one layer you control across every device on the network. AGS Airports runs Purple Shield for exactly that reason: the policy sits at the lookup, not on the device.

In healthcare

Hospitals run visitor and patient WiFi alongside clinical networks. The threat filtering has to work on devices the trust does not own.

On staff and managed devices

Managed devices give you more options. Chrome and Firefox both expose enterprise policies for DNS over HTTPS, so you can keep corporate browsers on your resolver. Those policies do nothing for a visitor's phone. That is why the lookup, not the device, is the control point on any network with guests.

What are the limits of DNS filtering when ECH is in use?

DNS filtering only decides what passes through your resolver. ECH does not change that boundary, but it removes the handshake as a backstop. Each gap below is worth closing before you rely on DNS alone.

Encrypted DNS to an outside resolver

A browser configured for DNS over HTTPS to an outside resolver skips your filter entirely. Firefox checks a canary domain, use-application-dns.net, and disables its default DNS over HTTPS when the network returns no answer for it (Mozilla documentation). The canary does not override a setting the person chose themselves. See DNS over TLS and filtering: what port 853 changes for the DoT side.

Cached answers and hardcoded addresses

A device that cached an answer before joining your network may connect without a fresh lookup. Some apps ship with hardcoded resolvers or addresses. Redirecting port 53 at the gateway forces stray plain-text queries back to your filter.

Paths, not just domains

DNS sees domains, never URL paths. Blocking one page on a shared platform needs TLS inspection with a certificate on the device. That was never possible on unmanaged guest devices, with or without ECH.

Shared provider addresses

When the real hostname is encrypted, the IP address and public name both point at the provider. Blocking either one blocks every site behind it. Keep IP rules for known malicious infrastructure, not for content categories.

VPNs and relay services

A VPN tunnels DNS and traffic past your network. Apple documents that a network can disable iCloud Private Relay by returning a negative answer for mask.icloud.com and mask-h2.icloud.com (Apple developer guidance). HTTP/3 runs over QUIC and can carry ECH too; QUIC and DNS filtering covers what changes there.

How does Purple Shield keep filtering when ECH is on?

Purple Shield is protective DNS and content filtering for every network. It decides at the lookup, the point ECH leaves untouched. When a device asks for a blocked domain, Shield returns no usable address. The device never receives an IP or an ECH key, so no encrypted handshake follows.

You set a policy per network and per VLAN, so Guest WiFi can carry a stricter content policy than Staff WiFi. Shield runs standalone or on Purple Access. It needs no new hardware and is hardware-agnostic across Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet networks.

Shield fails closed, so an outage never leaves a network unfiltered. Devices do not drop back to an open resolver that would answer blocked domains.

  • ~241,000threats blocked a weekSt George's Healthcare NHS Trust
  • 99.999%platform uptimePurple SLA
  • 80,000+live venuesPurple data
  • 90countriesPurple data

How Shield compares with Cisco Umbrella and Cloudflare Gateway

Cisco Umbrella and Cloudflare Gateway also filter at the DNS layer. ECH leaves that layer intact for all three services, so the encryption itself does not separate them. Deeper inspection in those platforms relies on an endpoint agent, which guest devices on a venue network will not run. Shield is built for the network you operate: a policy per network and VLAN, with nothing to install on visitors' phones. Whitbread and AGS Airports run Shield across their venues.

See how Shield works for the deployment model. For the wider control set, read the enterprise WiFi security guide and the DNS filtering limits overview.

Where ECH bites in a real deployment is rarely the handshake itself. It is any device that skips your resolver, because ECH then removes your last plain-text clue. The next guide, forcing DNS through your filter, covers redirecting port 53 and handling hardcoded resolvers.

Key terms

Encrypted Client Hello (ECH)
A TLS 1.3 extension published by the IETF as RFC 9849. It splits the ClientHello into an outer hello carrying a provider's public name and an encrypted inner hello carrying the real hostname, application protocol list and other extensions. You meet ECH when firewall category rules based on the hostname quietly stop matching. It removes the handshake as a filtering point, which leaves the DNS lookup as your control.
Server Name Indication (SNI)
A TLS extension defined in RFC 6066 that names the site a device wants in the ClientHello, so one IP address can host many sites. Without ECH it travels in plain text. Firewalls and web proxies read SNI to apply category rules without decrypting traffic. ECH encrypts it for supporting sites, so SNI rules lose sight of the real destination.
ClientHello
The first message of the TLS handshake, sent by the device to open an HTTPS connection. Under ECH it becomes a plain-text ClientHelloOuter and an encrypted ClientHelloInner. Any inspection tool that classifies traffic from the handshake reads this message. Knowing which half is encrypted tells you what your firewall can still see.
TLS 1.3
The version of Transport Layer Security published as RFC 8446. It already encrypts the server certificate, which left SNI as the last plain-text hostname in the handshake before ECH. ECH is an extension to TLS 1.3, so it appears wherever modern browsers reach sites on supporting providers across your guest and staff networks.
Outer public name
The provider's hostname carried in the unencrypted ClientHelloOuter, as specified in RFC 9849. It identifies the hosting provider, not the site the device is visiting. This is what appears in your firewall logs once ECH is in use. Blocking it blocks every site behind that provider, so it is not a usable content filter.
HTTPS record
A DNS record type defined in RFC 9460 that can carry a site's ECH configuration, including the public key and the public name the device needs before it encrypts the inner hello. The device must fetch this record before it can use ECH, and your resolver answers that query. It is the reason the lookup remains your control point.
Hybrid Public Key Encryption (HPKE)
The public key encryption scheme defined in RFC 9180. ECH uses it to encrypt the ClientHelloInner with the key published in the site's HTTPS record. Only the provider's client-facing server holds the private key, so no network device on the path can read the inner hello without decrypting the session.
GREASE ECH
A dummy ECH extension filled with random bytes that RFC 9849 tells clients to send when they hold no ECH key. On the wire it is indistinguishable from real ECH. It explains why firewall rules that try to detect and block ECH misfire against ordinary connections, and why stripping ECH keys still leaves traffic looking encrypted.
Encrypted SNI (ESNI)
The superseded IETF draft that encrypted the SNI field alone, left other extensions readable and published keys in a DNS TXT record. The IETF replaced it with ECH. Treat any product that still lists encrypted SNI support as describing the older design when you assess vendor material.
DNS over HTTPS (DoH)
DNS queries sent inside HTTPS on port 443, defined in RFC 8484. The network sees HTTPS traffic to the resolver but not the queries themselves. A browser using DoH to an outside resolver skips your DNS filter entirely. This, not ECH, is the gap that moves the control point away from your resolver.
DNS over TLS (DoT)
DNS queries sent inside TLS on port 853, defined in RFC 7858. The network sees port 853 traffic but not the queries. Blocking port 853 at the gateway keeps devices from sending lookups to a resolver you do not operate.
Canary domain (use-application-dns.net)
A domain Firefox checks, per Mozilla's documentation, to decide whether to disable its default DNS over HTTPS. If the network returns no answer for it, Firefox turns default DoH off. It helps keep Firefox lookups on your resolver on networks you operate, but it does not override a DoH setting the person chose themselves.
Protective DNS
A resolver that applies security and content policy at the DNS lookup, returning no usable address for blocked domains so no connection, and no ECH handshake, can follow. Purple Shield works this way, with a policy per network and VLAN. It is the layer ECH leaves untouched, so it carries the filtering decision on guest networks.
Fail closed
A failure behaviour in which an outage of the filtering service leaves the network filtered, rather than devices falling back to an open resolver that answers blocked domains. For venues with a duty of care, such as healthcare visitor WiFi or family hospitality, check this property first in any protective DNS service.

Worked examples

A hotel or pub group finds its firewall category rules have quietly stopped matching on guest WiFi. Logs show a hosting provider's public name where real hostnames used to appear, and guests are reaching sites the policy should stop. What should the team do?

The symptom points to ECH: the real hostname now sits in the encrypted inner ClientHello, so SNI rules only see the outer public name. Blocking that name or the provider's IP addresses would catch every unrelated site behind it. Detecting ECH on the wire also fails, because GREASE ECH looks identical. The fix is to move the decision to the lookup. The team hands out a protective resolver through the DHCP scope, so each query is decided before the handshake. It then redirects port 53 at the gateway and blocks port 853 to keep lookups on that resolver.

An airport needs content and threat filtering across unmanaged, varied and short-lived passenger devices, where installing a root certificate for TLS inspection is impossible and ECH hides hostnames in the handshake. Where should the policy sit?

AGS Airports runs Purple Shield because DNS is the one layer it controls across every device on the network. Passenger phones will not take a root certificate or an endpoint agent, so TLS inspection and agent-based tools are off the table. ECH does not change that, because the device must look up an address and an ECH key before it can encrypt anything. Shield answers that lookup and returns no usable address for blocked domains, so no handshake follows. The policy sits at the resolver, set per network and VLAN, with nothing installed on passenger devices.

Frequently asked questions

How is Purple Shield priced?

Shield is priced on a tailored quote, built around your networks, VLANs and venues rather than a public list price. You can start with a 30-day free trial. That lets you test policies against ECH-capable browsers on your own guest WiFi before you commit. Shield runs standalone or alongside Purple Access, so you do not need to change your WiFi platform to buy it.

Does Shield work with the access points and firewalls I already own?

Yes. Shield works at the resolver, so it needs no new hardware and nothing installed on guest devices. You point the DNS your network hands out at Shield, on Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme or Fortinet. Your existing firewall stays in place. Use it to redirect port 53 and block outside encrypted DNS, which keeps lookups on Shield.

Do I need to block ECH to keep filtering?

No. DNS filtering decides before the TLS handshake begins, so ECH cannot rescue a blocked lookup. Stripping ECH keys from DNS answers weakens privacy for every guest and leaves GREASE ECH in place. Your effort is better spent keeping devices on your resolver. Redirect plain DNS on port 53, block DNS over TLS on port 853, and manage DNS over HTTPS on devices you own.

Can we migrate from Cisco Umbrella or Cloudflare Gateway?

Yes. Moving to Shield is a resolver change rather than a hardware project, because all three services filter at the DNS layer. You recreate your category and allow-list policies in Shield, then repoint one network or VLAN and test it. The 30-day free trial covers that pilot on a single site. ECH behaves the same on every DNS-layer service, so it does not complicate the move.

Is DNS filtering compliant with GDPR when traffic is encrypted?

DNS filtering is the less intrusive option under GDPR because it never decrypts guest traffic. You process domain lookups, not page content or credentials. TLS inspection, by contrast, opens the content of each session and needs a certificate on every device. Purple is GDPR compliant and certified to ISO 27001. As the operator of the network, you still set your own retention period and privacy notice.

What happens to filtering if Shield is unreachable?

Filtering stays on. Shield fails closed, so an outage never leaves a network unfiltered, and devices do not fall back to an open resolver that would answer blocked domains. For venues with a duty of care, such as healthcare visitor WiFi or family hospitality, check this property first in any protective DNS service. A silent fallback to open DNS undoes every policy you set.

Does ECH stop filtering on guest WiFi?

No, provided guest devices use the resolver you hand out. ECH hides the hostname inside the handshake, but the lookup reaches your resolver first. The gap is devices that send DNS elsewhere: browsers using DNS over HTTPS to an outside resolver, apps with hardcoded resolvers, and VPNs. Close those paths at the gateway, and Shield sees the lookups that decide each connection.

Sources

Decide what your network reaches, free for 30 days

Tell us your networks and who uses them, and we map a policy to each. Point one at Shield and see what it stops for 30 days.

Tell us your networks. We map a policy to each one.