[Pdns-users] Small script to start using pdns 3.0 including dnssec options

Mark Scholten mark at streamservice.nl
Sun Feb 5 17:27:52 UTC 2012


Hello,

I've created a small script in PHP so it is easier to prepare for dnssec
with PowerDNS AUTH 3.0 (MySQL backend).

Tested with/Requirements:
PowerDNS 3.0
Backend: MySQL
Extra column ("changed", default value 0) in the "domains" table [1]
PHP without passthru disabled
PHP 5.X
PHP MySQLi available

Changing the configuration parameters (at the top). When changing away from
2.9.x this script can also be used to do a rectify-zone on all domain names
by setting changed to 1. A working SQL query for this is included with the
script (at the bottom).

[1] SQL query: ALTER TABLE `domains` ADD `changed` INT( 5 ) NOT NULL

Questions? Feel free to email me directly if there are questions regarding
this script.

This script is provided as-is, changing/redistributing/etc. are allowed.

Kind regards,

Mark Scholten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdnssec-rectify.php
Type: application/octet-stream
Size: 994 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20120205/ea8004ff/attachment.obj>


More information about the Pdns-users mailing list