Re: [Pdns-users] Manual AXFR command?

2013-08-20 Thread Mohamed Brahimi
On Mon, Aug 19, 2013 at 5:27 PM, Klaus Darilion klaus.mailingli...@pernau.at wrote: That even ignores the serial and always transfers the zone. Put in into a loop as suggested by Tom and replace MASTER with SLAVE. Hi Klaus, Thanks, I've used the script suggested by Tom and it's working

Re: [Pdns-users] Manual AXFR command?

2013-08-20 Thread Tom van Leeuwen
I've put the script here guys: https://github.com/TvL2386/pdns-tools On 08/20/2013 11:54 AM, Mohamed Brahimi wrote: On Mon, Aug 19, 2013 at 5:27 PM, Klaus Darilion klaus.mailingli...@pernau.at mailto:klaus.mailingli...@pernau.at wrote: That even ignores the serial and always transfers

Re: [Pdns-users] Manual AXFR command?

2013-08-19 Thread Klaus Darilion
On 14.08.2013 12:58, ymicromed wrote: Hi, Is it possible to notify the slaves for all existing domains? or to retrieve all domain from the master? # pdns_control retrieve domain.name That even ignores the serial and always transfers the zone. Put in into a loop as suggested by Tom and

Re: [Pdns-users] Manual AXFR command?

2013-08-15 Thread ymicromed
Hi Thanks a lot. Have a nice day. -- View this message in context: http://powerdns.13854.n7.nabble.com/Manual-AXFR-command-tp10121p10232.html Sent from the PowerDNS mailing list archive at Nabble.com. ___ Pdns-users mailing list

Re: [Pdns-users] Manual AXFR command?

2013-08-14 Thread ymicromed
Hi, Is it possible to notify the slaves for all existing domains? or to retrieve all domain from the master? Thank you in advance. -- View this message in context: http://powerdns.13854.n7.nabble.com/Manual-AXFR-command-tp10121p10223.html Sent from the PowerDNS mailing list archive at

Re: [Pdns-users] Manual AXFR command?

2013-08-14 Thread Tom van Leeuwen
On your MASTER: #!/bin/bash PASS='secret' USER='pdns' DB='pdns' DOMAINS=$(echo SELECT name FROM domains p WHERE type = 'MASTER' | mysql -N -u$USER -p$PASS $DB) for DOMAIN in $DOMAINS; do echo Sending notifies for: $DOMAIN pdns_control notify $DOMAIN done

Re: [Pdns-users] Manual AXFR command?

2013-08-14 Thread Tom van Leeuwen
Query should be: SELECT name FROM domains WHERE type = 'MASTER' On 08/14/2013 01:09 PM, Tom van Leeuwen wrote: On your MASTER: #!/bin/bash PASS='secret' USER='pdns' DB='pdns' DOMAINS=$(echo SELECT name FROM domains p WHERE type = 'MASTER' | mysql -N -u$USER -p$PASS

[Pdns-users] Manual AXFR command?

2013-06-29 Thread Yves Goergen
Hi, my PowerDNS server had a problem last time it should start an AXFR to the secondary server. According to the logs, the MySQL server had gone away. Since PowerDNS wasn't smart enough to repeat this critical action later, I had to restart it. But still, it's not smart enough to update the

Re: [Pdns-users] Manual AXFR command?

2013-06-29 Thread Aki Tuomi
On Sat, Jun 29, 2013 at 09:48:03PM +0200, Yves Goergen wrote: Hi, my PowerDNS server had a problem last time it should start an AXFR to the secondary server. According to the logs, the MySQL server had gone away. Since PowerDNS wasn't smart enough to repeat this critical action later, I had