Update dynamic IP in Cloudflare with bash
Hi hackers, I made a simple bash tool to update 'A' records in Cloudflare for users with dynamic IPs. I wanted to have a tool to keep a couple of DNS updated with my homelab dynamic IP so I wrote this very simple bash script. There are tools that already solve this dynamic IP issue, but I find the simplicity of a bash script way more convenient than any tool that needs installation, complex configuration, a Python runtime or whatnot. This will basically run in any system with bash. It is very simple and only updates A records, but it does its job and it solves my needs. It could be improved…
What it does
In the maker’s words, at launch
Hi hackers, I made a simple bash tool to update 'A' records in Cloudflare for users with dynamic IPs. I wanted to have a tool to keep a couple of DNS updated with my homelab dynamic IP so I wrote this very simple bash script. There are tools that already solve this dynamic IP issue, but I find the simplicity of a bash script way more convenient than any tool that needs installation, complex configuration, a Python runtime or whatnot. This will basically run in any system with bash. It is very simple and only updates A records, but it does its job and it solves my needs. It could be improved with more record types I guess, at least AAAA.
Does the same job
all alternatives →- CACfddns – A No Nonsense Script to Dynamically Update Cloudflare IP2023 · github.com · ▲5
I couldn't find a decent tool to dynamically update IP address in my Cloudflare account, so I created one for me. Thought share with others. It can be run directly, as a scheduled task, and as a docker container. Only API token and target domain is required.
- SDSimple Dynamic DNS Using the Cloudflare API2015 · github.com · ▲19

- DDDIY DDNS with Bash and Cloudflare APIs2019 · github.com · ▲6

- BMBash-My-AWS – CLI Commands for AWS2019 · bash-my-aws.org · ▲155
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, March 2024
the whole month →
- 3Y
Life & fun · 2024 · github.com
Microlaunch▲1,116Launch and get feedback on both the idea and product
Dev tools · 2024 · microlaunch.net


