PowerDNS Authoritative Server docker setup:

Run MariaDB backend:

docker run -d \
--name pqdn-mariadb-backend \
-e MYSQL_ROOT_PASSWORD=supersecret \

Run PowerDNS Authoritative Server with enabled webserver and api:

docker run -d -p 8081:8081 --name pdns-master \
--hostname --link pqdn-mariadb-backend:mysql \
-e PDNS_master=yes \
-e PDNS_api=yes \
-e PDNS_api_key=secret \
-e PDNS_webserver=yes \
-e PDNS_webserver-port=8081 \
-e PDNS_webserver_address= \
-e PDNS_webserver-allow-from= \
-e PDNS_gmysql_password=supersecret \

Gather metrics (seems doesn't support unauthenticated requests to the API):

curl -H 'X-Api-Key: secret'

Useful links:

Last updated on

Monitor everything in real time โ€“ for free

Troubleshoot slowdowns and anomalies in your infrastructure with thousands of per-second metrics, meaningful visualizations, and insightful health alarms with zero configuration.

Get Netdata