Skip to main content


How do you solve dynamic DNS?


Good FOSS software and reliable service providers? Etc.
in reply to sith

Good FOSS software and reliable service providers? Etc.


Wow much detail. You're gonna get so much help.

in reply to sith

Have you heard of the kuadrant project? It is for kubernetes and has a dynamic DNS element. Kuadrant.io
in reply to philthi

Probably good, but I want to stay away from anything related to Kubernetes. My experience is that it's an overkill black hole of constant debugging. Unfortunately. Thanks though!
in reply to sith

Have done it via bash scripts for years. Never had a problem. Since a few months i use github.com/qdm12/ddns-updater
in reply to sith

Any registrar worth using has an API for updating DNS entries.

I just found this with a quick search: github.com/qdm12/ddns-updater

in reply to 2xsaiko

exactly. I literally have a bash script that calls the API triggered by cron every 30 minutes. That's it. Are people seriously using a freaking docker container for this?
in reply to sith

I would go for registering my own domain and then rent a small vps and run debian 12 server with bind9 for dns + dyndns.
If you don't want to put the whole domain on your own name servers then you can always delegate a subdomain to the debian 12 server and run your main domain on your domain registrators name servers.

edit:

github.com/qdm12/ddns-updater


If your registrar is supported the ddns-updater sounds a lot easier.

This entry was edited (18 hours ago)
in reply to Jeena

Me too. I use uptime kuma to send the api request. then I also get uptime status 🙂
in reply to sith

cloudns.net/ Makes dynamic DNS very easy.
in reply to sith

If you don't need actually public DNS, something like Tailscale might be an option.
in reply to sith

afraid still works like a charm. cloudflare is ok. duckdns is cool.
in reply to sith

How do you solve dynamic DNS?

@sith
If this is useful we had a bit of a conversation about DynDns options a while back. Im currently using Hetzner with my subdomain names being dynamically updated.
lemmy.ml/post/18477306

lemmy.ml/post/18477306


Dynamic IP - Self hosting


Im sure this has been asked before i juat can't find where it has been - Maybe need to work on how to search Lemmy better. But...

Id like to eventually self host some sevices that require external access. While I have IpV6 addresses my IPV4 is dynamic.

Whats the best free way to be able to point some domains/ subdomains I have to my external dynamic IP and keep it updated. Im running OpenWrt on my router. - So possibly should be posting there.

Free Dyndns services seem to be a bit crap. Do I need to pay for a VPS? (seems to defeat the point of self hosting)


@sith

Selfhosted reshared this.

in reply to sith

I use ddclient but in a docker container. Works great with minimal config
in reply to sith

Desec + Nginx Proxy Manager as a reverse proxy.
Solves ddns and https with a letsencrypt wildcard cert.
in reply to sith

I solve it by paying way too much for a block of static IPs.
in reply to CarbonatedPastaSauce

Way too much for sure.

Just the business internet to get the foot in the door for a static IP 5x's the cost of my Internet.

It's actually cheaper to just have DC IPs and proxy through hosted containers. Which is kind of crazy.

Negative aspect is that DC IPs aren't treated very nice.

This entry was edited (7 hours ago)
in reply to sith

My ip updates maybe once every three months or so, but what i did was just write a script that checks the current ip and updates the domain registrar. My domain is on cloud flare, and they have an API through which I can do it. It's literally one POST request. There are solutions out there but I wanted a really simple solution I fully understand so I just did this. Script runs in cron every few hours and that's it.
in reply to sith

Ddclient has done the trick for me, and my registrar supports it with an API
in reply to sith

Afraid has a curl update. Cron job. It's that simple.