Security | The invisible shield: DNS...

The invisible shield: DNS as cybersecurity's first line

DNS filtering can block some malicious destinations, but its coverage depends on resolver configuration and other security controls.

DNS request packets bouncing off a protective shield in front of a network
Illustration: DNS filtering acts as an early shield against malicious traffic

Many attacks require a device to find a destination on the internet. DNS filtering can block lookups for known malicious domains, giving defenders a chance to interrupt some phishing, malware and command-and-control traffic. Its effectiveness depends on the resolver and threat intelligence used, and it is one layer of a broader security strategy.

The DNS advantage

The appeal of DNS security lies in its timing. Many connections use a DNS lookup to resolve a name to an address; cached results and direct IP connections can avoid a new lookup. By intercepting that question, a security provider can refuse to answer when the destination is known to harbour malware, phishing pages, or botnet command infrastructure. A shared resolver can protect devices without an agent on each one, provided their queries reach that resolver. Devices that use another resolver or connect directly to an IP address may fall outside that protection.

DNS filtering is attractive because it can apply policy at a shared resolver. That coverage depends on which devices and applications actually use the resolver and on the quality of the detection rules.

Where the shield cracks

Yet DNS security is not impervious. DNS over HTTPS and DNS over TLS encrypt queries, which can limit the visibility available to a network-based filter if a client uses a different resolver. The effect depends on browser settings and enterprise policy. Mozilla’s documentation says Firefox’s default protection can disable DNS over HTTPS when enterprise policies or network signals require it. Organisations should test which resolvers their managed devices actually use rather than assume that encryption always bypasses their controls.

Encrypted DNS does not automatically bypass security controls. Test the organisation’s browser policies and resolver configuration to identify where visibility or enforcement is missing.

Attackers can also use newly registered or generated domains to evade known-domain blocklists. DNS filtering benefits from being combined with endpoint, identity and network signals.

The integration imperative

DNS filtering works best as one layer in a defence-in-depth strategy. Teams can correlate resolver logs with endpoint, network and identity signals to investigate suspicious activity. Remote devices may need additional configuration or endpoint controls to use an organisation’s chosen resolver. Organisations that treat DNS as a checkbox — install Umbrella, declare victory — will discover that the shield has gaps they never tested. Those that integrate DNS telemetry into their broader security operations, correlating query patterns with authentication anomalies and endpoint behaviour, can gain a fuller view of suspicious activity.

DNS filtering is not a substitute for a complete security posture. Its strongest role is as one control and source of telemetry alongside endpoint protection, identity controls, monitoring and user education.

References

  1. Mozilla, DNS over HTTPS protection levels.
  2. CISA, Secure Cloud Business Applications technical reference architecture.

More from Security →

Ouray Viney

Quality Engineering leader with 20+ years experience in software testing and automation

Discussion