Skip to content

Instantly share code, notes, and snippets.

View aka13-404's full-sized avatar

Alexander Krasnov aka13-404

View GitHub Profile
@aka13-404
aka13-404 / gist:7905fcf7a6642d7f21bbab789ad473b4
Created June 8, 2024 23:08
MIkrotik Cloudflare DDNS setup for DHCP-Client
#zone id (domain) for which the records will be updated
:local cfZoneId ""
#api token with zone.dns permissions for the cfzoneid
:local cfApiToken ""
#record id which to update
#could be made into an array and iterator, but for me with one * and one @entry its not worth it
:local cfRecordId1 ""
:local cfRecordId2 ""