I have been working with RPZ policy blacklists to do DNS firewalling. A great introduction to DNS firewalling can be found here
An overview of the syntax can be found at this
I had previously done blacklisting at home using pi-hole and wanted to migrate to an RPZ based solution. I wrote a python script which downloads the blacklist files and then creates an RPZ formated file I can use with ISC named.
Here is a link to that project