Good FOSS software and reliable service providers? Etc.

  • @irotsoma@lemmy.world
    link
    fedilink
    English
    522 hours 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.

  • Ryan
    link
    fedilink
    English
    5
    edit-2
    23 hours 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.

    • @DynamoSunshirtSandals@possumpat.io
      link
      fedilink
      English
      92 days 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?

        • Jess
          link
          fedilink
          English
          111 hours ago

          I just dump the changes with timestamps to a text file. Notifications for IP changes get sent to matrix after the DNS record is updated.

        • @DynamoSunshirtSandals@possumpat.io
          link
          fedilink
          English
          61 day 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 :-)

          • @intensely_human@lemm.ee
            link
            fedilink
            English
            13 hours ago

            Even if it is docker it’s still a bash script or something in the container right? Or are people referring to the docker CLI directly changing DNS records somehow?

            My best guess is the reason to involve docker would be if you already have a cluster of containers as part of the project. Then you can have a container that does nothing but manage the DNS.

    • Matt The Horwood
      link
      fedilink
      English
      72 days ago

      I would recommend OVH for DNS, they have an API and are on the list for that tool. Also you can use the API to get lets encrypt certificates

  • Bakkoda
    link
    fedilink
    English
    51 day ago

    Afraid has a curl update. Cron job. It’s that simple.

  • @PieMePlenty@lemmy.world
    link
    fedilink
    English
    51 day 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.

    • @oatscoop@midwest.social
      link
      fedilink
      English
      1
      edit-2
      4 hours ago

      I’m in the same situation.

      Fortunately there’s a million companies that offer VPS with a static IP address for only few bucks a month. I set one up to run a wireguard VPN server which all my devices and home servers connect to as clients. I also configured everything to use a split tunnel to save bandwidth.

      It’s an added layer of security too.

        • Andres Salomon
          link
          fedilink
          26 hours ago

          @chronicledmonocle @sugar_in_your_tea This is why I love yggdrasil. Thanks to having a VPS running it that all of my hosts globally can connect to, I can just use IPv6 for everything and reverse proxy using those IPv6 addresses where I need to. Once hosts are connected and on my private yggdrasil network, I stop caring about CGNAT or IPv4 at all other than to maybe create public IPv4 access to a service.

        • @sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          16 hours ago

          IPv6 doesn’t help anything if you’re behind CGNAT, you can have internal-only IPv6. There are good reasons to not have every household directly accessible to the outside world, so I’m sympathetic to that, but they also seem to love charging extra for it.

          • @chronicledmonocle@lemmy.world
            link
            fedilink
            English
            1
            edit-2
            3 hours ago

            CGNAT only applies to IPv4. You cannot NAT IPv6 effectively. It’s not designed to be NATed. While there IS provisions for private IPv6 addressing, nobody actually does it because it’s pointless.

      • Shimitar
        link
        fedilink
        English
        21 day ago

        Yeah, there are workarounds… And who knows, maybe its just safer than public ip… But definitely require some external fixture.

        • @kchr
          link
          English
          218 hours ago

          I guess you already know about the options, but for others:

          Find the cheapest VPS out there and have a Wireguard tunnel between it and your home network. Run ddclient or similar on the VPS in case the public IP changes.

          • @sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            15 hours ago

            Yup, that’s what I did. I even have my TLS servers running on my LAN as well, so once my ISP no longer puts me behind CGNAT, I just need to change my DNS settings and set up some port forwards on my router.

          • Shimitar
            link
            fedilink
            English
            117 hours ago

            Wireguard or ssh tunnel with port forwards, both works.

    • conrad82
      link
      fedilink
      English
      52 days ago

      Me too. I use uptime kuma to send the api request. then I also get uptime status 🙂

  • downhomechunk
    link
    fedilink
    English
    41 day ago

    Ddclient has done the trick for me, and my registrar supports it with an API

    • mbfalzar
      link
      fedilink
      English
      41 day 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
      6
      edit-2
      1 day 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.

      • @kalpol@lemmy.world
        link
        fedilink
        English
        119 hours ago

        Yeah this has been the biggest problem with hosting. For SMTP to work outbound you gotta have a good static IP. Everything else can be DDNSed. So either you get a business class connection or proxy through a VPS front end.

    • @kchr
      link
      English
      118 hours ago

      Hadn’t heard about deSec until now, seems to be run by some cool privacy minded folks in Germany:

      https://desec.io/