Skip to content
Shield

TroubleshootingDNS filtering limits

Direct IP access and DNS filtering: why a blocked site still loads

You will be able to work out why a blocked site still loads on a filtered network and close the gap. Check for a cached answer, another resolver or a direct IP connection, in that order. Then apply the matching fix: flush caches, force every lookup through Purple Shield, or restrict egress at the firewall you already...

13 min read

Direct IP access and DNS filtering: why a blocked site still loads

Watch the explainer

If a blocked site still loads on a filtered network, it is almost always a cached answer, another resolver or a direct IP connection; check in this order. DNS filtering acts on the name lookup defined in RFC 1035. Anything that skips the lookup also skips the filter, whichever protective DNS service you run.

What does it look like when a blocked site still loads?

Start with placement, because it explains every symptom below. Purple Shield filters at the DNS layer. Each device asks Shield to turn a name into an address. Shield checks that name against your policy, then returns the real address or a block response. Because of this placement, Shield runs on the network you already own, with no new hardware.

That same placement sets the limit. Direct IP access bypasses DNS filtering because the device already holds an address and never asks the question. Every protective DNS service has this property, including Cisco Umbrella and Cloudflare Gateway. A resolver filters names. It does not sit in the path of the traffic.

1. Name lookupBlockedAllowed: real address, then connectDirect IP skips the lookupDevice on WiFiGets its resolver fromDHCPPurple ShieldresolverChecks the name againstyour policyBlock responseBlocked category orknown threatWebsite or serviceIPConnection on port 443or 80
1. Name lookupBlockedAllowed: real address, then connectDirect IP skips the lookupDevice on WiFiGets its resolver fromDHCPPurple ShieldresolverChecks the name againstyour policyBlock responseBlocked category orknown threatWebsite or serviceIPConnection on port 443or 80
Shield filters the lookup; a direct IP connection never reaches it

A device asks Shield for a name, Shield returns a block response or the real address, and a dashed path shows a device connecting straight to an IP address without asking Shield.

Connections

  1. Device on WiFi to Purple Shield resolver (1. Name lookup)
  2. Purple Shield resolver to Block response (Blocked)
  3. Purple Shield resolver to Website or service IP (Allowed: real address, then connect)
  4. Device on WiFi to Website or service IP (Direct IP skips the lookup)

So when a blocked site loads, the device got an address from somewhere other than a fresh Shield answer. That address can only come from three places: the device's own cache, another resolver, or no resolver at all. Match what you see to the table. Then confirm it with the diagnosis in the next section before you change anything.

Symptoms of a DNS filter bypass, with likely cause and fix Data as of 2026-06-10
SymptomLikely causeFixWhere to look
Site loads for a few minutes after you add the block, then stopsCached DNS answer or an open browser connectionFix 1: flush caches and reconnectDevice DNS cache; no fresh lookup in the Shield query log
Site loads in one browser but is blocked in another on the same deviceBrowser using DNS over HTTPSFix 2: control encrypted DNSBrowser secure DNS setting; no lookups from that browser in Shield
Site loads on one device while others on the network are blockedHard-coded resolver or DNS over TLSFix 2: allow DNS to Shield onlyDevice network settings; firewall egress on ports 53 and 853
Site loads on dual-stack devices onlyIPv6 resolver advertised by the routerFix 2: align IPv6 DNSRouter advertisement settings; device IPv6 DNS list
Site loads when an IP address is typed, often with a certificate warningDirect IP accessFix 3: restrict egressAddress bar; firewall session log
An app reaches a blocked service while the browser is blockedApp with fixed addresses or its own resolverFix 3: firewall rules for that appFirewall session log by destination address
Device has live sessions but zero lookups in ShieldFull resolver bypass, VPN or private relayFix 2, then the VPN guideShield lookups per client against firewall sessions
Ordered by likelihood, cheapest check first. Work down the list.

How do I diagnose which bypass is happening?

Work from the cheapest check to the most involved. A stale cache explains most reports raised straight after a policy change, so rule it out first. Next, confirm whether the device asked Shield at all. Look for a direct IP connection last, because you need firewall logs to prove it.

Run these from the affected device. They are examples only. Replace the test domain and adjust for your operating system.

# Example commands. test-site.example stands in for the domain you blocked.
# 1. Flush the local DNS cache
ipconfig /flushdns                                              # Windows
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder  # macOS

# 2. Which resolvers is the device using?
ipconfig /all | findstr /i "DNS Servers"    # Windows
scutil --dns | grep nameserver              # macOS

# 3. Ask the network's resolver, and read the TTL in the answer
nslookup -debug test-site.example

# 4. Can the device reach an outside resolver? This should time out.
nslookup test-site.example 1.1.1.1

Two readings matter most. Suppose step 3 returns a block response but the browser still loads the site. In that case, the browser has another source of addresses. Suppose step 4 returns an answer. In that case, devices on this network can reach an outside resolver, and anyone can hard-code one. Now walk the tree.

Why does this blocked site still load?

See every path as a list
Is the site blocked after you flush the DNS cache, fully close the browser and reconnect to the WiFi?
  • Yes, now blocked: Stale cached answer The block works. The device reused an answer or connection from before the change. See Fix 1.
  • No, still loads: Does the Shield query log show a recent lookup for the domain from this device?
    • Yes: Did Shield return a block response for that lookup?
      • Yes: Is the device sending DNS anywhere other than Shield?
        • Yes: Resolver bypass The device asks another resolver. Allow DNS to Shield only and control encrypted DNS. See Fix 2.
        • No: Was the site reached by a typed IP address, a hosts file entry or an app with fixed addresses?
          • Yes: Direct IP access The connection skips the lookup entirely. Close the path at the firewall. See Fix 3.
          • No: Tunnel or relay A VPN, proxy or private relay carries the traffic, including its DNS. VPNs and DNS filtering
      • No, it was allowed: Policy gap Shield answered normally, so the policy on this network or VLAN does not cover the domain. Check the policy assignment and category.
    • No: Is the device sending DNS anywhere other than Shield?
      • Yes: Resolver bypass The device asks another resolver. Allow DNS to Shield only and control encrypted DNS. See Fix 2.
      • No: Was the site reached by a typed IP address, a hosts file entry or an app with fixed addresses?
        • Yes: Direct IP access The connection skips the lookup entirely. Close the path at the firewall. See Fix 3.
        • No: Tunnel or relay A VPN, proxy or private relay carries the traffic, including its DNS. VPNs and DNS filtering

Fix 1: clear stale answers after a policy change

Every DNS answer carries a time to live (TTL) in seconds. The operating system and the browser both keep the answer until the TTL runs out. Browsers also hold connections open for reuse. As a result, an established session can outlive the answer that created it. A block added at 10:00 may not take effect on a device that resolved the name at 09:59.

The classic case is the test itself. You visit the site, add it to the Shield policy, reload, and the site still loads. Shield is working. The device never asked again.

Diagnose before you flush. Read the TTL from the nslookup -debug output above. That figure is the longest a device should keep using the answer. Then check the Shield query log for the device. If no fresh lookup appears during the window, the cache is the cause.

To fix one device, flush the operating system cache with the commands above. Next, clear the browser host cache (in Chrome, chrome://net-internals/#dns) and close the browser completely. Disconnect and rejoin the WiFi to drop any session still open. For a whole venue, wait out the TTL rather than chase individual devices.

Fix 2: force every lookup through Shield

Sometimes the device made no lookup, or a blocked lookup did not stop the page. Either way, the device is asking someone else. It can do so by four routes, and you need to close all of them:

  • A hard-coded resolver. A public resolver entered in the device settings, reached on port 53.
  • DNS over TLS. Encrypted DNS on TCP port 853, defined in RFC 7858.
  • DNS over HTTPS. Encrypted DNS inside ordinary HTTPS on port 443, defined in RFC 8484. A port rule cannot separate it from web traffic.
  • An IPv6 resolver. A router advertisement hands dual-stack devices a resolver that is not Shield.

Browsers add a complication. Chrome's default setting upgrades to DNS over HTTPS only when the device already uses a public resolver Chrome recognises. In practice, that upgrade arrives together with a hard-coded resolver. Firefox enables DNS over HTTPS by default in some regions. Before it does, it checks the canary domain use-application-dns.net and stays off if the network returns NXDOMAIN, as Mozilla documents. Apple's iCloud Private Relay uses a similar signal on mask.icloud.com, set out in Apple's network guidance.

Force every lookup through Shield

  1. Step 1: Hand out Shield resolvers by DHCP

    On each network and VLAN, give out only the Shield resolver addresses from your onboarding. Remove any public secondary resolver.

    Check it worked: A fresh lease lists only Shield addresses.

  2. Step 2: Allow DNS to Shield, then deny port 53 elsewhere

    Allow UDP and TCP 53 to Shield, then deny port 53 to any other destination. If your firewall supports destination NAT, redirect port 53 to Shield instead.

    Cisco Meraki

    Add SSID or group policy layer 3 firewall rules, with the allow rule first.

    HPE Aruba

    Add both rules to the role applied to the SSID, with the allow rule first.

    Fortinet

    Create both FortiGate policies, with the allow policy above the deny.

    Check it worked: nslookup test-site.example 1.1.1.1 times out.

  3. Step 3: Block DNS over TLS

    Deny TCP 853 outbound. This is the default port for DNS over TLS (RFC 7858).

    Check it worked: The firewall shows drops on 853, not sessions.

  4. Step 4: Control DNS over HTTPS

    DNS over HTTPS (RFC 8484) uses port 443, so no port rule stops it. Use browser policy instead.

    Chrome

    Set the DnsOverHttpsMode policy to off on managed devices.

    Firefox

    Set the DNSOverHTTPS policy, and confirm use-application-dns.net returns NXDOMAIN for unmanaged devices.

    Apple

    Confirm mask.icloud.com returns NXDOMAIN if Private Relay must not run on this network.

    Check it worked: Lookups from that browser reach the Shield log.

  5. Step 5: Match IPv6 DNS

    Make router advertisements list Shield's IPv6 resolvers or none. See IPv6 and DNS filtering gaps.

    Check it worked: Dual-stack devices list no outside IPv6 resolver.

A canary domain might resolve when it should not. If so, raise it with Purple support before you rely on browser defaults. On managed devices, the enterprise policies in step 4 apply regardless of what the network signals.

Fix 3: close the direct IP path at the firewall

In this case, the device skips the lookup entirely. The address comes from a typed IP, a hosts file entry, a link containing an IP, or an app built to connect to fixed addresses. No resolver sees any of it. The fix therefore lives at the firewall you already own.

Diagnose first. A direct IP connection leaves a firewall session to the address with no matching Shield lookup from that client. You can also reproduce it from a test device:

# Example only. 203.0.113.10 is a documentation address; use the address from your firewall log.
curl -sv --max-time 5 http://203.0.113.10/ -o /dev/null
curl -skv --max-time 5 https://203.0.113.10/ -o /dev/null   # -k ignores the certificate mismatch you should expect

Expect a smaller gap than you fear. Certificates are issued to names. Most sites also share content delivery network addresses that select the site from the name the browser sends. A bare IP therefore usually returns a certificate warning or the wrong site. Direct IP access mostly succeeds against plain HTTP and servers on dedicated addresses. It also succeeds for software designed to connect by address, such as some proxies and malware.

Staff and corporate VLANs

  • Default-deny outbound traffic, then allow only the ports your applications need.
  • Turn on the IP reputation feeds in your firewall, for example on Fortinet. Known-bad addresses then drop whatever path reached them.
  • If your firewall inspects the TLS server name, drop HTTPS sessions that have no server name or an IP literal. Pilot this on one VLAN first, because some legitimate software connects this way.
  • Lock the hosts file and browser settings through your device management platform, and remove local admin rights.

Guest WiFi

You cannot manage guest devices, so narrow the path instead. Allow web ports and the short list of services guests need, and keep client isolation on. Apply the threat categories in your Shield policy. A guest who is set on evading the filter can still switch to mobile data. That gap is covered in mobile data and WiFi filtering.

The two layers divide the work. Shield stops the name lookups that phishing pages and malware callbacks depend on, before a connection opens. The firewall drops the address-only remainder. Neither replaces the other.

How do I read the logs to spot a direct IP bypass?

You need two logs side by side: the Shield query log and your firewall session log. Join them on client address and time. The excerpt below is illustrative only. Its fields are simplified and do not match Shield's actual log format.

# Illustrative only. Simplified fields, not Shield's real log format.
# Shield query log
09:14:02 client=10.20.4.31 net=staff-vlan20 query=test-site.example action=blocked
# Firewall session log
09:14:03 src=10.20.4.31 dst=203.0.113.10:443 action=allow
09:15:40 src=10.20.4.57 dst=198.51.100.53:53 action=deny
09:16:11 src=10.20.4.62 dst=203.0.113.25:443 action=allow   # no Shield lookups from .62 today

Each pattern maps to one cause:

  • Blocked lookup, then an allowed session to the address (client .31). The device had a second source for the address, either a cache or another resolver. Go to Fix 1 or Fix 2.
  • A deny on port 53 or 853 (client .57). A hard-coded resolver hit your rules. The control is working, but find the device and correct its settings.
  • Sessions with no lookups (client .62). The device skipped Shield. Sessions on 443 with no lookups at all mean DNS over HTTPS, a tunnel, or direct IP access.
  • Lookups for use-application-dns.net. Firefox is checking whether it may switch to DNS over HTTPS. This is healthy, provided the answer is NXDOMAIN.

How do I stop a blocked site loading again?

Prevention is mostly configuration you set once per network:

  1. Build the Fix 2 rules into your standard template for every new site, network and VLAN.
  2. Give each network and VLAN its own Shield policy, so guest, staff and operational traffic each get the right categories.
  3. Push browser DNS policies through device management to every managed laptop and phone.
  4. Re-run the DNS filtering bypass test checklist after every firewall, DHCP or policy change.

Shield also fails closed, so an outage never leaves a network unfiltered. Your filtering cannot silently lapse while you are fixing something else.

The monitoring signal to watch is lookups per active client on each network. A device that carries traffic but makes no Shield lookups is bypassing the resolver. Set alerts on three patterns: a client with sessions but no lookups, rising drops on ports 53 and 853, and a blocked lookup followed by an allowed session from the same client. Each alert points to one row in the symptom table, so it tells you which fix to run.

For the wider control set, read the enterprise WiFi security guide and the DNS filtering limits overview. To see where Shield sits in your stack, read how Shield works.

Key terms

DNS filtering
A control that acts on the name lookup defined in RFC 1035, checking each queried domain against a policy and returning either the real address or a block response. It filters names and does not sit in the path of the traffic itself. Purple Shield filters at this layer, as do Cisco Umbrella and Cloudflare Gateway. Any connection that skips the lookup also skips the filter, which is why a blocked site can still load.
RFC 1035
The IETF specification for the Domain Name System, covering the message format, resource records and the query and response exchange that turns a name into an address, including the TTL field carried in each answer. Every DNS filter depends on this lookup taking place. When a device already holds an address, no RFC 1035 query is sent and the filter never sees the request.
Time to live (TTL)
A value in seconds carried in each DNS resource record under RFC 1035, telling resolvers, operating systems and browsers how long they may cache the answer before asking again. A block added at 10:00 may not apply to a device that resolved the name at 09:59. Read the TTL from nslookup -debug to know how long to wait before a venue-wide block takes effect.
DNS over TLS
Encrypted DNS transport specified in RFC 7858, which carries DNS queries inside a TLS session on TCP port 853 by default. A device using DNS over TLS asks an outside resolver instead of Shield. Denying TCP 853 outbound closes this route, and drops on 853 in the firewall log confirm the rule is working.
DNS over HTTPS
Encrypted DNS specified in RFC 8484, which sends DNS queries as HTTPS requests on port 443, making them indistinguishable from ordinary web traffic at the port level. No port rule can stop it, so you control it with browser policy: Chrome DnsOverHttpsMode set to off, the Firefox DNSOverHTTPS policy, and canary domains for unmanaged devices.
Canary domain
A domain a client queries to decide whether to enable encrypted DNS or a relay. Mozilla documents use-application-dns.net for Firefox DNS over HTTPS, and Apple documents mask.icloud.com for iCloud Private Relay; an NXDOMAIN answer tells the client to stay off. Lookups for use-application-dns.net in the Shield log are healthy provided the answer is NXDOMAIN. If a canary domain resolves when it should not, raise it with Purple support.
NXDOMAIN
The DNS response code defined in RFC 1035 (RCODE 3, name error) indicating that the queried domain does not exist. Returning NXDOMAIN for a canary domain signals to Firefox and Apple devices that encrypted DNS or Private Relay should not run on your network.
iCloud Private Relay
An Apple service that relays device traffic, including DNS, away from the local network's resolver. Apple's network guidance specifies that networks can signal it should not run by returning NXDOMAIN for mask.icloud.com. A device with zero Shield lookups but live sessions may be using a private relay. Check the mask.icloud.com answer if Private Relay must not run on your network.
IPv6 router advertisement
An ICMPv6 message defined in RFC 4861, which can carry recursive DNS server options under RFC 8106, handing dual-stack devices a resolver alongside the one supplied by DHCP for IPv4. If a router advertises a resolver that is not Shield, dual-stack devices bypass the filter. Make router advertisements list Shield's IPv6 resolvers or none.
TLS server name
The Server Name Indication extension to TLS, specified in RFC 6066, in which the client sends the hostname it wants at the start of the handshake so a shared address can select the right site and certificate. Firewalls that inspect it can drop HTTPS sessions with no server name or an IP literal, closing much of the direct IP path. Pilot this on one VLAN first, because some legitimate software connects this way.

Worked examples

You visit a site, add it to your Shield policy, reload the page, and it still loads. Is the filter broken?

No. Shield is working, but the device never asked again. The operating system and browser both keep a DNS answer until its TTL runs out, and browsers hold connections open for reuse. Diagnose before you flush: read the TTL from nslookup -debug, then check the Shield query log for a fresh lookup from that device. If none appears during the window, the cache is the cause. Flush the operating system cache, clear the Chrome host cache at chrome://net-internals/#dns, close the browser completely and rejoin the WiFi. For a whole venue, wait out the TTL. Test future blocks from a device that has never visited the site for a clean result in seconds.

On a staff VLAN, the firewall session log shows client .62 with allowed sessions on port 443, but the Shield query log shows no lookups from that client all day. What is happening?

A device that carries traffic but makes no Shield lookups is bypassing the resolver. Sessions on 443 with no lookups at all point to DNS over HTTPS, a tunnel, or direct IP access. Work through Fix 2 first: confirm DHCP hands out only Shield resolvers, allow DNS to Shield then deny port 53 and TCP 853 elsewhere, and set browser DNS policies on managed devices. If lookups still do not appear, close the direct IP path with default-deny egress, IP reputation feeds and, where supported, a rule dropping HTTPS sessions with no server name or an IP literal. If a VPN or relay is carrying the traffic, follow the VPN guide.

Frequently asked questions

Does closing the direct IP gap need new hardware?

No. Shield is a cloud service you point your existing network at, and the firewall rules run on equipment you already own. Purple works with Cisco Meraki, HPE Aruba, Ruckus, Juniper Mist, Ubiquiti UniFi, Cambium, Extreme and Fortinet. On each network, most of the work is changing the DHCP resolver and adding three or four egress rules.

How is Shield priced?

Shield is priced on a tailored quote that reflects your networks and venues. You can start with a 30-day free trial and run Shield either standalone or on Purple Access. The trial gives you enough time to apply the rules in this guide on one VLAN. You can then compare Shield and firewall logs before you commit.

How does Shield compare with Cisco Umbrella or Cloudflare Gateway on direct IP access?

All three share the same DNS-layer limit: a connection that skips the lookup reaches no resolver. The difference lies in how you deploy and run the service. Shield sets a policy per network and VLAN and fails closed during an outage. It also runs on the hardware you already own. Purple supports 80,000+ live venues in 90 countries.

What happens to filtering if Shield is unreachable?

Filtering stays on. Shield fails closed, so an outage never leaves a network unfiltered. Pair this with the Fix 2 rules. Removing public secondary resolvers from DHCP leaves devices nothing to fall back to. Blocking outside DNS stops deliberate bypass. Together, these mean neither an outage nor a curious visitor opens an unfiltered path.

Can we migrate from our current DNS filter one network at a time?

Yes. Shield applies a policy per network and VLAN, so you can move one VLAN, confirm the logs, then move the next. For each VLAN, repoint DHCP, update the port 53 allow rule to Shield's resolvers and re-run the bypass checklist. Keep the old allow rule in place until the last device lease has renewed.

Does Shield help with compliance evidence?

Yes. The Shield query log records which policy applied to which network and what it blocked. That gives auditors evidence that a control is operating. Purple is ISO 27001, Cyber Essentials and GDPR certified. Pair Shield logs with your firewall egress logs to show that both the DNS control and the direct IP control are in place.

How much effort does this take on a live network?

Plan one change window per network template. The Fix 2 rules and DHCP change are short, but you should sequence them carefully, allow before deny. Most of the time goes into piloting the TLS server name rule and browser policies on one VLAN. After the pilot, the same template rolls out to every site.

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.