This is a mini tutorial on getting bind9 on Ubuntu 12.04 working with Response Policy Zones (RPZ). See this for more info: http://www.zytrax.com/books/dns/ch9/rpz.html.
$ sudo apt-get install bind9
$ sudo /etc/init.d/bind9 status
* bind9 is running
$ dig www.google.com @127.0.0.1