this post was submitted on 14 Dec 2024
60 points (92.9% liked)

Selfhosted

40677 readers
377 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 2 years ago
MODERATORS
 

Good FOSS software and reliable service providers? Etc.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 45 points 1 week ago (7 children)

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

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

[–] [email protected] 11 points 1 week ago (4 children)

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?

[–] jws_shadotak 8 points 1 week ago (2 children)

It's easy to set up and also keeps a history

[–] [email protected] 8 points 6 days ago (1 children)

Ah, a history would be nice. I've been thinking of keeping some stats to monitor when the connection goes down, and how often my IP changes.

Fortunately I've kept the same IP since i changed ISPs a few months ago.

Personally I still think docker is overkill for something that can be done with a bash script. But I also use a Pi 4 as my home server, so I need to be a little more scrupulous of CPU and RAM and storage than most :-)

[–] [email protected] 2 points 5 days ago

Even if it is docker it’s still a bash script or something in the container right? Or are people referring to the docker CLI directly changing DNS records somehow?

My best guess is the reason to involve docker would be if you already have a cluster of containers as part of the project. Then you can have a container that does nothing but manage the DNS.

[–] [email protected] 2 points 6 days ago

I just dump the changes with timestamps to a text file. Notifications for IP changes get sent to matrix after the DNS record is updated.

load more comments (1 replies)
load more comments (3 replies)