The is a script to be used to add Cloudflare as a DDNS to Synology NAS. The script used an updated API, Cloudflare API v4. Login to your DSM Go to Control Panel > Terminal & SNMP > Enable SSH service ...
Credits to QB-Core for the original script, I merely edited to be used for another job. Job will need to be edited via config and main.lua, open both and search for "changeme" then set your desired ...