home | tech | misc | code | bookmarks (broken) | contact | README

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:


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

Useful reference here: https://www.garron.me/en/go2linux/how-setup-dns-server-master-slave-bind.html