Re: [Pdns-users] Can the zone data be edited from passing mysql queries?
Hi there, Yes i know it completely has a sql backend hence asking if I can edit the database to change the A record. Well i am trying to implement DNS system monitoring by which my servers will be monitored on particular port and if it couldnt connect then edit the zone file or remove the record do that traffic can be routed away. On 23 Jul 2013 11:00, Manish Rane manish...@gmail.com wrote: Hi Folks, Wondering if I can edit/change the static zone file as a result of certain bash script. Since the backend is Mysql can we really pass mysql statement by which I can update the zone file? Well, I am trying to write a script which will monitor the server on certain ports and it if fails to connect to the server it will delete or add the entry from zone file so that traffic will be routed to another server, possible? I am thinking same possibility with BIND but let me know if this can be possible with pdns OR does any one aware of such solution available in open source? ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Can the zone data be edited from passing mysql queries?
Hi, Op 23-7-2013 11:05, Blason rock schreef: Hi there, Yes i know it completely has a sql backend hence asking if I can edit the database to change the A record. Well i am trying to implement DNS system monitoring by which my servers will be monitored on particular port and if it couldnt connect then edit the zone file or remove the record do that traffic can be routed away. It would probably work providing the changes to the zone are accompanied by a change in the SOA-record for the update. But keep in mind that the TTL for the records can possibly create a long(er than you might want) failover-time. Regards, Ton ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] Can the zone data be edited from passing mysql queries?
PowerDNS is database driven. Read the docs, or even just the features. On Monday, July 22, 2013, Manish Rane wrote: Hi Folks, Wondering if I can edit/change the static zone file as a result of certain bash script. Since the backend is Mysql can we really pass mysql statement by which I can update the zone file? Well, I am trying to write a script which will monitor the server on certain ports and it if fails to connect to the server it will delete or add the entry from zone file so that traffic will be routed to another server, possible? I am thinking same possibility with BIND but let me know if this can be possible with pdns OR does any one aware of such solution available in open source? -- Genius might be described as a supreme capacity for getting its possessors into trouble of all kinds. -- Samuel Butler ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
[Pdns-users] Can the zone data be edited from passing mysql queries?
Hi Folks, Wondering if I can edit/change the static zone file as a result of certain bash script. Since the backend is Mysql can we really pass mysql statement by which I can update the zone file? Well, I am trying to write a script which will monitor the server on certain ports and it if fails to connect to the server it will delete or add the entry from zone file so that traffic will be routed to another server, possible? I am thinking same possibility with BIND but let me know if this can be possible with pdns OR does any one aware of such solution available in open source? ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users