Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› DNS Bypass
Cyber Security

DNS Bypass

← Back to Glossary
By NHI Mgmt Group Updated November 3, 2026 Domain: Cyber Security

DNS bypass is any method that avoids using the normal Domain Name System lookup path to reach a host or service. It can involve hard-coded IP addresses, alternate resolvers, direct connections, or local name overrides, and it changes how traffic is routed, filtered, and monitored.

What DNS Bypass Changes

DNS bypass changes the path a client uses to reach a destination, which means the organisation may lose some of the control points normally provided by name resolution. Instead of relying on the standard resolver path, traffic can go straight to an IP address, use a different resolver, or follow a local override that bypasses policy, logging, or filtering.

Why DNS Bypass Matters for Security Controls

DNS is often where defenders apply filtering, sinkholing, category policy, and visibility into where a system is trying to connect. When a host skips that path, the security team may still see the connection, but lose the name context that helps with policy enforcement, detection, and incident investigation.

That makes DNS bypass especially important in environments that rely on protective DNS, proxy mediation, or resolver-level logging. It is not just a routing choice, it can change which controls are effective and which telemetry disappears.

For a practical control view, the Protective DNS Guide explains how resolver forwarding, block responses, and coverage metrics are used to stop DoH and port 53 bypass. The Secure Web Gateway and Web Filtering Guide is the complementary reference when bypasses reach around web filtering or proxy-based controls.

Common DNS Bypass Patterns

DNS bypass usually appears in a few recurring forms: hard-coded IPs inside applications, alternate public resolvers, encrypted name resolution that avoids enterprise policy, direct connections to services, and local host-file or policy overrides. These patterns can be deliberate, such as an application trying to avoid a captive portal or restrictive network, or malicious, such as a client trying to evade DNS-based detection.

Because the behaviour sits close to the network edge, it can be hard to distinguish a legitimate exception from an unauthorised bypass without baselining expected resolver use. That is why defenders often pair DNS logging with egress controls and proxy policy rather than depending on DNS alone.

Where bypass is used as an evasive channel, the associated network behaviour aligns with the detection and egress-control patterns described in MITRE ATT&CK T1071 Application Layer Protocol.

How Organisations Detect and Govern DNS Bypass

Detection starts with knowing which systems should use which resolvers, then comparing that expectation with actual traffic. If a host should only resolve through approved infrastructure, direct queries to external resolvers, unexpected encrypted DNS, or connections to numeric IPs instead of hostnames become signals worth investigating.

Governance also matters. Teams need explicit rules for exception handling, local overrides, split-horizon behaviour, roaming endpoints, and applications that embed their own resolver logic. If those exceptions are not documented, DNS bypass can become a blind spot that looks like normal connectivity while quietly reducing control coverage.

For authoritative protocol and resolver context, IANA is the reference point for Internet protocol registries and related naming infrastructure.

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 SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1071 — Application Layer ProtocolDNS bypass often supports protocol abuse and evasion through nonstandard outbound paths.
Recommendation — Map resolver evasion and direct-IP traffic to T1071 and monitor for abnormal egress patterns.
CIS Controls v8CIS-13 — Network Monitoring and DefenseDNS bypass reduces visibility and weakens network monitoring and filtering.
Recommendation — Enforce DNS and egress monitoring so nonapproved resolvers and direct connections are detected.
NIST SP 800-53 Rev 5SC-7 — Boundary ProtectionDNS bypass alters the boundary controls that govern outbound and name-resolution traffic.
AU-12 — Audit Record GenerationDNS bypass can remove resolver-side telemetry needed for investigation.
CM-7 — Least FunctionalityDNS bypass is often enabled by unnecessary alternate resolvers or local overrides.
Recommendation — Apply boundary protections to restrict direct DNS paths and approved egress destinations. Generate and retain resolver and egress logs that expose nonstandard name-resolution paths. Remove unnecessary resolver alternatives and local overrides that weaken approved traffic paths.

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 November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org