Good FOSS software and reliable service providers? Etc.

  • irotsoma@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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.

    • Justin@lemmy.jlh.name
      link
      fedilink
      English
      arrow-up
      0
      ·
      13 days ago

      Interesting, this seems to have better documentation and feedback than the external-dns operator

    • sith@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      13 days ago

      Probably good, but I want to stay away from anything related to Kubernetes. My experience is that it’s an overkill black hole of constant debugging. Unfortunately. Thanks though!

      • Shimitar@feddit.it
        link
        fedilink
        English
        arrow-up
        0
        ·
        12 days ago

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

        • kchr@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          12 days 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.

        • Andres Salomon@social.ridetrans.it
          link
          fedilink
          arrow-up
          0
          ·
          11 days 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
          arrow-up
          0
          ·
          11 days 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
            arrow-up
            0
            ·
            edit-2
            11 days 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.

              • chronicledmonocle@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                11 days ago

                Network Prefix Translation isn’t the same thing. That’s used for things like MultiWAN so that your IPv6 subnet from another WAN during a failover event can still communicate by chopping off the first half and replacing the subnet with the one from the secondary WAN. It is not NAT like in IPv4 and doesn’t have all of the pitfalls and gotchas. You still have direct communications without the need for things like port forwarding or 1:1 NAT translations.

                I’m a Network Engineer of over a decade and a half. I live and breath this shit. Lol.

                • sugar_in_your_tea@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  10 days ago

                  Yes, it’s not the same, but it can be used to bridge private addresses onto a public network, which is basically what NAT is trying to achieve. If you’re running an ISP and don’t want customers to be directly accessible from the internet, it seems reasonable. In an ISP setup, you would issue private net addresses and just not do the translation if the customer doesn’t pay.

                  Yes, you can achieve the same thing another way, but I could see them deciding to issue private net addresses so customers don’t expect public routing without paying, whereas issuing regular public IPv6 addresses makes it clear that the block is entirely artificial.

    • oatscoop@midwest.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      11 days 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.

        • oatscoop@midwest.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          11 days ago

          Normally when you’re on a VPN all the network traffic to and from your device is going through the connection to the VPN server, e.g. browsing the internet, online games, etc. It can cause issues with other online services and uses bandwidth (cheap as it is) many VPS provider charges for.

          A split tunnel tells the VPN client to only send certain traffic through the tunnel. My wireguard setup assigns IP addresses for the VPN interfaces in the subnet 192.168.2.x, so only traffic addressed to IPs on that subnet get sent through the tunnel. In wireguard it’s a single line in the config file:

          AllowedIPs = 192.168.2.0/24
          
          • Shimitar@feddit.it
            link
            fedilink
            English
            arrow-up
            0
            ·
            11 days ago

            I am doing split tunnel since years without knowing :)

            Thanks, I learned something new.

    • douglasg14b@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      12 days 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.

  • PieMePlenty@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    12 days 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
      0
      ·
      12 days 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”

  • Pika@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    my router uses openwrt which supports dynamic DNS updating on its own for multiple providers, I currently am through namecheap on it.

  • Ryan@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    12 days 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.

  • anamethatisnt@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    13 days ago

    I would go for registering my own domain and then rent a small vps and run debian 12 server with bind9 for dns + dyndns.
    If you don’t want to put the whole domain on your own name servers then you can always delegate a subdomain to the debian 12 server and run your main domain on your domain registrators name servers.

    edit:

    https://github.com/qdm12/ddns-updater

    If your registrar is supported the ddns-updater sounds a lot easier.