[Pdns-users] Manual AXFR command?
Tom van Leeuwen
tom.van.leeuwen at saasplaza.com
Wed Aug 14 11:12:04 UTC 2013
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 $DB)
>
> for DOMAIN in $DOMAINS; do
> echo "Sending notifies for: $DOMAIN"
> pdns_control notify $DOMAIN
> done
>
>
> Regards,
> Tom
>
> On 08/14/2013 12:58 PM, ymicromed wrote:
>> 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 Nabble.com.
>>
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com
>> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130814/bd007ad2/attachment-0001.html>
More information about the Pdns-users
mailing list