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?

  • pleksi@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 days 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.

    • nublug@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 days ago

      desec does offer one free subdomain, and you can use as many nested subdomains as you want for your services. do note you’ll need a wildcard cert for each subdomain level: *.sub.dedyn.io and *.app.sub.dedyn.io if a service needs it’s own subdomains for apis and whatnot.

      edit: also a note for any fellow noobs like me it’s deDYN.io not deSEC.io on your account/subdomain. it took me an embarrassingly long time to realize my mistake trying to sign up with every subdomain i tried saying it exists already.

  • LiveLM@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    7 days 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

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

  • vurr@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 days 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.

  • medem@lemmy.wtf
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    7 days 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.

  • ozymandias117@lemmy.world
    link
    fedilink
    English
    arrow-up
    44
    ·
    8 days 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

  • Cousin Mose@lemmy.hogru.ch
    link
    fedilink
    English
    arrow-up
    19
    ·
    8 days ago

    I used to just use a script with cron to update Cloudflare DNS records but these days I don’t screw around with exposing anything to the public internet directly, I just use Tailscale.

    • HotDog7@feddit.online
      link
      fedilink
      English
      arrow-up
      5
      ·
      8 days ago

      Is there a difference between using Tailscale and Wireguard? I already have a Wireguard setup and want to know what benefits it has over Wireguard.

      • Cousin Mose@lemmy.hogru.ch
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        7 days ago

        They’re similar but mainly Tailscale arranges WireGuard tunnels between peers. There are tons of useful features around that functionality like being able to route specific traffic through specific hosts (“nodes” using “app connectors”); it’s even better at finding a way out of hostile networks using relays.

        Just as an example I typically use my VPS as an “exit node” so that all my traffic routes through it (which does a ton of tunnel hopping through commercial VPNs) while my wife isn’t into that at all, but both of us have Tailscale on our devices so when either of us accesses Home Assistant it’s routed directly to the host hosting it.

  • plateee@piefed.social
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 days ago

    I have dyndns. I don’t recommend them, unless a coworker just gave you their lifetime pro account for free.

    Thanks Roody, wherever you are!

  • roofuskit@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 days ago

    Duck DNS works great… Most of the time. If you cannot accept downtime multiple times a year, get yourself a domain and a service like cloud flare instead. DuckDNS is free and you get more than you pay for, but the bar is low when the cost is zero.

    • potustheplant@feddit.nl
      link
      fedilink
      English
      arrow-up
      5
      ·
      8 days ago

      Or just use two dns providers. I have duckdns and desec. That latter seems to be a bit faster and has’t had any downtime for me so far.

    • pulsewidth@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 days ago

      Yeah DuckDNS gave me many false positive outages where its resolution failed, for multiple half-days every year I used it (5yrs+).

      I moved to the afraid.org and its been solid, if anyone’s looking for another free service - only cost is you have to log in once every six months to validate your account is not dormant. They have a paid tier which gives more features (that most home users will never need), and that allows the guy running it to fund a very reliable service.

  • somenonewho@feddit.org
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 days ago

    I had used duckdns for a while back in the day. Always worked great.

    These days I have a domain at namecheap which provides a DynDNS feature as well so I’m using that.

  • yaroto98@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 days ago

    I got my domain through namecheap. So, I just use them, they have a dynamicdns implementation. I setup a namecheapddns docker container that auto updates mine.

    • epyon22@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 days ago

      Yep same DDClient is super simple to setup with name cheap. Followed ip address changes with very little if any down time. I’ve never noticed between ip changes.

    • HeyJoe@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 days ago

      Same! Except I use windows and they have a small app that you can install and run in the background which will update the IP if needed.

      I also used duckdns for years before moving to this and I never had any issues using that either. It was the same thing, small app that ran on your machine and you needed the token and it just worked.