R80 dynamic DNS rule auto update

Document created by Nicolas Boisse Employee on Jun 10, 2016Last modified by Nicolas Boisse Employee on Jul 11, 2017
Version 2Show Document
  • View in full screen mode

Overview

The purpose of this code it to show some usage of the API. Give some AI to the management :-)

 

Description

This script will auto-update the firewall policy if the host IP using a dynamic DNS has Changed.

 

Instructions

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

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

...

Attachments

Outcomes