this post was submitted on 02 Sep 2024
24 points (96.2% liked)

Selfhosted

39208 readers
272 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I feel that sometimes resolution of sub-domain.duckdns.org and host.sub-domain.duckdns.org fails with empty result or even timeout result. Tested resolution against Google and Cloudfare DNS servers.

Do you have a similar behaviour?

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 weeks ago (1 children)

buy a cheap domain and use afraid services, https://freedns.afraid.org/, or ydns, https://ydns.io/, with free license is a good and cheap solution.

[–] [email protected] 3 points 2 weeks ago

Question - if your domain registrar has an API to update your A/AAAA records, and your router (or other home server) lets you easily update those records via the API when your public IP changes, is there a benefit to using freedns or any other DDNS service? It seems like you don't really need them if you own a domain.

[–] [email protected] 3 points 2 weeks ago (1 children)

I switched to cloud flare because of the downtime duckdns has. Sometimes it can get really bad.

[–] [email protected] 1 points 2 weeks ago

Same. Been rock solid.

[–] [email protected] 2 points 2 weeks ago

Yes, it's why I stopped using DuckDNS and decided to buy my own domain. I used Porkbun and got a cheap one (~$15/year?). It was super easy, and DNS results are lightning fast now; no timeouts/errors/etc. like when I was using DuckDNS.

My router supports Porkbun for DDNS; it handles updating the A/AAAA records for my domain when my IP changes, but if your router doesn't have that option, I'm sure there's a script you could run on a PC or Raspberry Pi, etc. to handle that for you.

I honestly don't know why I didn't do this sooner! I've changed DDNS providers a few times over the years and it's always a pain to update everything that references the old names. It's great having peace of mind knowing that I own the domain now and won't have to change again (even if I wanted to leave Porkbun, I could just transfer the domain registration to any number of good alternatives and not have to change my domain name).

[–] [email protected] 2 points 2 weeks ago (2 children)

DuckDNS pretty often has problems and fails to propagate properly. It's not very good, especially with frequent IP changes.

[–] [email protected] 1 points 2 weeks ago

In my case, there is no IP change. However, the TTL of entries seems to be 60 seconds and when Cloudfare/Google asks for the new A record, it sometimes fails. I am getting this error message from Cloudfare when I try to solve host.sub-domain.duckdns.org

EDE: 22 (No Reachable Authority): (time limit exceeded)

[–] [email protected] 1 points 2 weeks ago (1 children)

What's a better option these days? I'd be interested in trying to get rid of duckdns

[–] [email protected] 3 points 2 weeks ago (1 children)

Buying a domain. There might be some free services that, similar to DuckDNS in the beginning, work reliably for now. But IMHO they are not worth the potential headaches.

[–] [email protected] 2 points 2 weeks ago (1 children)

I have a domain... but I think DynDNS is not always available for every domain or by every domain seller?

[–] [email protected] 5 points 2 weeks ago (1 children)

Registrars (or DNS providers if you don't use the one that comes with your registrar) worth using have an API to manage DNS entries. That's basically all there is to DynDNS.

[–] [email protected] 2 points 2 weeks ago

Thats how I've done mine.

pfSense has an updater built in so that's handled my home.mydomain.com entry for me for a long time and has handled updating duckdns too, even though it's basically only a backup at this point.

If you've got a domain, no real reason to not just handle it yourself and avoid the headaches.

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks 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
IP Internet Protocol
VPS Virtual Private Server (opposed to shared hosting)

3 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.

[Thread #947 for this sub, first seen 2nd Sep 2024, 12:55] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

No-ip.

I've been using them for about 15 years now. Started when I self hosted at home with the free service and even though I moved to a VPS I still use them ($32 USD / year, dedicated TLD, dedicated IP). I can add redirects, temp static landing page, etc etc.

I've had a SINGLE outage of their service in that time.

They also have free services as well, dynIP clients for Win & Lin, and their shit works. Most DD-WRT / OpenWRT images also support it.

[–] [email protected] 1 points 2 weeks ago

I've heard many people complain about DuckDNS. Personally use desec.io for DDNS and it's been solid.

[–] [email protected] 1 points 2 weeks ago

Thanks for all your answers! I will check some of the alternatives to duckdns.

[–] [email protected] 1 points 2 weeks ago

I used to rely heavily on duckdns and it was great for a time, but moved off them a couple of years ago because resolution became inconsistent. I've since rolled my own ddns using a script that utilizes Porkbun.com's DNS record API.