How to generate daily PowerDNS statistics reports

PowerDNS has been powering authoritative DNS lookups to this web site for quite a while now. It’s such a remarkable┬ápiece of software. Here’s how to create a daily statistics report for PowerDNS. Put the lines below in /etc/cron.daily/powerdns-report: #!/bin/sh /usr/bin/curl -s localhost:8081 | mail -s “$(echo “PowerDNS Daily Report\nMIME-Version: 1.0\nContent-Type: text/html”)” root Make sure the …