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-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

Re: [Pdns-users] Slave AXFR not working 100% at high rates

2013-07-19 Thread Tom van Leeuwen
Hi Mohamed, Thanks for your response! I have a simple (crappy!) ruby script to notify all slaves, even with a progressbar -_- # File: notify-all-slaves.rb require 'progressbar' PASS='secret' USER='powerdns' DB='powerdns_db' domains = `echo SELECT domains.name FROM domains; | mysql -N -u#{USER}

[Pdns-users] Slave AXFR not working 100% at high rates

2013-07-18 Thread Tom van Leeuwen
can fix the issues I'm having? Or that I'm just asking too much of my setup and should pipe it down a bit. I understand that 10*724 zone transfers at once may simply ask way too much from pdns... Kind regards, Tom van leeuwen ___ Pdns-users mailing