Skip to content

Instantly share code, notes, and snippets.

@MrXermon
Created March 11, 2019 07:17
Show Gist options
  • Save MrXermon/2c3a00531cb7e3b87a5a6ccdfddb6df6 to your computer and use it in GitHub Desktop.
Save MrXermon/2c3a00531cb7e3b87a5a6ccdfddb6df6 to your computer and use it in GitHub Desktop.
Notify multiple zones for update in PowerDNS
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