Simple shell script that provides the ability to update your cloudflare A records to your machine's IP.
This script is forked from this gist, and the gist is a fork from another projects. I needed a solution for updating multiple A records in cloudflare, instead of one, so i changed myself and made another small changes.
Make a copy from ddns.sh and follow the script comments, you'll need from cloudflare:
- Your account email
- An api token, you can generate here
- The zoneID, can be found in the "Overview" tab of your domain
For windows, you can use git bash or similar for using this shell script