from Hacker News

Show HN: Dynamic IPv4/6 records for Cloudflare

by kurokawad on 10/21/24, 9:02 AM with 9 comments

Easily update Cloudflare records for your dynamic IP or homelab, now supporting IPv6 (A and AAAA), with the ubiquity of Bash
  • by p-o on 10/21/24, 12:56 PM

    That's really neat. I also had a similar need to dynamically manage DNS Record and decided to create a Kubernetes operator instead to manage it (https://github.com/pier-oliviert/phonebook).

    I do like your approach, it's really refreshing. I'd probably want to split the API keys from the rest of the config files.

    Great work!

  • by WhatsName on 10/21/24, 12:29 PM

    Please explain to me why one would go this route instead of using cloud-flare tunnel, which are way more secure, by not exposing you to the outside?
  • by akdev1l on 10/21/24, 12:56 PM

    Cloudflare provides a CLI that is officially supported: https://linuxcommandlibrary.com/man/flarectl

    Not sure why they only distribute it as part of their go library but you can execute it by itself.