Absolutely wondering if check scripts from nagios can be utilized for the same and of course with lower TTL values to have the changes propagated rapidly.
I personally have just started using power dns hence not sure about changing zones from sql backend but I believe this could be possible. I sincerely urge pdns masters if they would like to spare some time and write a quick php or bash script which could do this trick. On 17 Dec 2012 17:29, "Peter van Dijk" <[email protected]> wrote: > Hello, > > On Dec 17, 2012, at 12:39 , Marc Haber wrote: > > > On Mon, Dec 17, 2012 at 10:17:59AM +0530, Manish Rane wrote: > >> By the way PDNS Development Team can think of such feature and probably > >> include in upcoming release? That would make the product more versatile > and > >> complete. > > > > In my opinion, this does not belong into a DNS server. PowerDNS has > > versatile backends and flexible interfaces to avoid bloat in PowerDNS > > itself. > > > Well said. > > If this were to happen 'inside' of PowerDNS, it would happen in a backend > written > for this purpose. > > However, as the original poster and at least one reply have pointed out, > there > are several ways to make this happen without changing PowerDNS: > 1) a pipebackend or remotebackend script that decides what A to respond > based > on some external state (from Nagios perhaps). > 2) a script that updates your MySQL database based on said external state. > > We don't have scripts for either 1) or 2) ready, but some other people > might. > Such scripts are not hard to write. > > One pointer: make sure to disable or lower the default cache timeouts in > PowerDNS > if you want quick fail overs. > > Kind regards, > -- > Peter van Dijk > Netherlabs Computer Consulting BV - http://www.netherlabs.nl/ > > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users >
_______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
