vertical server racks and clean cabling

PowerDNS Script to add new zones using pdnsutil

April 20, 2017 2:23 pm Published by Leave your thoughts

I recently began using PowerDNS, and it has a really nice command line utility called “pdnsutil” which is sadly under-documented, so I am sharing my bash script which creates a new zone and a reverse dns zone, using pdnsutil.

This script is extremely basic, and I welcome any efforts to fork and improve it.

Be sure to specify your own nameservers where I have placed ns1.nameserver.com and ns2.nameserver.com

The DKIM record is based on a ‘standard’ DKIM configuration that I use, yours may vary.

Tags: , , ,

Categorised in: , , ,

This post was written by Simba Lion

There are no comments

Your email address will not be published. Required fields are marked *