dev

PowerDNS Recursor docker setup:

Run PowerDNS Recursor with enabled webserver and api:

docker run -d -p 8081:8081 --name pdns-recursor \
-e PDNS_api_key=secret \
-e PDNS_webserver=yes \
-e PDNS_webserver-port=8081 \
-e PDNS_webserver_address=0.0.0.0 \
-e PDNS_webserver-allow-from=0.0.0.0/0 \
pschiffe/pdns-recursor

Gather metrics:

curl http://127.0.0.1:8081/metrics
curl http://127.0.0.1:8081/api/v1/servers/localhost/statistics

Useful links:

Last updated on