Powerdns Install
Jump to navigation
Jump to search
https://www.howtoforge.com/how-to-install-powerdns-admin-on-ubuntu-20-04/
https://doc.powerdns.com/authoritative/guides/basic-database.html
sudo -i -u postgres psql -c "CREATE ROLE pdns WITH SUPERUSER CREATEDB CREATEROLE LOGIN ENCRYPTED PASSWORD 'pdns'" sudo -i -u postgres createdb -O pdns pdns sudo psql -U pdns -W -h 127.0.0.1 pdns < /usr/share/pdns-backend-pgsql/schema/schema.pgsql.sql sudo psql -U pdns -W -h 127.0.0.1 pdns < /root/luadns.sql cp -p /usr/share/doc/pdns-backend-pgsql/examples/pdns.local.gpgsql.conf /etc/powerdns/pdns.d/
/etc/powerdns/pdns.d/pdns.local.gpgsql.conf
<br /><pre><br />/etc/powerdns/pdns.conf