How filter with RPZ only A and AAAA type records ?

Fred Morris m3047 at m3047.net
Wed Aug 10 17:12:01 UTC 2022


On Tue, 9 Aug 2022, sub zero wrote:
> Short question, is it possible to filter with BIND RPZ only A and AAAA type
> records? If yes, how?

A similar question was asked recently on the DNS Firewalls list at Redbarn
(http://lists.redbarn.org/pipermail/dnsfirewalls/)

Short answer is no, or at least not that I know of. But maybe sort of. You 
can certainly return some RPZ generated answer (A record), but things like 
e.g. NXDOMAIN and passthru are done with CNAME and apply to the FQDN.

I note that returning NXDOMAIN for an rtype and an answer for a different 
rtype for the FQDN is not conformant with how the DNS is supposed to 
behave (the conformant answer is success+ANSWER:0 not NXDOMAIN).

Short questions don't always result in short answers. ;-) You might try 
the DNS Firewalls list, you might also see if you can come up with a 
scenario and functional tests; that might help people give a better 
answer.

--

Fred Morris, internet plumber



More information about the bind-users mailing list