Use this when blocking malicious or unwanted domains at the resolver.
DNS Filtering
DNS filtering blocks lookups of known malicious, phishing or unwanted domains at the resolver, using threat feeds or categories, so connections fail before they start. It also gives useful logs of what clients tried to reach.
1. DNS filtering blocks malicious/unwanted domains at the resolver.
2. Protective DNS services or RPZ.
3. Low cost, wide coverage.
4. Bypass via DoH — control it.
5. Review blocks for false positives.
query → filter policy → block/sinkhole or resolve
Context & applicabilityCommon mistakes · platform/version boundaries
- Clients using DoH in browsers, bypassing the filter — disable via policy or block known DoH endpoints.
- Hard-coded DNS servers (8.8.8.8) allowed out through the firewall.
- Filtering only by category, missing newly registered domains.
- No logging, so blocked lookups are not investigated.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Blocking at DNS stops connections before they start.
- Feeds must be current.
- Clients that bypass the resolver bypass the filter.
dig @<resolver> <blocked-test-domain>— blocked response- Filtering policy categories — malware, phishing, newly registered
- Block logs — hits
ReferenceWhy it matters1 section · depth on demand
Options
| Option | Example |
|---|---|
| Cloud protective DNS | Cisco Umbrella, Cloudflare Gateway, Quad9 |
| On-prem resolver with RPZ | BIND, Infoblox, PowerDNS |
| Windows DNS policies | Query resolution policies |
Filtering by category and threat intelligence stops many phishing and malware callbacks cheaply. It can be bypassed by DoH or hardcoded IPs, so combine with egress firewall rules.
ReferenceImportant terms & boundaries2 sections · depth on demand
Protective DNS options
| Option | Examples |
|---|---|
| Public services | Quad9, Cloudflare 1.1.1.2, Cisco Umbrella, DNS0.eu |
| Firewall DNS security | Palo Alto, Fortinet, Check Point |
| Self-hosted | BIND/Unbound with RPZ, Pi-hole |
| National services | Some CERTs offer protective DNS to public sector |
In depth
DNS filtering blocks resolution of domains in malicious or unwanted categories — malware, phishing, newly registered domains, command-and-control — at the resolver. It stops many attacks early, before any connection is made, and works for every device using the resolver, including unmanaged ones.
| Option | Examples |
|---|---|
| Cloud protective DNS | Cisco Umbrella, Cloudflare Gateway, Quad9, national services |
| On-premises | RPZ feeds on BIND/Unbound/Infoblox, Pi-hole for small setups |
| Endpoint agents | Enforce filtering off-network |
Enforce use of the filtering resolver (block other DNS and DoH bypass), log blocked queries to identify infected hosts, and provide a quick process to unblock false positives.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in DNS Security → DNS Filtering. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc4033 · confidence 94%