this post was submitted on 10 Sep 2021
5 points (100.0% liked)

Self Hosted - Self-hosting your services.

11210 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I'm trying to self-host some stuff on my Raspberry Pi (i.e. web server, lightweight matrix server, etc) and every time I get around to try and set it up I forget that I have to do this lol

Do you guys recommend going full send and contacting my ISP about a static IP or should I just pay for a Dynamic DNS service?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

I have a dynamic IP and have been using it for years. I also host my own mail server on a VPS using miab which provides my DNS. My router supports pushing DDNS changes, so as soon as my IP changes, I'm able to update my external DNS and everything is all good.

If you can reliably update an external DDNS service, I can't see paying for a static IP for your self-hosted stuff.

[–] [email protected] 3 points 1 year ago

Get a static ip if at all possible. The work arounds with a dynamic IP are simply not as good. Or if your ISP and router fully support IPv6 you could alternatively go down that route.

[–] [email protected] 3 points 1 year ago

There are already tools existing for dyndns that are free. If you're using cloud flare as your dns provider, there's cloudflareddns that checks your public ip and updates dns records. You just need 1 record to be updated, the other records can just be CNAME to that primary one.

OVH has DynHost to deal with that as well.

You could also write a script to do that with your own DNS provider if one doesn't exist yet. Most have good APIs you can use to that extent. At worse just use cloudflare since it just works and is well supported.

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

I self-host a bunch of stuff and don't bother paying for a static IP.

I just have a cron job running that checks my IP and then uses API calls to update my DNS settings. I've got the DNS setup with Zonomi which are a local company, it costs maybe a couple dollars a month & i've got 8-10 domains running at any one time.

[–] [email protected] 1 points 1 year ago* (last edited 9 months ago)

[This comment has been deleted by an automated system]