I got a homelab, at the moment I am only running some local stuff and tailscale to reach my stuff remotely.

I can use tailscales ddns, but I would like a real domain. Is there a domain registrator that works with dynamic ips? Or do I need to use a CNAME instead of A record?

  • redcalcium@c.calciumlabs.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Figure out how to determine your server IP from within the same scripting language.

    My go to way to figure out my public IP address is curl ip.me. Very handy and easy to remember.

    • SteveTech
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      My router actually has a UPnP API that I can request and get my external IP, which I like so I can poll it every few seconds and not worry about rate limiting or something.

      • redcalcium@c.calciumlabs.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Meanwhile, my ISP would often rotate their customer behind their CGNAT, so the IP address from the routers upnp would often return 10.x.x.x . One of the main reason I gave up using dynamic DNS and use Tailscale instead.

        • SteveTech
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Port forwarding wouldn’t work anyway with CGNAT, so I don’t think that’s much of an issue.