« Return to Thread: Small script to start using pdns 3.0 including dnssec options

Small script to start using pdns 3.0 including dnssec options

by Mark Scholten :: Rate this Message:

| View in Thread

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


_______________________________________________
Pdns-users mailing list
Pdns-users@...
http://mailman.powerdns.com/mailman/listinfo/pdns-users

pdnssec-rectify.php (1K) Download Attachment

 « Return to Thread: Small script to start using pdns 3.0 including dnssec options