[Pdns-users] Hooks to run external scripts?

Aki Tuomi cmouse at youzen.ext.b2.fi
Sun Jun 7 13:41:59 UTC 2015


On Sat, Jun 06, 2015 at 03:27:36PM +0200, Jan-Piet Mens wrote:
> > Are there any hooks in PowerDNS to run scripts after certain API calls
> > have been processed?
> 
> Not to my knowledge.
> 
> If you're using MySQL or PostgreSQL as a back-end data store, using a
> few TRIGGERs would probably do the trick. I've done this in MySQL a few
> times, and that works rather nicely. Launching external processes from
> the database engine is very tricky and should be avoided, but with a bit
> of glue it can be done. You may be interested in reading [1].
> 
>         -JP
>

Also, if you are using a script to provision your stuff anyways, running
pdnssec secure-zone is not very difficult. Slaves will configure PRESIGNED
when they see DNSSEC information during AXFR.

Aki




More information about the Pdns-users mailing list