The purpose of this code it to show some usage of the API. Give some AI to the management :-)
This script will auto-update the firewall policy if the host IP using a dynamic DNS has Changed.
This script runs on the Management itself. To automate it every hour you need to create a cronjob.
Get the dyndns.sh script. Give the excution right. Update the script DYNDNSNAME variable and put your dynamic host domain. Update the API credential you currently using. Run the cronjob.
Code version 0.0.3
Tested on version
R80, API version 1.0
NOTICE: By using this sample code you agree to terms and conditions in this Terms and Conditions