DNS filtering checks domain-name requests against security and policy rules before returning an IP address. If a domain is allowed, the resolver answers normally. If it is blocked, the resolver may return no address, a controlled block page, or a safe sinkhole address.
How DNS filtering works
- A device asks its configured DNS resolver for the address of a domain.
- The resolver compares the domain with threat intelligence, category lists, and local allow or deny rules.
- The resolver returns the real answer for an allowed domain or applies the selected block action.
- Administrators can record the event to investigate repeated malware, phishing, or policy violations.
Filtering can run on a home router, a company network, a roaming-device agent, or a managed cloud resolver. It can stop a connection before the browser or application reaches a known malicious domain.
What it helps prevent
- Connections to known phishing, malware, command-and-control, and scam domains.
- Access to categories restricted by a family or workplace policy.
- Some data-exfiltration attempts that depend on a newly created or known malicious domain.
- Accidental visits to domains added to a custom blocklist.
Important limits
DNS filtering sees domain requests, not the full contents of an encrypted page. It may not block a malicious path hosted on an otherwise legitimate domain. Direct IP connections, hard-coded resolver settings, VPNs, and unauthorized encrypted DNS can also bypass a network-only policy. A newly compromised domain may be allowed until its classification changes, while a legitimate domain can occasionally be blocked by mistake.
DNS filtering therefore complements endpoint protection, browser security, email filtering, and patching; it does not replace them.
Safe deployment checklist
- Choose a resolver with current threat data, clear privacy terms, logs, and an exception process.
- Start with monitoring, review likely false positives, and then enable blocking.
- Configure devices and networks to use the approved resolver, including supported DoH or DoT settings.
- Protect the filtering console with MFA and limit who can change rules.
- Review allowlists regularly and keep entries as narrow as possible.
If a trusted domain is unexpectedly redirected, first confirm which resolver answered the request. Unexplained DNS changes can also indicate DNS hijacking, which requires a different response.