Settings

Theme

Show HN: Update dynamic IP in Cloudflare with bash

github.com

6 points by kurokawad 2 years ago · 0 comments · 1 min read

Reader

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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection