DNS Security

DNS Security Solutions

Network Insight · Engineering Guide

DNS Security: Protecting the First Connection

DNS is one of the foundational services behind almost every digital application. Before a browser connects to a website, a device reaches a cloud service, or an application establishes a session, DNS is often involved in identifying the destination. That makes DNS more than a directory of names and IP addresses — it is an important security and visibility control point.

A modern DNS security architecture therefore needs to address several different problems at the same time: where DNS traffic is allowed to go, whether DNS data can be trusted, whether destinations are considered safe, and whether unusual DNS behaviour can be detected.

Engineering Question

How can an organisation use DNS to protect the earliest stage of a connection without confusing DNS encryption, DNS filtering and DNSSEC as if they solved the same security problem?

01 · REQUEST
Client Query
A user, device or application requests a hostname.
02 · RESOLVE
Recursive Resolver
The resolver retrieves or returns the requested DNS data.
03 · INSPECT
Security Policy
Reputation, filtering and policy controls evaluate the request.
04 · VALIDATE
DNSSEC
Signed DNS data can be cryptographically validated.
05 · OBSERVE
Telemetry
DNS activity becomes evidence for detection and investigation.

01 · The Security Context DNS Is More Than Name Resolution

Traditional DNS provides a distributed mechanism for translating human-readable hostnames into addresses. Its hierarchical design, delegation model and caching make Internet-scale name resolution practical. But the original protocol was not designed around the security expectations of today's Internet.

Modern environments contain unknown Internet participants, cloud applications, remote users, unmanaged devices and constantly changing infrastructure. As a result, DNS has become both a critical dependency and an attractive attack surface.

Resolution

Find the Destination

Recursive resolution, caching and delegation allow clients to discover the DNS information required to reach an application or service.

Security

Evaluate the Destination

Filtering and threat intelligence can determine whether a requested domain should be allowed, blocked or redirected for further inspection.

Visibility

Understand the Behaviour

DNS telemetry provides evidence about which domains devices are requesting, how frequently they are queried and whether unusual patterns are emerging.

02 · Three Different Problems Privacy, Integrity and Trust

One of the most important engineering distinctions in DNS security is that different technologies protect different properties. Encrypting a DNS query does not prove that the destination is safe. Filtering a domain does not authenticate the DNS response. DNSSEC validation does not provide complete visibility into endpoint behaviour.

Privacy

DoH and DoT can protect DNS traffic between a client and its selected resolver from passive observation on the transport path.

Integrity

DNSSEC provides cryptographic validation of signed DNS data and helps detect manipulation of responses when the relevant chain of trust is available.

Policy

DNS filtering evaluates requested destinations against security policy, reputation and threat intelligence to determine whether resolution should proceed.

01

DNS Filtering

Filtering can block known malicious, phishing, command-and-control or otherwise prohibited domains before a connection is established. It is a policy decision, not a cryptographic proof of authenticity.

02

DNSSEC

DNSSEC uses digitally signed DNS data and a hierarchical chain of trust to validate responses. It addresses authenticity and integrity rather than domain reputation.

03

DoH / DoT

DNS over HTTPS and DNS over TLS encrypt the client-to-resolver connection. Encryption protects the channel but does not determine whether the requested domain is malicious.

04

DNS Telemetry

Resolver and security logs expose DNS behaviour that can be correlated with endpoint, identity, network and application evidence during investigation.

Engineering Model

Where DNS Security Controls Operate

A modern deployment can combine several controls. The exact inspection order and component placement depend on the enterprise, cloud or managed DNS architecture.
Client Generates DNS requests before establishing application sessions.
Resolver Provides recursive resolution, caching and a central policy point.
Filtering Evaluates domain reputation and security policy.
DNSSEC Validates signed data and the DNS chain of trust.
Telemetry Records queries, decisions, anomalies and validation events.

03 · Why DNS Becomes an Attack Surface Security Starts Before the Application Session

Because DNS commonly occurs before an application connection is established, attackers can abuse the protocol at an early stage of the attack chain. DNS can be manipulated to redirect users, used to communicate with command-and-control infrastructure, abused for data exfiltration, or overwhelmed to disrupt service availability.

Examples include cache poisoning, DNS spoofing or hijacking, DNS tunnelling, amplification attacks, DNS floods and random-subdomain or NXDOMAIN attacks. Each produces different evidence and requires a different combination of controls.

Manipulation

Poisoning & Spoofing

Incorrect DNS information can redirect clients towards unintended destinations or cause a resolver to return manipulated data.

Covert Channel

DNS Tunnelling

Encoded information can be carried inside DNS queries and responses, creating a potential channel for command-and-control or data exfiltration.

Availability

Flood & Amplification

DNS infrastructure can be targeted directly or abused as part of reflected and amplified denial-of-service activity.

04 · Architectural Response Build DNS Security as a Control Stack

A resilient DNS security design should therefore avoid treating any individual feature as the complete solution. Filtering, DNSSEC, encrypted DNS transport, resilient resolver infrastructure, logging and threat intelligence address different parts of the problem.

The result is a layered security model in which DNS provides both an enforcement point and an early source of security telemetry. Suspicious DNS behaviour can be blocked, investigated or correlated with other evidence before the associated application session becomes the primary security signal.

Network Insight · Engineering Takeaway

DNS should be treated as part of the security architecture rather than as a background network service. The strongest design combines secure transport, DNS filtering, DNSSEC validation, resilient infrastructure and continuous telemetry. The key engineering principle is simple: each control solves a different problem, and effective DNS security comes from combining those controls with broader endpoint, identity, network and application evidence.

Network Insight · Engineering Guide

DNS Security — Engineering Guide

Follow the guide from normal DNS resolution through attack surface, security controls and operational investigation. Select a section to jump directly to its interactive engineering map.

DNS as a Security Control Plane: Architecture, Telemetry and Investigation

Engineering Map · Section 01
DNS resolution path

Follow a DNS request before looking at the security problem

DNS security makes more sense when the normal resolution process is understood first. Select a stage below to see what happens at that point in the request path.

01

Client

A user, device or workload requests a name.

→
02

Resolver

The recursive resolver processes the query.

→
03

Security Policy

Filtering and intelligence can inspect the request.

→
04

Authoritative DNS

Authoritative infrastructure supplies DNS data.

Client: The process begins when an endpoint, application or workload needs to resolve a domain name.
Section 01 · DNS Architecture

DNS as a Security Control Plane

DNS is traditionally viewed as a resolution service: a client asks for a hostname and a resolver returns the information required to reach the destination. In a modern security architecture, however, the resolver can become much more than a lookup mechanism.

Because DNS activity normally occurs before an application connection is established, it provides an early opportunity to apply policy, evaluate destination risk and collect security telemetry.

01 · The Architectural Shift From Resolver to Security Control Point

A traditional DNS deployment focuses primarily on availability and resolution. The resolver answers queries, follows delegation, caches records and returns the information requested by clients.

A security-aware resolver adds another layer of responsibility. It can become the point where DNS requests are evaluated against threat intelligence, reputation data, organisational policy and identity context before the connection continues.

Engineering Principle

DNS does not need to replace the firewall, endpoint security or application security. Its value comes from providing an early control point that can make a security decision before the requested application session begins.

02 · DNS Architecture Three Operational Planes

It is useful to think about modern DNS security in terms of three operational planes. The terminology differs between products and architectures, but the engineering responsibilities remain broadly similar.

01 · RESOLUTION

Recursive Resolution

The resolver performs recursive lookups, follows DNS delegation, caches responses according to TTL values and returns DNS information to the requesting client.

02 · SECURITY

Policy & Enforcement

DNS requests can be evaluated against domain reputation, threat intelligence, filtering rules, identity context and organisational policy. A request may be allowed, blocked or redirected for additional inspection.

03 · VISIBILITY

Telemetry & Detection

DNS queries, responses, policy decisions and anomalies can become security telemetry. This information can then be correlated with endpoint, identity, network and application evidence.

03 · Resolution Path Where Security Decisions Can Be Applied

The DNS resolution path provides several opportunities for inspection. The precise architecture varies between enterprise, cloud and managed DNS environments, but the basic security model can be represented as a sequence of resolution, evaluation, validation and observation.

Conceptual DNS security processing path
Client Query User, endpoint or application requests a hostname.
Recursive Resolver Resolver checks cache or performs recursive resolution.
Security Policy Reputation and filtering rules evaluate the requested domain.
DNSSEC Validation Signed DNS data can be validated where DNSSEC is deployed.
Telemetry Query, decision and validation data becomes security evidence.

04 · Security Stack Different Controls Solve Different Problems

A common architectural mistake is to treat DNS encryption, DNS filtering and DNSSEC as interchangeable security controls. They are not. Each protects a different property of the DNS process.

ENC

DoH / DoT

Encrypts the DNS connection between a client and its selected resolver. This helps protect the query from passive observation on the transport path, but does not establish that the destination is safe.

FIL

DNS Filtering

Uses policy, reputation and threat intelligence to determine whether a requested domain should be resolved. Filtering is primarily an access-control and threat-prevention mechanism.

SEC

DNSSEC

Uses cryptographic signatures and a chain of trust to validate DNS data. It addresses integrity and authenticity rather than domain reputation.

LOG

DNS Telemetry

Captures query behaviour, responses, policy decisions and anomalies. Telemetry provides the evidence needed for detection, investigation and threat hunting.

05 · Operational Security DNS Becomes a Security Sensor

The value of DNS telemetry comes from the patterns that appear across many requests rather than from a single DNS event. A single unusual domain does not necessarily indicate compromise. A sequence of rare domains, unusual query lengths, abnormal NXDOMAIN activity or repeated connections to suspicious infrastructure can provide a much stronger signal.

DNS Investigation Model

Turn DNS Activity into Evidence

Query Pattern Examine frequency, timing, length and naming behaviour.
Domain Risk Compare requested destinations with reputation and threat intelligence.
Endpoint Context Identify the device, user and process generating the DNS activity.
Network Evidence Correlate DNS activity with subsequent connections and network flows.

06 · Engineering Checklist Designing DNS as a Security Control Plane

✓
Centralise DNS policy where practical so security decisions can be applied consistently.
✓
Protect resolver infrastructure against unauthorised administrative access and service disruption.
✓
Use DNS filtering to block known malicious or prohibited destinations.
✓
Use DNSSEC validation where the relevant zones and architecture support it.
✓
Consider DoH or DoT where encrypted client-to-resolver transport is required.
✓
Export DNS telemetry so suspicious behaviour can be correlated with wider security evidence.
Section 01 · Engineering Takeaway

DNS becomes significantly more valuable when it is treated as a security control plane and telemetry source rather than simply a resolution service. The resolver can provide the point where requests are evaluated, DNSSEC can validate signed data, encrypted DNS can protect the transport and telemetry can expose suspicious behaviour. The important engineering principle is that these controls are complementary — no single DNS technology solves the entire security problem.

DNS Resolution Lab / Architecture Simulator

Follow One DNS Query Through the Network.

Step through a normal DNS request and see where recursive resolution, security policy and authoritative DNS each participate in the process.
Ready
DNS Resolution Path
0 / 7
◉
CLIENT
10.10.10.20
Application
◈
RECURSIVE
RESOLVER
10.10.10.53
Resolver
◆
SECURITY
POLICY
Reputation
Filtering
▣
AUTHORITATIVE
DNS
example.net
DNS Zone
Current DNS Transaction
WAITING
QUERY www.example.net TYPE=A
Engineering principle: DNS security becomes easier to understand when the normal resolution path is separated into distinct decision points.
Resolution Roles
Live
Client Requests name
Resolver Finds answer
Policy Evaluates request
Authoritative Owns zone data
Query Evidence
Observed
Domain
www.example.net
Record Type
A
Security Decision
Not evaluated
Resolution Timeline
Request lifecycle
01
CLIENT
Application requests the IP address for www.example.net.
02
RESOLVER
Recursive resolver receives the DNS query.
03
POLICY
DNS security policy evaluates the requested domain.
04
RESOLVER
Resolver determines where authoritative information must be obtained.
05
AUTHORITATIVE
Authoritative DNS returns the requested record information.
06
VALIDATE
Resolver evaluates the response before returning it to the client.
07
CLIENT
Client receives the DNS response and can initiate the next connection.
Lab Telemetry
Live interpretation
Current Event
Press Step Forward to begin
Simulation Progress
Engineering takeaway: DNS is a control path between an application request and the destination information required to reach a service.

DNS Threats: Where Resolution Becomes an Attack Surface

Threat Explorer · Section 02

Where can the DNS process be attacked?

DNS attacks do not all target the same property. Select an attack class to see the primary security concern behind it.

Cache Poisoning Corrupting the resolver's answer.
DNS Tunnelling Using DNS as a covert data path.
Amplification Abusing DNS to increase attack traffic.
NXDOMAIN Flood Generating large volumes of failed queries.
Integrity
Cache poisoning attacks the trustworthiness of DNS responses.

The security objective is to ensure that clients receive the correct DNS information rather than an attacker-controlled destination.

Network Insight · Engineering Guide · Section 02

DNS Threats: Where the Resolution Process Becomes an Attack Surface

DNS was designed to provide scalable name resolution rather than to act as a security system. That distinction matters. The same distributed architecture that makes DNS efficient and resilient can also provide attackers with opportunities to manipulate responses, hide activity, exhaust resources or use DNS as a communications channel.

Modern DNS security therefore begins with understanding how the attack changes the normal resolution process. Some attacks target the integrity of DNS data. Others target availability. Others abuse DNS itself as a transport mechanism for command-and-control or data exfiltration.

Engineering Question
When suspicious DNS activity is detected, what exactly is being attacked — the DNS data, the DNS infrastructure, the availability of the service, or the DNS protocol itself?

The Major DNS Attack Classes

The most useful way to understand DNS threats is to separate them by the security property they attempt to undermine. This makes it easier to select an appropriate control rather than treating every DNS security problem as a generic filtering problem.

01

DNS Cache Poisoning

An attacker attempts to introduce incorrect DNS information into a resolver's cache so that subsequent clients receive an unintended destination address.

02

DNS Spoofing & Hijacking

DNS responses or resolution behaviour are manipulated so that users are directed somewhere other than the intended destination. The attack can occur at different points in the resolution path.

03

DNS Amplification

Attackers abuse exposed or poorly configured DNS infrastructure to generate responses toward a victim, using asymmetric request and response sizes to amplify traffic.

04

DNS Flooding

DNS servers or their supporting network infrastructure are overwhelmed with large volumes of requests, reducing the ability of legitimate clients to obtain resolution.

05

Random Subdomain / NXDOMAIN Attacks

Large numbers of unique, nonexistent names can generate repeated NXDOMAIN processing and reduce resolver or authoritative-server efficiency.

06

DNS Tunnelling

DNS queries and responses can be abused to carry encoded information, enabling covert command-and-control or data-exfiltration channels that may blend into normal DNS traffic.

Attack Path: From DNS Request to Security Impact

A DNS attack does not necessarily begin with a malicious-looking packet. In many cases the initial request can appear syntactically normal. The security problem emerges from the destination, frequency, response behaviour, context or relationship between multiple DNS events.

Conceptual DNS attack path
01 · Request Client generates DNS query
→
02 · Resolution Resolver processes request
→
03 · Manipulation Data, traffic or behaviour is abused
→
04 · Outcome Redirect, disruption or covert communication

DNS Cache Poisoning

DNS cache poisoning attempts to place false information into a recursive resolver's cache. Once the incorrect record is cached, clients using that resolver may receive the malicious destination until the cached information expires or is replaced.

The fundamental security problem is therefore data integrity. A resolver may successfully complete the DNS transaction from a protocol perspective while still returning an incorrect answer. This is why DNSSEC provides a fundamentally different security function from DNS filtering.

Investigation Evidence
What might indicate manipulated DNS data?
Integrity Signal
Unexpected destination A familiar hostname resolves to an unexpected or previously unseen address.
Validation failure DNSSEC validation fails where a signed zone and validating resolver are expected.
Resolver anomaly Cache behaviour or response patterns differ significantly from the expected resolution path.

DNS Spoofing and Hijacking

DNS spoofing describes situations where false DNS information is presented to a client or resolver. DNS hijacking can occur when an attacker or intermediary gains the ability to alter DNS settings, responses or resolution behaviour.

The important engineering distinction is that the user may still perform a perfectly normal DNS lookup from the endpoint's perspective. The problem is that the lookup has been influenced by another party. This can redirect users toward phishing infrastructure, malicious services or unwanted destinations.

DNS Amplification and Flood Attacks

Availability attacks target a different property. Rather than attempting to make DNS return the wrong answer, the attacker attempts to prevent legitimate users from obtaining answers at all.

DNS Amplification

  • Uses DNS infrastructure as a traffic reflector.
  • Often relies on spoofed source addresses.
  • Attempts to generate a larger response toward the victim.
  • Can contribute to large distributed denial-of-service attacks.

DNS Flooding

  • Directly overwhelms DNS infrastructure with requests.
  • Consumes processing, bandwidth or connection capacity.
  • Can affect legitimate DNS resolution.
  • Requires resilience, capacity and traffic protection.

Random Subdomain and NXDOMAIN Attacks

A random-subdomain attack generates large numbers of queries for names that do not exist. The resulting NXDOMAIN responses create additional processing requirements for recursive and authoritative infrastructure.

This demonstrates why DNS security cannot focus exclusively on malicious domains. A domain can be legitimate while the behaviour associated with the query is abnormal. Query volume, uniqueness, timing, source identity and response patterns can therefore become important detection signals.

DNS Tunnelling

DNS tunnelling represents a different type of abuse. Instead of attacking DNS resolution directly, the attacker uses DNS as a communication mechanism. Data can be encoded into DNS queries and responses, allowing information to move through infrastructure that permits DNS traffic.

This can support command-and-control communication or data exfiltration. Because DNS is ubiquitous and required by many environments, simply allowing DNS traffic does not mean that all DNS activity should be considered trusted.

DNS Telemetry
Signals that can make tunnelling suspicious
Behavioural Analysis
Unusually long labels Repeated queries contain unusually large or encoded-looking subdomain labels.
High query frequency A single endpoint generates DNS requests at a rate inconsistent with its normal behaviour.
Rare destinations Queries repeatedly target unusual or previously unseen domains and subdomains.
Security Principle
Integrity Determine whether DNS data has been modified or manipulated.
Availability Ensure users can continue to resolve names during failures or attacks.
Visibility Use DNS telemetry to identify abnormal destinations and behaviours.

Why DNS Creates a Security Blind Spot

DNS is frequently treated as background infrastructure. Applications depend on it, firewalls allow it, and users rarely interact with it directly. This can make DNS activity difficult to notice until something goes wrong.

The security challenge is therefore not simply that DNS has vulnerabilities. It is that DNS activity can provide attackers with a highly available channel that may not receive the same depth of inspection as web, application or endpoint traffic.

This is particularly important for DNS tunnelling and command-and-control activity. A security architecture that only evaluates the final application connection may miss useful evidence contained in the DNS activity that occurred before that connection was established.

Section 02 · Engineering Takeaway

DNS attacks fall into several distinct classes: integrity attacks can manipulate resolution data, availability attacks can disrupt resolution, and protocol abuse can turn DNS into a covert communications channel. Effective DNS security therefore requires more than domain blocking. It combines validation, filtering, resilience and behavioural visibility so that the security team can understand both what DNS returned and how DNS was being used.

DNS Threat Investigation / Attack Simulator

Inject a DNS Attack. Follow the Evidence.

Select an attack class and watch how the DNS resolution path changes. Use the evidence panel to identify the primary security property under pressure.
Normal
Select Attack Scenario
Four common DNS attack classes
◉
CLIENT
10.20.10.20
Workstation
◈
RECURSIVE
RESOLVER
10.20.10.53
DNS Service
▣
AUTHORITATIVE
DNS
Internet
Zone Data
Query Pattern
Normal
Resolver Behaviour
Stable
Security Property
Normal resolution
Engineering principle: DNS attacks target different properties of the resolution process. Identify what is being affected before selecting the security control.
Attack Assessment
Live analysis
Attack class Cache Poisoning
Primary risk Integrity
Attack location Resolver
Detection source DNS telemetry
Risk Level
HIGH
Evidence
Investigation data
Domain / Query
www.example.net
Response
203.0.113.20
Observed Signal
Unexpected DNS answer
Attack Timeline
Investigation sequence
01
QUERY
Client generates a DNS request.
02
SIGNAL
Abnormal DNS behaviour becomes visible.
03
ANALYSE
Resolver and response behaviour are compared with expected patterns.
04
EVIDENCE
DNS telemetry provides evidence of the selected attack pattern.
05
CONTROL
The appropriate DNS security control can now be selected.
Investigation Readout
Live interpretation
Current Finding
Select an attack and run the investigation.
Investigation Progress
Analyst principle: an unusual DNS event is a signal requiring investigation, not automatically proof of compromise.

DNS Security Controls: Filtering, Validation, Encryption and Visibility

Control Selector · Section 03

Four controls — four different security problems

DNS filtering, DNSSEC, encrypted DNS and telemetry are often discussed together. Select each control to see the specific security property it addresses.

DNS Filtering
DNSSEC
DoH / DoT
DNS Telemetry
Primary function

DNS Filtering

Evaluates requested domains against policy and threat intelligence so known malicious or prohibited destinations can be blocked before the connection proceeds.

Protects the security decision
Network Insight · Engineering Guide · Section 03

DNS Security Controls: Filtering, Validation, Encryption and Visibility

DNS security is not a single feature that can simply be switched on. Effective protection comes from combining controls that address different properties of the DNS transaction: what is being requested, who is requesting it, whether the response is authentic, how the query is transported, and what the activity reveals about the wider attack.

Engineering question

If DNS filtering blocks a malicious domain, DNSSEC validates the response, and DoH encrypts the query path, are those controls solving the same problem? No. Each protects a different part of the DNS security model.

01

Protect the decision

DNS filtering and threat intelligence determine whether a requested domain should be allowed, blocked, redirected or investigated.

02

Protect the channel

DNS over TLS and DNS over HTTPS encrypt DNS communication between a client and its resolver, reducing exposure to interception and manipulation in transit.

03

Protect integrity

DNSSEC provides cryptographic validation so a resolver can determine whether signed DNS data is authentic and has not been altered.

04

Protect visibility

DNS logging, telemetry and behavioural analysis turn resolution activity into security evidence that can be correlated with users, devices and threats.

Secure DNS resolution path
Client / Identity User, device, workload and originating context
→
Encrypted DNS DoH / DoT protects the resolver communication channel
→
Policy + Validation Filtering, threat intelligence and DNSSEC checks
→
Telemetry Logging, analytics and security investigation evidence
F

DNS Filtering & Threat Intelligence

Filtering evaluates the requested domain against security policy, reputation data and threat intelligence. A request associated with malware, phishing, command-and-control infrastructure or another prohibited category can be blocked before the connection proceeds.

Important: Filtering makes a security decision about the destination. It does not prove that the DNS response itself is authentic.
S

DNSSEC Validation

DNSSEC adds cryptographic signatures to DNS data and allows validating resolvers to establish the authenticity and integrity of signed responses. It addresses a fundamentally different problem from domain reputation.

Important: DNSSEC can validate DNS data without determining whether the destination itself is trustworthy.
E

DNS over HTTPS / TLS

DoH and DoT encrypt the communication between the DNS client and resolver. This reduces the ability of intermediate networks to inspect or manipulate DNS requests in clear text.

Important: Encryption protects the transport path. It does not automatically make a requested domain safe.
V

DNS Logging & Analytics

DNS telemetry provides a security view of the destinations being requested across users, endpoints and workloads. Patterns such as repeated failures, unusual query volumes or suspicious domain relationships can become early indicators of compromise.

Important: Visibility is not prevention by itself, but it can significantly improve detection and investigation.
Control
Primary property
Security role
DNS Filtering
Policy
Decides whether a DNS request should be permitted based on security policy and intelligence.
Threat Intelligence
Reputation
Provides context about domains, infrastructure and known malicious activity.
DNSSEC
Integrity
Validates signed DNS data and helps detect tampering with authenticated DNS information.
DoH / DoT
Confidentiality
Encrypts DNS communication between the client and resolver.
DNS Telemetry
Visibility
Exposes behavioural patterns that can support detection, investigation and response.

DNS policy can become identity-aware

Traditional DNS policy often starts with an IP address or network segment. Modern security architectures can associate DNS activity with the identity and context behind the request. This allows policy to consider the user, device, workload, location or security posture rather than treating every query from a network as equivalent.

User or workload identity
Device or endpoint context
Security policy and destination category
Threat intelligence and reputation
Historical DNS behaviour and anomaly signals

DNS becomes particularly useful in Zero Trust and SASE architectures because name-resolution activity occurs before many application connections are established. A DNS security service can therefore provide an early policy and visibility point across users, endpoints, branches and cloud workloads.

Identity-aware policy Apply different DNS controls according to user, device or workload context.
Secure resolution Use protected resolver communication and validate DNS responses where applicable.
Threat prevention Block known malicious destinations before the application connection is established.
Continuous visibility Capture DNS activity as telemetry for detection, investigation and correlation.
C

Cloud-delivered DNS security

DNS requests are sent to a security service that combines policy enforcement, threat intelligence, filtering and telemetry. This model can provide consistent controls across distributed users and locations.

O

On-premises DNS security

Resolver infrastructure and security controls remain within the organisation. This can provide direct operational control and integration with existing internal DNS architecture.

H

Hybrid DNS security

Internal and external resolution paths are combined so that private zones, enterprise policy, cloud workloads and Internet-facing DNS can be protected according to their different requirements.

A

Architecture-aware controls

Enterprise platforms can combine DNS security with broader secure-access, cloud, identity and monitoring capabilities, making DNS one component of a larger security architecture.

Section 03 takeaway

DNS security works best as a layered control system. Filtering decides what should be allowed, threat intelligence supplies context, DNSSEC protects the integrity of signed DNS data, DoH and DoT protect the resolver communication channel, and DNS telemetry provides the visibility required to detect and investigate abnormal behaviour. No single control replaces the others.

Network Insight · DNS Security Control Lab

One DNS Query. Four Security Controls.

Enable or disable the major DNS security controls and watch the same query move through filtering, encrypted transport, DNSSEC validation and telemetry.
Ready
Secure DNS Resolution Path
Idle
◉
CLIENT
User / workload
10.10.10.24
◇
ENCRYPTED DNS
DoH / DoT
Protected channel
◆
SECURITY CONTROL
Filtering
Threat intelligence
▣
AUTHORITATIVE
DNS answer
DNSSEC data
Current Query
www.example.com A
Security Controls
Click to toggle
DNS Filtering
Blocks known malicious destinations.
DNSSEC Validation
Validates DNS response integrity.
DoH / DoT
Protects the DNS transport channel.
DNS Telemetry
Records queries and security evidence.
Security Decision
Live
Current Result
Press Run DNS Query
Filtering Enabled
DNSSEC Valid
Transport Encrypted
Telemetry Logging
DNS Security Event Log
Live evidence
--:--
SYSTEM
Waiting for DNS query execution.
Engineering Interpretation
Control plane
Current Security Property
DNS security controls protect different properties of the resolution process. No single control provides the complete security model.
ON
Decision
ON
Integrity
ON
Channel
ON
Visibility

DNS as a Security Control Plane: Architecture, Telemetry and Investigation

Investigation Workflow · Section 04

Turn a DNS event into an engineering investigation

Security Operations

A suspicious DNS query is a signal, not automatically a verdict. Follow the investigation path and combine DNS evidence with identity, endpoint and network context.

01
Identify Who generated it?
02
Inspect Where is it going?
03
Correlate What pattern exists?
04
Validate What evidence exists?
05
Respond What should happen?
Identify
Start with the source

Determine which user, endpoint, server, application or workload generated the DNS request before deciding whether the activity is suspicious.

Network Insight · Engineering Guide · Section 04

DNS as a Security Control Plane: Architecture, Telemetry and Investigation

The value of DNS security extends beyond blocking malicious domains. When DNS requests are consistently controlled, logged and analysed, the resolver becomes a strategic observation point across the network. It can connect identity, destination, policy, threat intelligence and behavioural telemetry before an application session is fully established.

Engineering principle

Treat DNS as part of the security architecture rather than as an isolated naming service. The objective is not simply to make DNS harder to attack; it is to make DNS useful for prevention, validation, detection and investigation.

Reference security architecture
DNS security control plane

Users · Devices · Workloads

DNS requests originate from endpoints, servers, applications, branches and cloud workloads.

→

Secure DNS Control

Encrypted transport, policy enforcement, threat intelligence, filtering and DNSSEC validation.

→

Authoritative DNS / Internet

Resolution continues toward authoritative infrastructure and the requested destination.

Query logs
Threat signals
Identity context
Security analytics
The operational model
01

Observe

Capture DNS requests, responses, identities, destinations, response codes and behavioural patterns.

02

Decide

Apply security policy and intelligence to determine whether a request should proceed, be blocked or be investigated.

03

Validate

Validate response integrity where DNSSEC is available and identify inconsistencies or unexpected resolution behaviour.

04

Investigate

Use DNS telemetry as evidence when searching for malware, tunnelling, command-and-control activity or compromised systems.

What DNS telemetry can reveal

Normal resolution behaviour

Expected query volume for a known endpoint or workload.
Repeated access to established internal and external services.
Predictable response codes and record types.
DNS activity consistent with the application's expected behaviour.

Potential anomaly signals

Large increases in NXDOMAIN responses or random-looking subdomains.
Unusually high query frequency from a single endpoint.
Repeated requests to newly observed or suspicious domains.
Patterns consistent with DNS tunnelling or command-and-control communication.
DNS investigation workflow

From query to security decision

A DNS event should not automatically be treated as an attack. The investigation process should combine DNS evidence with identity, endpoint, application and network context. This avoids turning a single unusual query into a false positive while still allowing patterns to surface early.

01
Identify the source. Which user, device, workload or application generated the request?
02
Inspect the destination. What domain was requested and what is known about it?
03
Assess the pattern. Is the activity isolated or part of a larger behavioural anomaly?
04
Correlate the evidence. Compare DNS activity with endpoint, identity and network telemetry.
05
Apply the response. Block, investigate, contain or allow according to the evidence and policy.
DNS analytics and automated detection

A DNS query becomes a security signal

DNS security platforms and custom analytics can evaluate multiple attributes rather than relying on a single rule. This makes it possible to detect behaviour that may not match a known malicious domain.

Query frequency Detect unusually high request rates from an endpoint or workload.
Domain reputation Compare destinations against known threat and reputation data.
Response behaviour Inspect response codes, record types and unusual resolution patterns.
Behavioural anomaly Identify patterns that differ significantly from an established baseline.
Implementation considerations
Centralise policy where practical Use a consistent security policy model across users, branches, endpoints and cloud environments where the architecture allows it.
Protect resolver access Control which resolvers clients can use and consider encrypted DNS transport where appropriate to the environment.
Enable meaningful logging Capture enough DNS context to associate queries with identities, systems and security events without generating unusable telemetry.
Monitor failure patterns NXDOMAIN spikes, unusual query rates, suspicious destinations and unexpected response behaviour can all provide useful signals.
Integrate with security operations DNS events become more valuable when correlated with endpoint, identity, firewall, proxy and application telemetry.
Test the control path Verify that policy enforcement, DNSSEC validation, encrypted resolution and logging operate as intended during both normal and abnormal conditions.
Section 04 takeaway

The strategic value of DNS security is visibility combined with control. A secure DNS architecture can prevent access to known malicious destinations, protect DNS communication, validate signed responses and expose behavioural anomalies. When that telemetry is correlated with identity and endpoint evidence, DNS becomes an early security control plane rather than simply a background network service.

Network Insight · DNS Security Investigation Lab

Investigate DNS as a Security Control Plane

A suspicious DNS event is a signal, not automatically a verdict. Follow the evidence from source identification through correlation, validation and response.
Investigation Ready
DNS Investigation Workflow
Step 1 / 5
01
Identify
Locate the source of the DNS activity.
02
Inspect
Examine the queried destination.
03
Correlate
Compare DNS with other evidence.
04
Validate
Establish an evidence chain.
05
Respond
Select the appropriate action.
Source
10.10.20.44
Query Rate
184/min
NXDOMAIN
82%
Reputation
Unknown
Current Observation
Evidence
Query Frequency
ANOMALY
DNS activity from this source is significantly above its normal baseline.
Domain Pattern
SUSPICIOUS
Requests contain frequently changing labels and a high proportion of failed resolutions.
Identity
KNOWN
Source maps to workstation ENG-WS-044 assigned to a known engineering identity.
Analyst Finding
Step detail
Identify
Identify the DNS source
Start with the device or workload generating the DNS activity. A DNS event becomes useful when it can be tied to a specific source and identity.
Security Operations Event Console
DNS telemetry
--:--
SYSTEM
Investigation ready. Begin by identifying the DNS source.
Response Decision
Analyst action
Current Risk
MEDIUM
Continue collecting evidence before applying a disruptive response.
25%
Confidence
1/5
Evidence
01
Stage
```
☕
Support Network Insight
Help support independent engineering guides, interactive networking tools, and future learning labs.
Support Network Insight ```