Upstream has improved tooling (see [1]) plus claims that scripts for automating this are readily available on the pdns-users mailing list (and possibly in upstream git).
[1] https://github.com/PowerDNS/pdns/commit/d978e1a5698165c38f819a64dbc41c0f7cc5dc33 -- ,''`. Christian Hofstaedtler <z...@debian.org> : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `-
pgpYh3u35GhnK.pgp
Description: PGP signature