GoByeBye / cloudflare-ddns

Cloudflare Dynamic Domain Name Server. Also known as cloudflare-ddns. Created for us lazy people who have domains but our servers change IP addresses every so often

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloudflare-DDNS Updater

Usage

  1. Setup records.txt to contain the records you want to update alongside the zoneID
example.com 1234567890
subdomain.example.com 1234567890
another.com 0987654321
  1. Configure .env file with all the required variables (see .env.example)
  2. Run the script using
./cloudflare.sh
  1. Optional (Configure a cron job to run this automatically for you)

Roadmap

  • Add support for multiple domains
  • Add support for multiple records per domain
  • Add docker container for easy deployment on Windows machines running WSL2
  • Add support for multiple cloudflare accounts
  • Add support for multiple cloudflare tokens
  • Add support for IPv6 records

Thanks/Credits

  • Jason K. (@K0p1-Git) for the original script this is based on which can be found here (If you only need to upkeep a single record this script is great!)
  • Co-pilot for helping me write this readme without actually having to think too hard
  • Myself (@GoByeBye) for being a lazy fuck, not wanting to update all my domains manually
  • Telenor for refusing to give me a static IP thus forcing me to update my domains bi-weekly/monthly

About

Cloudflare Dynamic Domain Name Server. Also known as cloudflare-ddns. Created for us lazy people who have domains but our servers change IP addresses every so often

License:European Union Public License 1.2


Languages

Language:Shell 100.0%