Hi all.

I’ve got an old server PC that I use as a home server. Since my IP address sometimes changes due to my internet provider, I’ve been using DuckDNS and this DuckDNS crontab to keep the IP address up to date. But I’ve been having issues with DuckDNS not working reliably lately, and I thought that since I have a couple of domain names that I’m not using, I might try using one of those instead.

Problem is, I don’t know where to start, either to get the domain pointing to my IP address, or to keep it updated when my provider changes my IP address.

Does anyone know of a guide that can walk me through this?

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    You should be able to do the crontab approach with any DNS provider that has an API – just need to change the URL and the API key, obviously.

    If your provider or registrar doesn’t offer an API consider using one that does. DeSEC.io is free to use and reliable.

    • Atemu@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      I’ve discovered DeSEC recently too and have been positively surprised by it. I use it for DNS but they also have dyndns on a shared domain similar to DuckDNS.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 months ago

        Oh right I had forgotten about that, you can use DeSEC even without a domain, for dynamic DNS.

  • bless@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    11 months ago

    Who’s your DNS provider? I use cloudflare and powershell script and hits their API. Works well

  • kidpixo@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    11 months ago

    I solved this using tailscale, no need to make your home server visible to the world, no Forwarding rules on your router. It works like a VPN on your phone/laptop and access directly your target machine in your network running taiscale. There is a completely selfhosted version called Headscale, but you’ll need an accessibile server on the internet. A cheap VPS would work for this. You can check also Zerotier, Nebula , Netmaker, pure Wireguard etc etc. Godspeed!

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    VPN Virtual Private Network
    VPS Virtual Private Server (opposed to shared hosting)

    [Thread #422 for this sub, first seen 10th Jan 2024, 15:45] [FAQ] [Full list] [Contact] [Source code]