Skip to content

This Bash script updates the IP address of specified A records in Cloudflare DNS...

Notifications You must be signed in to change notification settings

Suspectxyzz/Cloudflare-ddns-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Cloudflare DNS Updater

This Bash script updates the IP address of specified A records in Cloudflare DNS, ensuring they match the current public IP. It checks the public IP using api.ipify.org and only updates the DNS records if a change is detected.

Features:

  • Updates multiple subdomains
  • Checks current public IP
  • Uses Cloudflare API for DNS updates
  • Simple JSON parsing with jq

Usage:

Set your Cloudflare API credentials and domain details in the script. Ensure jq is installed. Run the script to keep your DNS records up-to-date.

About

This Bash script updates the IP address of specified A records in Cloudflare DNS...

Topics

Resources

Stars

Watchers

Forks

Languages