Created at:

PowerDNS notes

Installing PowerDNS on NetBSD with BIND backend

After you install the powerdns package, edit the configuration file located at /usr/pkg/etc/pdns.conf. Add (or uncomment) the following settings::

    launch=bind
    bind-config=/etc/named.conf

Now use the normal configuration as you would do if you used BIND.

Then, copy the rc script to /etc/rc.d:

    # cp /usr/pkg/share/examples/rc.d/pdns /etc/rc.d
    # echo 'pdns=YES' >> /etc/rc.conf
    # /etc/rc.d/pdns start

How to setup a DNS server master - slave with BIND