Update A Cloudflare Zone Record Via Mikrotik Scripting
Update A Cloudflare Zone Record Via Mikrotik Scripting
Update A Cloudflare Zone Record Via Mikrotik Scripting
scripting
Simone Ruffilli · Follow
1 min read · Jul 14, 2023
Listen Share
Scenario:
You have a dynamic, public WAN IP address, and a Mikrotik router somewhere in
your network.
You have a domain whose DNS is managed by Cloudflare, and you want to update a
specific record when your WAN IP changes.
Solution:
Customize the local values in the script below, and use it as a scheduled script, running
every X minutes (X==5 for me).