Automating Dynamic DNS (DDNS) with a Bash Script and Cloudflare

DDNS Cloudflare BASH script is a simple bash script that allows you to easily update your Cloudflare's DNS records dynamically

How to use this Script

  1. Clone or download all files from GitHub Page

  2. Login to your Clodflare account

  3. Copy your generated Zone ID like bellow and place it on the specified section in script

Zone_id

  1. Click on Get your API token

Global_api_key

  1. Click on View like bellow

Global_api_key1

  1. Copy Your API Key and place it on the specified section in script

Global_api_key2

  1. Click on Create Token

Bearer_key

  1. Click on Use template like bellow

Bearer_key1

  1. Select the bellow options from drop down menu

Bearer_key2

  1. Copy generated code and place it on the specified section in script

  2. Write your domain in the specified section in script

  3. Finally run the CloudflareDDNS.sh

Updated on