Skip to content
Shield

ExplainerProtective DNS

DNS filtering latency: does a filter slow browsing?

You will be able to judge whether a DNS filter is slowing your network and prove it with measurements from your own venue. You will know which settings cause real delay: resolver distance, block answers that hang, unfiltered fallback resolvers and CDN steering. You will also know how to roll out Purple Shield without...

12 min read

DNS filtering latency: does a filter slow browsing?

Watch the explainer

DNS filtering latency is the extra time a protective DNS resolver spends checking a domain against your policy before answering. It rarely slows browsing. Under RFC 1034, answers are cached for their time to live (TTL). The check therefore touches only the first lookup of each domain, never the data packets that follow.

What is DNS filtering latency, and where does the filter sit?

Start with placement. A DNS filter sits at the recursive resolver. This is the server your devices ask to turn a name such as example.com into an IP address. The Domain Name System is defined in RFC 1034 and RFC 1035. A protective DNS resolver adds one step to that exchange. Before it answers, it checks the domain against threat intelligence and your content policy.

That placement sets the latency profile. The filter sees the lookup, not the traffic. Once a device has an IP address, it connects straight to the site. Video streams, downloads and card payments never pass through the resolver, so the filter cannot throttle them.

DNS filtering latency is one component of DNS resolver latency:

  • Resolver latency is the full time from query to answer.
  • Filtering latency is the share added by the policy decision.

On most networks, the path to the resolver and any cache misses account for more of the total than the policy check does. You can confirm this on your own network with the tests later in this guide.

The UK National Cyber Security Centre runs a protective DNS service for the public sector on the same principle. It blocks known-bad domains at resolution, before any connection exists. Our protective DNS overview covers the wider security case. This guide stays with speed.

How does a DNS filter add delay, and how do you measure it?

The path a single lookup takes

When a guest opens a page, the browser checks its own cache first, then the operating system's. A query leaves the device only on a miss. DHCP on your network hands out the resolver address. The query travels over WiFi and your internet link to the protective resolver.

Traditional DNS runs over UDP or TCP port 53. Encrypted variants run over TLS, known as DNS over TLS (RFC 7858). They also run over HTTPS, known as DNS over HTTPS (RFC 8484).

The resolver then makes the policy decision:

  • Blocked domain: gets a block answer straight away, with no further work.
  • Allowed domain, cached: answered from the resolver's cache.
  • Allowed domain, not cached: the resolver walks the hierarchy of root servers, top-level domain servers, then the domain's own authoritative servers.

That recursion is the slowest part of any lookup, filtered or not.

query on cache missforwarded queryevery querycategory blockedallowedcache hitcache missanswer after recursionblock responseGuest deviceBrowser and OS cacheschecked firstVenue networkDHCP hands out theprotective resolveraddressProtectiveresolverReceives the query onport 53, or over DoT orDoHPolicy checkDomain matched againstthreat and contentcategoriesBlock answerReturned at once, cachedas a negative answer perRFC 2308Resolver cacheA hit returns at once; amiss triggers recursionAuthoritativeserversRoot, TLD and domainservers answer a cachemissAnswer to deviceIP address cached forits TTL; traffic thengoes direct to the site
One DNS lookup through a protective resolver. The policy check happens once per query, before recursion.

Flow showing a guest device query passing the venue network to a protective resolver, a policy check that either blocks or allows, and an answer returned from cache or after recursion.

Connections

  1. Guest device to Venue network (query on cache miss)
  2. Venue network to Protective resolver (forwarded query)
  3. Protective resolver to Policy check (every query)
  4. Policy check to Block answer (category blocked)
  5. Policy check to Resolver cache (allowed)
  6. Resolver cache to Answer to device (cache hit)
  7. Resolver cache to Authoritative servers (cache miss)
  8. Authoritative servers to Answer to device (answer after recursion)
  9. Block answer to Guest device (block response)

What the numbers look like

Three factors shape DNS filtering speed:

  • Distance. Light in optical fiber covers roughly 200 km per millisecond. Every 100 km between your venue and the resolver adds about 1 ms to the round trip. Routing detours add more on top. A resolver on another continent adds tens of milliseconds to every query that leaves the device.
  • Cache hits. A lookup answered from the device cache never touches the network. A resolver cache hit costs one round trip plus the policy check.
  • Cache misses. Recursion adds a round trip for each level of the hierarchy the resolver has not cached. A busy resolver usually holds popular domains already.

Domain owners set the TTL on each record. A five-minute TTL means a device asks again for that name at most every five minutes. RFC 2308 lets resolvers cache negative answers too. Repeated attempts to reach a blocked domain therefore resolve quickly.

Browsers also resolve several names in parallel and prefetch names they expect to need. Per-lookup delay does not add up in a straight line across a page.

Browser and OS cacheRepeat lookups within the TTL cost close to nothingVenue WiFi and LANAirtime contention and retries delay the query beforeit leavesWAN path to resolverDistance sets the floor: about 1 ms round trip per 100km of fiberPolicy checkDomain checked against categories and threatintelligenceResolver cachePopular domains answered from memoryRecursive resolutionMisses query root, TLD and authoritative serversCDN edge selectionResolver location can steer content to a near or farserver
Where the milliseconds come from in a filtered lookup, from the device outwards.

Stacked layers from browser cache through venue WiFi, the WAN path, the policy check, resolver cache, recursion and CDN edge selection, each labeled with its effect on delay.

Connections

  1. Browser and OS cache to Venue WiFi and LAN (device cache miss)
  2. Venue WiFi and LAN to WAN path to resolver (query leaves the site)
  3. WAN path to resolver to Policy check (query arrives)
  4. Policy check to Resolver cache (allowed)
  5. Resolver cache to Recursive resolution (resolver cache miss)
  6. Recursive resolution to CDN edge selection (answer shapes the download path)

How to measure DNS resolver latency on your own network

  1. Test from the venue, on the network you plan to filter. Corporate headquarters results tell you little about a hotel at the end of a long backhaul.
  2. Run dig against your current resolver and against the protective resolver, and read the Query time line. Query the same name twice: the first run shows a miss, the second a cache hit.
  3. Test a mix of popular and long-tail domains. Record the median and the 95th percentile, never a single run.
  4. In Chrome DevTools, open the Network panel and check the Timing tab. It shows a DNS Lookup figure for each request. Compare the same page before and after the change.
  5. Measure page load time and download throughput as well. These catch content delivery steering, covered under limits below.

DNS filtering latency vs resolver latency vs page load time

Most disputes about whether DNS filtering slows the internet come from comparing different measurements. The table separates them.

DNS filtering latency vs the terms it gets confused with Data as of 2026-06-10
TermWhat it measuresWhere it happensHow to measure itDoes a DNS filter change it?
DNS filtering latencyTime the policy check adds to a lookupInside the protective resolverCompare dig query times against an unfiltered resolver at a similar distanceYes, by definition
DNS resolver latencyFull time from query to answerDevice to resolver and back, plus any recursiondig query time, cold and warm cacheThrough resolver placement and cache hit rate
Network round-trip timeTime for a packet to reach a host and returnEvery hop between device and serverping or tracerouteNo
Time to first byteWait from request to the first byte of the responseWeb server and the path to itBrowser DevTools Timing tabIndirectly, if the resolver picks a distant CDN edge
Page load timeTime until a page is usableBrowser, network, servers and every assetBrowser DevTools or synthetic page testsRarely; first lookups only
ThroughputData delivered per secondWiFi airtime, backhaul and the serverSpeed test to a nearby serverNo; data never passes through the resolver
DNS answers are cached for their TTL under RFC 1034, so filtering latency applies to the first lookup of each domain.

Where people get it wrong

  • Testing once on a cold cache. The first query for a rare domain always includes recursion. Judge the filter on medians across many domains.
  • Blaming DNS for a slow speed test. A speed test's data never passes through the resolver. Low throughput points at airtime, interference or backhaul.
  • Treating ping as query time. ICMP echo is handled separately from DNS, and many resolver services rate-limit it. Measure with real queries.
  • Reading a block as a timeout. A block answer that points to an address which never responds leaves the browser waiting. That is a block-action design fault, not filter speed.
  • Ignoring the secondary resolver. If DHCP lists an unfiltered ISP resolver as backup, results become inconsistent and retries add delay.

Where do you meet DNS filtering latency in a real venue?

Guest WiFi in hotels and bars

Load arrives in bursts, at check-in, breakfast or a game night. Resolver capacity and cache hit rate matter more at these peaks than the cost of any single policy check. Our guide to protective DNS for hotels covers guest and back-of-house networks in detail.

Airports and transportation hubs

Passengers join the network and many apps refresh at once, which sends a burst of first lookups. Distance to the resolver and cache warmth show up here before anywhere else. Measure at the gate, not in the IT office.

Healthcare and the public sector

St George's Healthcare NHS Trust blocks around 241,000 threats a week with Shield. Each block is a fast, cached answer. Filtering at that volume adds protection without adding waiting time. Patients and visitors sit on guest WiFi, while clinical systems run on separate networks with stricter policies.

Separate networks, separate policies

Most venues run guest, staff and operational networks side by side. Each VLAN's DHCP scope hands out the resolver address, so each can carry its own policy. Latency stays the same across them because the mechanism is identical. Read deploying protective DNS per SSID for DHCP and policy mapping.

Limits and edge cases: when does a filter really feel slow?

Block answers that hang

There are two common block responses. A filter can return a block page address, or it can return NXDOMAIN, meaning the domain does not exist. Both are fast. Trouble starts when a block points to an address that drops traffic, because the browser then waits for its connection timeout. Check what your filter returns before you blame its speed.

HTTPS block pages

A resolver can redirect a blocked HTTPS site to a block page, but it cannot present that site's certificate. Browsers show a certificate warning instead, and sites using HTTP Strict Transport Security (HSTS) refuse to continue. Guests may report this as "the site is broken". It is a display limit, not latency.

Fallback resolvers and failing closed

Encrypted DNS in browsers

DNS over TLS and DNS over HTTPS add a TLS handshake when the connection first opens. The connection is then reused, so later queries carry little extra cost. The bigger issue is coverage. A browser using its own encrypted resolver bypasses the venue resolver entirely. Firefox honors a canary domain that lets networks signal it to keep using network DNS.

CDN steering

Content delivery networks pick a server based on where the query appears to come from. RFC 7871 defines EDNS Client Subnet, which passes part of the client address to help with this. A distant resolver without it can steer guests to a distant CDN edge. The result is slower downloads, which cost far more than any DNS lookup. Check this in step 5 of the measurement plan.

Short TTLs

Some domains publish TTLs of a few seconds, which forces frequent repeat lookups. A filter cannot change a domain owner's TTL. These names expose resolver distance more than any others.

How does DNS filtering latency relate to Purple Shield?

Purple Shield provides protective DNS and content filtering for every network, with no new hardware. It runs standalone or on Purple Access, with a policy per network and VLAN. Shield fails closed and runs across multiple data centers. Shield flags new threats promptly and reduces unwanted network traffic and unnecessary DNS queries. Every blocked domain also stops the downloads and follow-on lookups it would have triggered.

  • ~241,000threats blocked a weekSt George's Healthcare NHS Trust
  • 99.999%uptime SLAPurple platform, 500 million logins a year
  • 80,000+venuesin 90 countries

Cisco Umbrella and Cloudflare Gateway use the same DNS mechanism, so the same physics applies to them. Distance, cache hit rate and TTLs set most of the delay. Both also offer proxy-based web inspection, which routes the web traffic itself through their cloud. That adds a hop to every request, not just to each first lookup. Shield filters at the DNS layer on any network and sets policy alongside your guest and staff WiFi.

This is where latency starts to matter in a real deployment. The deciding factors are resolver placement, how the block answer behaves and whether a fallback resolver leaks queries. See how Shield works and the wider enterprise WiFi security guide. Then read the DNS security checklist for venues next.

Key terms

DNS filtering latency
The share of a DNS lookup's response time added by the policy decision inside a protective resolver. Because answers are cached for their TTL under RFC 1034, it applies only to the first lookup of each domain, never to the data packets that follow. This is the figure most people mean when they ask whether a filter slows browsing. You isolate it by comparing dig query times against an unfiltered resolver at a similar distance.
DNS resolver latency
The full time from a device sending a DNS query to receiving an answer, covering the network path to the resolver, any policy check and any recursion on a cache miss. The query and response exchange is specified in RFC 1035. On most networks the path to the resolver and cache misses account for more of this total than the policy check. Measure it cold and warm with dig before you blame the filter.
Recursive resolver
The DNS server that accepts a query from a client and, on a cache miss, walks the hierarchy of root, top-level domain and authoritative servers to resolve the name. Recursive service is described in RFC 1034 and RFC 1035. This is where a DNS filter sits. Your DHCP scopes hand out its address, so its placement decides the latency every guest, staff member or passenger experiences.
Protective DNS
A recursive resolver that checks each queried domain against threat intelligence and content policy before answering, blocking known-bad domains at resolution. CISA and the NSA operate Protective DNS guidance and services on this principle for US critical infrastructure. Protective DNS sees the lookup, not the traffic. Streams, downloads and card payments never pass through it, so it cannot throttle throughput.
Time to live (TTL)
The value, set by the domain owner on each resource record, that tells resolvers and devices how long they may cache an answer. TTL is defined in RFC 1034 and carried in the record format specified in RFC 1035. TTL decides how often a device asks again for a name. Domains with TTLs of a few seconds expose resolver distance more than any others, and a filter cannot change them.
Negative caching
The caching of answers that state a name or record does not exist, specified in RFC 2308. It lets resolvers answer repeated queries for non-existent or blocked names from cache. Negative caching means repeated attempts to reach a blocked domain resolve quickly. Blocks at high volume, such as those at St George's Healthcare NHS Trust, add protection without adding waiting time.
NXDOMAIN
The DNS response code meaning the queried domain name does not exist, defined as a name error in RFC 1035 and referred to as NXDOMAIN in RFC 2308. It is one of two common block responses, alongside a block page address. Both are fast. Delay only appears when a block points to an address that drops traffic.
DNS over TLS (DoT)
A method of encrypting DNS queries and responses between client and resolver by carrying them inside a TLS session, specified in RFC 7858. DoT adds a TLS handshake when the connection first opens, then reuses it, so later queries carry little extra cost. A protective resolver can accept queries this way.
DNS over HTTPS (DoH)
A method of sending DNS queries and receiving responses over HTTPS, specified in RFC 8484. The bigger issue with DoH is coverage, not speed. A browser using its own DoH resolver bypasses the venue resolver, so you block known public DoH endpoints on guest WiFi.
EDNS Client Subnet
An extension mechanisms for DNS option, defined in RFC 7871, that passes part of the client's address to authoritative servers so they can tailor answers to the client's location. Content delivery networks pick a server based on where a query appears to come from. A distant resolver without it can steer guests to a distant CDN edge and slow downloads.
Canary domain
The domain use-application-dns.net, which Firefox queries to check whether a network wants it to keep using network DNS instead of its own DNS over HTTPS resolver, as documented by Mozilla. It lets your venue signal Firefox to stay on the protective resolver. It does not cover every browser, so you still enforce settings on managed devices.
Fail closed
A failure mode in which a security control stops serving rather than passing traffic or answers through unchecked. For a protective resolver, it means never handing back unfiltered answers. Shield fails closed and runs across multiple data centers. Resilience comes from the service, so you never need an unfiltered backup resolver in DHCP.
VLAN
A virtual LAN, a logically separate broadcast domain on shared switching infrastructure, specified by IEEE 802.1Q tagging. Each VLAN's DHCP scope hands out its own resolver address, so guest, staff, and operational networks can each carry their own Shield policy with identical latency.

Worked examples

A hotel group is told its new DNS filter makes guest WiFi slow. IT ran one test from corporate headquarters and saw a long query time. How do they find out whether the filter is really the bottleneck?

They retest from the hotel itself, on the guest network they plan to filter, because corporate headquarters results say little about a site on a long backhaul. They run dig against the current resolver and the protective resolver across 30 or more popular and long-tail domains. They query each name twice to separate cache misses from hits, then compare medians and 95th percentiles. In Chrome DevTools they check the DNS Lookup timing on common pages. They also measure page load time and throughput. If pages slow while DNS times hold steady, the cause is airtime, backhaul or CDN edge selection, not the policy check.

An organization running Cisco Umbrella wants to move to Purple Shield without disrupting browsing across several sites. How should it plan the change?

Shield works at the DNS layer, so the move needs no new hardware. The team changes the resolver addresses its DHCP scopes and firewalls hand out, one network at a time. It starts with a single VLAN during the 30-day free trial. There it compares query times and block results against the previous setup. It then rolls out site by site, setting a policy per network and VLAN. As it goes, it removes any unfiltered secondary resolver from DHCP. That prevents devices skipping the filter and stops retry delay when the first server is slow. The per-SSID deployment guide covers the policy mapping.

Frequently asked questions

Does DNS filtering slow internet speed?

No, not for data in flight. A DNS filter checks the name lookup, and the device then connects directly to the site. Throughput, streaming and downloads never pass through the resolver. The only added delay falls on the first lookup of each domain, and cached answers carry none. A slow speed test points to WiFi airtime or backhaul, not to the filter.

How much does Purple Shield cost?

Shield is priced by tailored quote, based on your networks and venues. You can run a 30-day free trial first and measure DNS resolver latency on your own guest and staff networks before you commit. Ask for a quote that covers Shield standalone or on Purple Access. Either way, you set a policy per network and VLAN.

Does Shield work with the access points we already own?

Yes. Shield works at the DNS layer, so it needs no new hardware. You point the resolver address in each DHCP scope at Shield. It runs alongside Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet networks. The same approach covers wired networks and branch firewalls that hand out DNS settings.

How do we move from Cisco Umbrella or Cloudflare Gateway to Shield?

You change the resolver addresses your DHCP scopes and firewalls hand out, one network at a time. Start with a single VLAN during the 30-day trial. Compare query times and block results there, then roll out site by site. Remove any unfiltered secondary resolver as you go. The [per-SSID deployment guide](guide:protective-dns-deployment-per-ssid) covers policy mapping.

Does DNS filtering help with CCPA/CPRA and PCI DSS?

It supports both, but it does not replace your wider controls. DNS logs record which devices looked up which domains. Under CCPA/CPRA that can be personal data, so you need set retention periods and clear access rules. Purple holds ISO 27001 certification and operates under CCPA/CPRA. Our guide to [DNS filtering logs and reporting](guide:dns-filtering-logs-and-reporting) covers what to record and who reads it.

Will encrypted DNS in browsers bypass the filter?

It can, when a browser sends queries to its own DNS over HTTPS resolver instead of the network's. Firefox checks a canary domain and falls back to network DNS when the network signals it. Managed staff devices can have browser DNS settings enforced by policy. On guest WiFi, block known public DNS over HTTPS endpoints as part of your content policy.

What happens to browsing if the filter is unreachable?

Shield fails closed, so it never hands back unfiltered answers. Resilience comes from running across multiple data centers, not from a backup resolver that skips the filter. The Purple platform carries 500 million logins a year at a 99.999% uptime SLA. Keep DHCP pointed only at protective resolvers, so devices never fall back to an unfiltered route.

How do we prove the filter is not the bottleneck?

Measure before and after, on the venue network itself. Run `dig` against both resolvers across 30 or more domains, and compare medians and 95th percentiles. Then check the DNS Lookup timing in Chrome DevTools on a few common pages. If page loads slow while DNS times hold steady, look at airtime, backhaul or CDN edge selection.

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.

DNS filtering latency and speed: what to measure