#apt-get install pdns-server
#apt-get install pdns-backend-pgsql

install required postgresql database table.
using /usr/share/doc/pdns-backend/pgsql/pgsql.sql

edit /etc/powerdns/pdns.d/pdns.local ( /usr/share/doc/pdns-backend-pgsql/examples/pdns.local.pgsql)

gpgsql-host=localhost
gpgsql-port=5432
gpgsql-dbname=powerdns
gpgsql-user=
gpgsql-password=

edit /etc/powerdns/pdns.conf

launch=gpgsql


postgresql + mysql