Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› What signs suggest DNS-based threats are reaching the…
Threats, Abuse & Incident Response

What signs suggest DNS-based threats are reaching the network layer?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated December 3, 2026 Domain: Threats, Abuse & Incident Response

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.

What DNS activity looks like when a threat is moving closer to the network layer

At this stage, the signal is less about a single bad query and more about a pattern that sits between endpoint activity and outbound network behavior. Repeated lookups for algorithmic or random-looking names, sudden interest in names that have never been seen before, and resolver traffic that appears just before connections to odd destinations all point to DNS being used as part of the access path, not just name resolution.

That matters because DNS is often the first visible control point before traffic reaches wider network infrastructure. If you can correlate resolver activity with later connection attempts, you can separate noisy internet background from behavior that is likely preparing command-and-control, staging, or evasive outbound access.

A useful way to read the pattern is to compare query shape, query timing, and destination behavior together. A spike in NXDOMAIN responses can mean generated names are being tried at scale, while bursts of newly seen domains can suggest fast-changing infrastructure. When those signs line up with unusual IP ranges or resolvers outside the expected path, the network layer is no longer a passive backdrop, it is part of the threat path.

Why NXDOMAIN spikes, domain generation patterns, and resolver bypass matter

These indicators are useful because they often appear when an adversary is probing for live infrastructure, hiding behind fast-flux style name changes, or using DNS as a control channel. A domain generation pattern can produce many failed lookups before a working name is found, which is why NXDOMAIN growth is often an early clue rather than a late one.

Resolver bypass is especially important. If clients begin querying outside approved internal resolvers, defenders may lose policy enforcement, logging consistency, and the ability to apply protective DNS controls. That is where DNS changes from a visibility layer into an exposure layer, because the threat can use the same protocol path to reach external infrastructure with less scrutiny. For teams validating DNS-layer protections, DNS Filtering vs Secure Web Gateway is useful for understanding where DNS controls help and where they can be bypassed.

Once that happens, look at the broader network picture rather than the DNS event alone. The OSI and TCP/IP Models Guide is a helpful reference for placing DNS behavior alongside the transport and application activity that follows it, which is often where the real compromise becomes visible.

How to investigate and contain suspicious DNS behavior

The first question is whether the DNS activity is merely unusual or whether it is supporting an actual attack path. That distinction comes from correlation: which host issued the query, what happened immediately after, whether the queried name was rare or newly registered, and whether the destination IP is consistent with normal business traffic.

Once the pattern looks suspicious, validate whether the issue is confined to a single host, a subnet, or a broader set of endpoints. If the same names recur across multiple systems, or if the same resolver-bypass pattern appears more than once, treat it as a shared control weakness rather than an isolated anomaly. A DNS-centric hunting workflow can help here, especially when you need to pivot from query logs into flow data and packet evidence. The Network Threat Hunting guide covers the combination of DNS, flow, and packet sources that makes these investigations much more reliable.

If the activity is tied to infrastructure used by a platform or cluster, review whether egress filtering, resolver policy, and service-to-service visibility are tight enough to prevent names from becoming an easy outbound staging mechanism. The Kubernetes Network Policy Guide is relevant when DNS is being used to support container or workload egress that should have been constrained earlier.

Risk and Threat Considerations

DNS-based threats become more dangerous when they are allowed to progress from odd lookup behavior into reliable outbound reachability. At that point, DNS is not just an indicator, it becomes an enabler for staging, callback traffic, and selective access that can bypass weaker perimeter assumptions.

Failure mechanism: Attackers exploit the gap between name resolution and destination control by using generated domains, rare domains, or resolver bypass to keep connectivity alive while avoiding simple blocklists and coarse network rules.

Impact: Defenders can lose early visibility, allow malicious connections to proceed, and miss the transition from reconnaissance to command-and-control or data movement because the DNS layer looked like routine background traffic.

Standards & Framework Alignment

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

MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1071.004 — Application Layer Protocol: DNSDNS misuse as a channel for command and control is central here.
T1568.001 — Dynamic Resolution: Domain Generation AlgorithmsRandom-looking names and NXDOMAIN spikes align with DGA-style infrastructure.
Recommendation — Map suspicious DNS patterns to T1071.004 and hunt for DNS-based C2 activity. Classify repeated failed lookups and rare domains as DGA indicators and investigate host activity.
CIS Controls v8CIS-13 — Network Monitoring and DefenseThe answer depends on correlating DNS, resolver, and flow data to detect suspicious network movement.
Recommendation — Centralize DNS and flow monitoring so unusual resolver behavior is detected and investigated quickly.
NIST CSF 2.0DE.CM-01 — Monitoring for Anomalies and EventsUnusual DNS query bursts and resolver bypass are anomalous events that should be monitored.
PR.DS-01 — Data-at-rest is protectedNo direct material fit.
Recommendation — Monitor DNS and egress events for anomalies that indicate threat activity near the network layer. Omit.

Practitioner Guidance

What to prioritise: Correlate DNS logs with connection logs before you decide the activity is benign. A high NXDOMAIN rate is useful only when it is paired with endpoint identity, resolver path, and downstream destination context.

What to verify: Confirm whether the client is using the approved resolver path, whether the queried domains are newly seen or algorithmic, and whether the outbound destinations sit inside an expected business range. If the same host is both generating the queries and reaching unusual IP space, treat that as a stronger signal than either event alone.

Practitioner takeaway: DNS becomes a network-layer threat signal when query behavior and outbound reachability line up, so the operational question is not “is this DNS weird?” but “does this DNS behavior explain a real path to external infrastructure?”

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on December 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org