Created
March 11, 2019 07:17
-
-
Save netaviator/2c3a00531cb7e3b87a5a6ccdfddb6df6 to your computer and use it in GitHub Desktop.
Notify multiple zones for update in PowerDNS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zones=(level66.network jangilla.de) | |
for i in "${zones[@]}" | |
do | |
echo $i | |
/usr/bin/pdns_control notify $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment