This Script is for using the netcup API for DynDNS on Mikrotik Routers
- The script is only working with subdomains in the moment!
- The subdomain must exist in the netcup CCP (Customer Control Panel)
Checks the IP of the Internet connection against the IP in the DNS Record on the netcup API,
when the IP is different it starts the update process to the new IP.
- set up you subdomain record in the netcup CCP (Customer Control Panel)
- set the TTL to 300 (5min) in the nectup CCP
- copy the content of the file into a new script on Mikrotik RouterOS.
- change the variables to yours from your netcup account
- set the script permissions on RouterOS to "read" and "test"
- set a new schedule for the script and let it run every 15mins or so
special thanks to rextended from the mikrotik forums for the "ID extraction function" in this script