Know the eight most common DNS record types
There are dozens of DNS record types. Understanding the most common ones can help you detect threats and keep on top of what's happening…
Read moreResponse Policy Zone (RPZ) is a DNS security mechanism that enables recursive resolvers to apply policy rules to DNS responses by storing enforcement rules as records in standard DNS zones, allowing administrators to block, redirect, or permit queries for specific domains and distribute those rules via zone transfer. RPZ provides organizations with centralized, policy-based DNS filtering that reaches thousands of devices without requiring endpoint software, delivering security value through early interruption of connections to known malware, phishing, or command-and-control domains while generating logs to identify infected hosts. However, RPZ operates only at the DNS layer, requires careful management to avoid blocking legitimate services, and does not protect against direct IP connections or clients using external resolvers, making it most effective as one layer within a broader network security strategy.
An RPZ is a normal DNS zone whose records describe policy instead of regular data. A resolver that is configured to use the zone checks its rules while it builds each response.
Matching happens only on resolvers that support and enable RPZ, and rules can be ordered across several policy zones to set precedence. Many resolvers can also log matches, which gives security teams a record of which clients queried blocked names.
A feed entry that is too broad, such as a shared hosting or content delivery domain, can block unrelated sites and trigger help desk tickets. Add a passthru rule for the affected name in a local policy zone placed ahead of the feed.
When several policy zones are configured, the resolver evaluates them in the order listed, so a feed placed before the local allow list can override it. Engineers see a name still blocked despite an allow entry until the zone order is corrected.
If zone transfers from a feed provider fail because of a TSIG key mismatch, a firewall rule, or a lapsed access list, the resolver keeps serving the old zone and new threats go unblocked. Monitor the zone serial number against the primary to catch it.
Very large policy zones increase memory use and load time, and a full reload after a transfer can briefly slow query handling. Symptoms are higher latency or memory growth after feed updates.
Clients that use a public resolver, DNS over HTTPS in a browser, or a hardcoded server never consult the policy zone. Blocks appear to work on some devices and not others until outbound DNS is restricted to approved resolvers.