I've been trying to find a good documentation on setting up Bind with PostgreSQL as its back end. So far the information is sparse so I've decided to put this recipe together. There is much more than this but the idea is to give you a start.
1) First, make sure you have
bind,
bind-sdb,
postgresql-server RPMs (and their dependencies) installed.
2) After having the RPMs in your system, you have to configure the iptables to allow DNS queries. Edit
/etc/sysconfig/iptables to allow queries to the DNS port. Include the following statement after the SSH entry:
-A INPUT -m state --state NEW -m udp -p udp --dport 53 -j ACCEPT
Make sure you reload your iptables for this change to get the new rules into effect.