I’m finally moving my selfhosting experiments from a VPS to a physical machine in my house but, since I don’t have a static IP address, I opted to use the dynamic dns service offered by Cloudflare.

On their official website I’ve seen suggested ddclient but I haven’t find that much information on which labels should I add to set it up. Therefore, I’ve also found this docker image that seems pretty clean and easy to set up, but the video talking about it was of 3 years ago and I’ve seen that the github repository has been archived last year…

Which option (not necessarily among the two above) do you prefer to set up your Dynamic DNS with Cloudflare? (I don’t know if this can be an important information to add or not, but the Linux server I’m using is running NixOS)

  • bash.sh
    link
    fedilink
    English
    911 months ago

    I wrote a bash script this that updates cloudflare using their API if the public has changed, and just have it running with crontab.

    It’s been running for 6 years now without issue so I recommend this

    • @bless
      link
      English
      311 months ago

      Same but powershell. Works like a charm runs every 5 minutes