[Pdns-users] Manual AXFR command?
Tom van Leeuwen
tom.van.leeuwen at saasplaza.com
Wed Aug 14 11:09:23 UTC 2013
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/25194be2/attachment-0001.html>
More information about the Pdns-users
mailing list