by kurokawad on 3/5/24, 11:37 AM with 0 comments
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.