Generating a Cloudflare API token

cloudflare-dns-update

https://github.com/socketry/cloudflare-dns-update

Use rbenv to install a ruby environment then follow steps like this:

git clone git@github.com:socketry/cloudflare-dns-update.git
cd cloudflare-dns-update
bundle
bin/cloudflare-dns-update
# walk through initial setup wizard

Once done you