Email or username:

Password:

Forgot your password?
Top-level
madmax

@vkc I've seen a lot of people talk about self-hosting and some amazing tutorials on setting up everything, but I feel like they leave the important part of how are you going to the internet. The DNS part is always left out most of the time. I might be wrong but don't you need a DNS provider if you don't have a static IP. I want to self-host but I get confused on the DNS part, for example, "example. com" can point to a static IP but if your IP changes often, then what to do at that point.

4 comments
DeManiak 🇿🇦

@pikachu_sensei @vkc what you are talking about is "dynamic DNS"( DDNS).

To make this work you will need:
- a domain, hosted somewhere that supports DDNS
- some automated way to check your external IP
- then take that IP and update your DNS record(s) with that IP

Some router manufacures make this easy by giving you a sub-domain under something they own, and built-in functionality to update it.

Some platform providers like linode make it pretty easy to update DNS records via an API call.

I hope the above would at least serve as sufficient info to at least get a sensible search going

@pikachu_sensei @vkc what you are talking about is "dynamic DNS"( DDNS).

To make this work you will need:
- a domain, hosted somewhere that supports DDNS
- some automated way to check your external IP
- then take that IP and update your DNS record(s) with that IP

Some router manufacures make this easy by giving you a sub-domain under something they own, and built-in functionality to update it.

Mid-sized Ackman

@pikachu_sensei @vkc you can use a provider who offers dynamic DNS (ddns) and configure your router to regularly update it. You'll need to open a port in your firewall, and set up a port forwarding rule.

If you're using CloudFlare as your name server, you can run a tunnel which will let you mask your IP address behind theirs. They've got a container that works really well for docker compose stacks, DDoS protection, and there's no need to open a port on your router.

Robin

@pikachu_sensei @vkc
The search term you need is "dynamic DNS"

Frost「:therian:|霜の狼|人面獣心」

@pikachu_sensei @vkc This is why we have a VPS (virtual Cloud™ machine). We don't run most things on the VPS (well, we run a few things on it, like our email, for reliability). Instead it's a bounce point, and mostly just relays stuff down to our desktop. Our desktop keeps a persistent VPN tunnel to the VPS so it can receive incoming connections.

This also gets around the fact that we don't control our internet connection, so we would have no way to forward incoming connections to us even if we had a dynamic DNS setup.

@pikachu_sensei @vkc This is why we have a VPS (virtual Cloud™ machine). We don't run most things on the VPS (well, we run a few things on it, like our email, for reliability). Instead it's a bounce point, and mostly just relays stuff down to our desktop. Our desktop keeps a persistent VPN tunnel to the VPS so it can receive incoming connections.

Go Up