Join our Newsletter — 33% off our NHI Course

How should security teams use DNS filtering in a Zero Trust architecture?

Use DNS filtering as an early enforcement point, not as a substitute for identity or endpoint controls. The value is that a request to a malicious destination can be denied before a session is created. That reduces exposure, supports continuous verification, and gives teams a practical way to block risky traffic across hybrid and remote environments.

How DNS filtering fits into Zero Trust

DNS filtering works best in Zero Trust as a policy enforcement layer that helps stop known-bad destinations before an application session is established. It should be treated as one control in a broader access model, alongside identity, device posture, segmentation and continuous evaluation. The main design goal is to reduce exposure early, not to decide trust by itself.

Because DNS is often the first lookup in a connection path, filtering can block obvious malicious domains, sinkhole risky traffic, and reduce the chances that users, workloads or remote devices ever reach harmful infrastructure. That makes it useful for hybrid environments where traffic exits from multiple locations and where endpoint-only controls may not see every request.

In practice, DNS filtering is most effective when it is centrally governed and consistently applied across roaming users, corporate networks and remote access paths. A split policy, where some clients bypass the resolver or use alternate DNS paths, weakens the control and creates blind spots that attackers can exploit through redirection, domain generation, or fast-changing infrastructure.

Why DNS filtering is valuable, and where it is limited

DNS filtering is valuable because it adds an early decision point with low user friction. It can also improve visibility by showing which destinations users and systems try to reach, which is useful for hunting, investigation and policy tuning. For a deeper treatment of protective DNS, response policy zones, sinkholing and DNS logging, see the DNS Security Guide.

The limit is that DNS filtering only sees the name resolution step. It cannot inspect the full content of every connection, and it cannot replace identity-based access policy, endpoint hardening or egress control. A malicious domain may be blocked, but a permitted domain, compromised cloud service or direct IP-based connection can still carry risk if the rest of the architecture is weak.

That is why Zero Trust teams should use DNS filtering as a complement to, not a substitute for, continuous verification and least privilege. The control is strongest when it is paired with device trust, application-level policy and resilient network paths. A practical reference point for that architecture is NIST SP 800-207 Zero Trust Architecture.

Operational patterns that make DNS filtering work

The highest-value deployments enforce DNS at the resolver layer, not just on a single endpoint agent. That lets teams apply one policy to corporate offices, VPN users, home workers and workloads that depend on managed DNS paths. When the environment includes many device types and remote access patterns, the policy needs to travel with the user or workload, not remain tied to a physical subnet.

Teams should also think about the relationship between DNS filtering and access identity. If a device, workload or user is allowed onto the network but can freely resolve risky destinations, the architecture still permits unnecessary exposure. The more robust model ties destination access to the trust state of the requester, which aligns well with a Zero Trust Identity Guide and with application-aware access paths such as ZTNA Guide.

For teams operating across cloud and remote access environments, DNS filtering is also easier to sustain when it is paired with endpoint and device posture checks. If the client is unmanaged, jailbroken, or otherwise untrusted, DNS policy alone will not meaningfully reduce the blast radius. A practical companion control is the Device Trust and Posture Guide.

Risk and Threat Considerations

DNS filtering reduces exposure, but it is also easy to misapply. If teams assume it is a complete perimeter, attackers can pivot to alternate DNS paths, direct IP access, hard-coded endpoints, or trusted services abused as relay points. In environments with weak resolver governance, the control may give a false sense of containment while leaving the actual attack path open.

Failure mechanism: Threat actors exploit gaps in resolver enforcement, DNS bypass paths, or overbroad allowlists to reach malicious infrastructure without triggering the intended policy decision.

Impact: The organisation loses early blocking value, increases the chance of command-and-control or phishing reachability, and may not notice the abuse until later-stage telemetry shows suspicious traffic or account activity.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST CSF 2.0, NIST Zero Trust (SP 800-207) and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 SC-7 — Boundary Protection DNS filtering enforces destination boundaries before sessions form.
AC-4 — Information Flow Enforcement DNS policy constrains which external destinations traffic may reach.
Recommendation — Use SC-7 to restrict outbound destinations and block access to risky domains. Apply AC-4 to enforce approved information flows through sanctioned resolvers.
NIST CSF 2.0 PR.AA-05 — Identity Management, Authentication and Access Control Zero Trust DNS decisions should complement identity-based access control.
Recommendation — Link DNS policy to authenticated identities and enforce least-privilege access.
NIST Zero Trust (SP 800-207) Zero Trust Architecture The question is directly about Zero Trust control placement and continuous verification.
Recommendation — Place DNS filtering at an early enforcement point within the Zero Trust policy path.
CIS Controls v8 CIS-13 — Network Monitoring and Defense DNS filtering supports network defense, visibility and malicious destination blocking.
Recommendation — Use CIS-13 to monitor DNS activity and block known-bad destinations.

Practitioner Guidance

What to verify: Confirm that all user, server and remote-access DNS traffic is forced through approved resolvers, including roaming devices, split-tunnel VPN users and any workloads with custom DNS settings. If a population can choose its own resolver, the policy is incomplete.

What to prioritise: Start with high-confidence malicious domains, newly registered domains, DNS tunnelling indicators and categories that are clearly outside business need. Broad blocking rules are useful, but they should be tuned to avoid breaking critical SaaS and software-update paths.

Common mistake: Treating DNS filtering as a replacement for identity-aware access or endpoint protection. The stronger design is layered, with DNS stopping obvious bad destinations early and other controls handling authenticated access, content inspection and post-compromise detection.

Practitioner takeaway: Use DNS filtering to narrow the attack surface before a connection is formed, then measure whether the control is actually enforced everywhere the architecture allows traffic to originate.