This repository contains a Bash script designed to automatically update the IP address associated with a specified DNS record on Cloudflare using Cloudflare's API. The script ensures that your DNS record always points to the correct IP address, even if your IP changes dynamically.
Prerequisites Before using this script, ensure you have the following:
A Cloudflare account API key and API email for authentication A domain configured on Cloudflare A DNS record (e.g., A record) that you want to update automatically
- Clone this repository to your local machine.
- Navigate to the cloned directory.
- Open the config.sh file and provide your Cloudflare API key, API email, domain name, and DNS record name that you want to update.