Good FOSS software and reliable service providers? Etc.

  • Ryan@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    40 minutes ago

    used a bash script and a cron job for a long time, now the whole topic is one of the projects i regularly rewrite whenever I want to get my hands dirty with a new programming language or framework.

  • irotsoma@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 minutes ago

    Cloudflare DDNS updated by ddclient on my OpnSense router. Cloudflare happens to be my current domain registrar. Honestly, my IPv4 doesn’t change that often. And when I used to be on Comcast, they assigned a block of IPv6 addresses and the router dealt with that. Unfortunately, I now have Quantum Fiber who only assign a single IPv6 address, so I gave up on IPv6 for now.

  • PieMePlenty@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    12 hours ago

    My ip updates maybe once every three months or so, but what i did was just write a script that checks the current ip and updates the domain registrar. My domain is on cloud flare, and they have an API through which I can do it. It’s literally one POST request. There are solutions out there but I wanted a really simple solution I fully understand so I just did this. Script runs in cron every few hours and that’s it.

    • mbfalzar@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 hours ago

      I set it once like 6 years ago and forgot it wasn’t something pre-installed and configured until I saw your comment. I was reading through the comments looking for the “you don’t need to do anything, ddclient takes care of it”

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      13 hours ago

      Way too much for sure.

      Just the business internet to get the foot in the door for a static IP 5x’s the cost of my Internet.

      It’s actually cheaper to just have DC IPs and proxy through hosted containers. Which is kind of crazy.

      Negative aspect is that DC IPs aren’t treated very nice.

    • DynamoSunshirtSandals@possumpat.io
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      14 hours ago

      exactly. I literally have a bash script that calls the API triggered by cron every 30 minutes. That’s it. Are people seriously using a freaking docker container for this?

        • DynamoSunshirtSandals@possumpat.io
          link
          fedilink
          English
          arrow-up
          4
          ·
          5 hours ago

          Ah, a history would be nice. I’ve been thinking of keeping some stats to monitor when the connection goes down, and how often my IP changes.

          Fortunately I’ve kept the same IP since i changed ISPs a few months ago.

          Personally I still think docker is overkill for something that can be done with a bash script. But I also use a Pi 4 as my home server, so I need to be a little more scrupulous of CPU and RAM and storage than most :-)