Linux Babe published a tutorial about setting up Response Policy Zone (RPZ) in BIND Resolver on Debian or Ubuntu.
Set Up Response Policy Zone (RPZ) in BIND Resolver on Debian/Ubuntu
This tutorial shows you how to override public DNS records in your BIND DNS resolver with response policy zone (RPZ) on Debian/Ubuntu.What is Response Policy Zone?
Set Up Response Policy Zone (RPZ) in BIND Resolver on Debian/Ubuntu