TL;DR: DNS lookups are becoming the earliest security decision point for web and agent traffic, because domains can be registered and weaponized within minutes, according to DNSFilter’s analysis. That shifts control from payload inspection to real-time verdicts at resolution, where threats can be blocked before downstream tools or users ever engage them.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on DNSFilter's blog post: DNS-first security makes the DNS lookup the first security decision point and shifts enforcement earlier than payload inspection.
Why it matters: That matters because identity-bound devices, unmanaged endpoints and AI agents increasingly create network activity at the resolver before other tools can classify it.
By the numbers:
- DNSFilter blocks more than 235 million threats a day before the payload.
Context
DNS is the naming system that turns a human-readable domain into a network address. In security operations, that resolution step has often been treated as plumbing, even though it is the first point at which a connection can be allowed or denied.
When the decision shifts to the lookup, defenders get a chance to stop malicious destinations before a session forms, a payload arrives or an alert chain starts. That changes the role of DNS from a routing dependency into a governance control for user, device and software-initiated traffic.
That starting position is now less typical than it should be, because many programmes still treat DNS as an infrastructure utility rather than a policy enforcement layer.
Key questions
Q: How does DNS lookup filtering stop malicious domains earlier?
A: DNS lookup filtering blocks or redirects a request at the resolver before the client connects to the target host. By deciding at the resolution step, it can stop access to known malicious domains, newly registered lookalikes, or domains with suspicious reputation before any HTTP session, malware download, or callback is established.
Q: Why do fast-changing domains create risk for DNS-based defences?
A: Fast-changing domains reduce the value of allowlists and static blocklists because the name can appear safe, then shift to a different IP, host, or registration pattern within minutes. DNS-based defences need real-time resolution decisions, short TTL awareness, and reputation signals that are refreshed before the resolver returns an address.
Q: How should teams govern DNS traffic from AI agents?
A: Teams should govern AI agent DNS traffic with explicit egress policy, resolver logging, and per-agent allowlists or domain categories tied to the agent’s delegated task. That lets security teams see which domains an agent queries, block unexpected lookups, and revoke or narrow access when the agent’s scope changes.
Q: What signs suggest DNS-based threats are reaching the network layer?
A: Common signs include repeated lookups for random-looking domains, bursts of queries for newly seen names, and resolver requests that precede outbound connections to unusual IP ranges. A rise in NXDOMAIN responses, domain generation patterns, or lookups that bypass expected internal resolvers also suggests DNS-based threats are moving closer to the network layer.
Technical breakdown
Why the DNS lookup is the earliest enforcement point
Every network session begins with a name resolution request, whether the request comes from a browser, an application, or an AI service acting on behalf of a user. If security waits until the connection is established, it has already missed the earliest opportunity to classify the destination. DNS-first security moves the allow or block decision to that lookup step, so the policy applies before payload inspection, proxy routing or endpoint execution. That is technically different from filtering after the connection has formed, because the resolver becomes the control plane for the first trust decision. See the DNS Security and Protective DNS Buyer's Guide.
Practical implication: Treat resolver policy as a primary control, not a passive utility, when you want to stop risky destinations before other layers engage.
How real-time domain classification changes the threat window
A newly registered malicious domain may not appear in static block lists for hours or days, which leaves a gap between first appearance and list-based detection. Real-time classification closes that gap by evaluating the query at the moment it is made, using current reputation, behavioural and threat-intelligence signals rather than waiting for an overnight update cycle. That does not eliminate every risk, but it changes the economics of defence by forcing the attacker to compete with live verdicting instead of stale indicators.
Practical implication: Prioritise controls that make a first-query decision on unknown domains, especially where adversaries rapidly rotate infrastructure.
Why AI agents and unmanaged devices matter at resolution
When traffic is governed at DNS resolution, coverage extends to anything that uses the resolver, not just managed laptops with an endpoint agent. That includes BYOD devices, guest systems, IoT and OT equipment, and software agents making outbound connections on a person’s behalf. The identity question shifts from who is signed in to what system is actually initiating the lookup, which is why DNS can expose activity that legacy logs attribute only to the human session. See the Windows Server DNS and DHCP Security Guide.
Practical implication: Use resolver-level policy to govern unmanaged and software-driven traffic where endpoint-only controls cannot reliably see the initiating system.
NHI Mgmt Group analysis
DNS-first security is really a governance model for the resolver. The important shift is not just earlier blocking, but moving policy authority to the point where every session begins. That gives defenders one place to decide whether a destination is acceptable before other controls inherit the problem, which is especially relevant where user traffic, application traffic and software-driven traffic converge.
First-seen domains create a control gap that list-based defence cannot close on its own. Static reputation feeds and overnight updates will always lag attacker infrastructure that is created and discarded quickly. DNS-first closes that gap by making the initial query itself the decision moment, which turns the resolver into a live risk filter rather than a record of past risk.
Agentic and software-driven traffic need separate identity treatment at the name-resolution layer. When AI services, workloads or browser sessions generate DNS requests, attribution to the signed-in human can hide what the software is doing on its own. DNS and DHCP security becomes more relevant here because resolver policy and network identity have to be managed together, not as separate concerns.
DNS-first also changes what downstream tools are supposed to do. Endpoint, proxy and SSE layers still matter, but they should spend less time adjudicating destinations that could have been denied earlier. The practical result is a smaller inspection burden and a cleaner division of labour across the stack.
The market implication is a shift from visibility-first tooling to decision-first control. Security teams will increasingly judge DNS capabilities by whether they enforce policy at resolution, not by whether they merely log queries or enrich alerts. Practitioners should therefore evaluate DNS controls as part of access governance, not only as a network utility.
What this signals
DNS decisioning is moving from an operational convenience to a governance control. As more traffic comes from applications and agents as well as people, the resolver becomes the first place to separate permitted behaviour from risky destinations. Programmes that still treat DNS as a passive network function will struggle to explain or control first-seen risk.
Resolver policy should become part of identity-aware access design. If a system can generate its own lookups, the security model has to decide whether the destination is acceptable before the connection exists. That pushes DNS into the same conversation as workload identity, unmanaged access and policy enforcement, where decisions are made at the start of the transaction rather than after the fact.
For practitioners
- Define DNS as a policy enforcement layer Assign ownership for resolution policy, threat verdicts and exception handling so DNS is treated as a security control rather than a transport service.
- Block unknown domains at first query Use real-time classification and reputation checks so newly registered or fast-rotating destinations are evaluated before a session forms.
- Separate human and software traffic decisions Create governance for AI services, workloads and other software that generates its own lookups so activity is not attributed only to the signed-in user.
- Extend coverage to unmanaged devices Route BYOD, contractor, guest and IoT traffic through protected resolvers so enforcement does not depend on an endpoint agent being present.
Key takeaways
- DNS is best understood as an early policy layer, not just a routing dependency, because it can stop malicious destinations before the rest of the stack sees them.
- The main operational advantage is reduced downstream noise, since a blocked lookup removes the need for payload inspection and alert triage.
- As AI agents and unmanaged devices generate more traffic, resolver governance becomes an identity and access problem as much as a network one.
Related NHI Mgmt Group resources: DNS Security Guide · DNS Security and Protective DNS Buyer's Guide · Windows Server DNS and DHCP Security Guide · Security Programme Building Guide
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API8 — Security Misconfiguration | DNS-first security reduces exposure from misrouted or uncontrolled network requests that bypass intended policy paths. |
| Recommendation — Tighten network policy paths so resolution and enforcement happen before destinations can be abused. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Resolver policy governs which destinations are authorised before a connection is established. |
| Recommendation — Apply policy at resolution time so destinations are authorised before any session forms. | ||
| CIS Controls v8 | CIS-6 — Access Control Management | DNS-first enforcement is an access control decision for outbound destinations and software-initiated traffic. |
| Recommendation — Use CIS-6 to govern outbound destination access and revoke exceptions quickly. | ||
| MITRE ATT&CK | TA0006;TA0010 — Credential Access; Exfiltration | DNS-based blocking helps disrupt credential theft and data exfiltration delivered through malicious domains. |
| Recommendation — Map malicious domains to credential theft and exfiltration paths and block them at the lookup stage. | ||
Key terms
- DNS-First Security: DNS-first security is a security approach that treats DNS resolution as the earliest enforcement point for blocking or steering traffic. It uses resolver policy, reputation checks, and query logging to stop access before a connection is made to a destination host.
- First-Seen Domain: A first-seen domain is a domain name that has only recently appeared in query, threat, or telemetry data. Security teams watch these domains because they often indicate newly registered infrastructure, fast-flux activity, or domains that have not yet built a reputation profile.
- Resolver Policy: Resolver policy is the set of rules a DNS resolver uses to decide how to answer, forward, block, or rewrite a query. It can enforce domain filtering, logging, split-horizon responses, and access controls for which clients may resolve which names.
- DNS lookup: A DNS lookup is the process of translating a human-readable domain name into the IP address a device needs to connect. In performance terms, it is the first network step in many user journeys, so delay here affects the whole experience before rendering begins.
Deepen your knowledge
NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. Explore how resolver policy, workload identity, and secrets management fit into a broader security programme.
Published by the NHIMG editorial team on December 3, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org