I’m new to self-hosting. All I did so far was install Ubuntu Server, enable SSH and tried setting up DuckDNS, which I could not set up automatic update of my IP following the documentation, neither updating manually through the website, which even though seems to be changed, when I ssh the domain, I get the initial IP

Anyone using DuckDNS? Is it working properly for you guys? Did I just mess something up?

What other DDNS providers would you recommend me?

  • hardcoreufo@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 hours ago

    This is a great question that is relevant for me this week. Been trying to set up a wireguard vpn and found I need a DDNS. Lots of good answers to look into in the comments. Thanks everyone.

  • pleksi@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 hours ago

    I’ve been using desec.io since it’s european, non profit and privacy oriented. Bring your own domain though. Works well, although my caddy plugin has problems getting certs sometimes. My pangolin instance never has any issues getting certs so might be caddy desec plugin specific.

  • vurr@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    6 hours ago

    Any DNS provider is good if they offer an API that lets you use PUT to modify DNS records. You can make a small bash script and crontab it. I also used DuckDNS for a while, and it worked fine.

  • LiveLM@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    12 hours ago

    DuckDNS was resolving slow as hell for me so I ended up picking up a cheap domain from Porkbun, they got API access and it seems most of the ddns tools support them too

  • medem@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 hours ago

    I used nsupdate for years and it worked just fine. I remember it being down, one time only, for like five minutes. For a project that depends entirely on donations, the service and availability they provide are just awesome.

  • Sockenklaus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    12 hours ago

    I am using DuckDNS and it’s working perfectly for me. I use the DynDNS feature of my Fritz!Box to update my DuckDNS-IP. The documentation on their website is spot-on for me, even for my IPv6 and I never had any issues with DuckDNS.

    What I like most about the service is the possibility to use subdomains like my-service.my-username.duckdns.org. I don’t know whether this is a commong feature or not.

    When you had problems updating your IP Adresse did you consider that DNS information takes some time to propagate through the internet? I think it is not guaranteed that you can access a recently changed domain.

    How did you test your DuckDNS entries?

    • sakphul@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      15 hours ago

      Me too. Draytek Router automatically updates the IP. Set it up once and it is working since 2-3 years (don’t exactly rember when I set it up).

  • Creat@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    19 hours ago

    DuckDNS had been unreliable when I used it, but it’s been a while. I swapped over to desec.io but their signups aren’t always open. Can highly recommend them though, and they offer many paths to update the IP, including DynDNS(2) protocol or just ddclient.

    Also works with certbot for Let’s encrypt certificates using dns challenge.

    • BenchpressMuyDebil@szmer.info
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 hours ago

      Same. I have a router with OPNsense. In the “Dynamic DNS” section I create a “Custom” service with the DynDNS2 protocol. I type in update.dedyn.io as the server address. You need to also get an api key from the desec.io web panel that you input into the username and password fields.

      Now everytime the router’s WAN ip changes it automatically edits the DNS zone. So instead of going “your server -> DDNS provider -> DNS CNAME record” it’s just “your server -> DNS A record”

      I also have a separate token for my web proxy (traefik) so that it can edit the DNS records to get let’s encrypt certificates through dns challenge as you describe.

      As for the desec signups in my case one DNS zone was no problem, but for a second one I needed to e-mail them:

      Hello, would it be possible for my newly created account to get one more domain on the account please? I have two personal domains and it would be great if I could keep them both under deSEC

      Hi [me], Sure! The limit is mostly there to remind users to enable DNSSEC, but it looks like you’re already doing that (at your old provider).

      They asked me to (voluntarily) donate, which I did too.

  • ozymandias117@lemmy.world
    link
    fedilink
    English
    arrow-up
    43
    ·
    1 day ago

    I put the curl command to update my duckdns IP in cron about 13 years ago, and have never needed to touch it once.

    It’s just worked for me

  • jim3692@discuss.online
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 hours ago

    If you have a Mikrotik router, you can use its built-in Dynamic DNS, and configure a CNAME on your domain name

  • PseudoRandomGermanPerson@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    15 hours ago

    Well, if you use DDNS I assume you have some kind of server behind that. I just self host a godns container. No need for any service except an DNS API. I use cloudflare. But my IP only changes rarely, so I can’t tell you how fast that setup propegates