Good FOSS software and reliable service providers? Etc.

2xsaiko
link
fedilink
English
458d

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

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?

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

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 :-)

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.

Jess
link
fedilink
English
27d

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.

Matt The Horwood
link
fedilink
English
78d

I would recommend OVH for DNS, they have an API and are on the list for that tool. Also you can use the API to get lets encrypt certificates

@sith@lemmy.zip
creator
link
fedilink
English
28d

Looks good. Thanks!

cloudflare + the dynamic dns plugin for opnsense.

Pika
link
fedilink
English
26d

my router uses openwrt which supports dynamic DNS updating on its own for multiple providers, I currently am through namecheap on it.

ᕙ(⇀‸↼‶)ᕗ
link
fedilink
English
88d

afraid still works like a charm. cloudflare is ok. duckdns is cool.

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

Jeena
link
fedilink
English
168d
conrad82
link
fedilink
English
58d

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

SayCyberOnceMore
link
fedilink
English
17d

That’s a great idea, I hadn’t thought of that

@ShortN0te@lemmy.ml
link
fedilink
English
108d

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

If you don’t need actually public DNS, something like Tailscale might be an option.

@anamethatisnt@lemmy.world
link
fedilink
English
4
edit-2
8d

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:

https://github.com/qdm12/ddns-updater

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

@markstos@lemmy.world
link
fedilink
English
18d

https://www.cloudns.net/ Makes dynamic DNS very easy.

Possibly linux
link
fedilink
English
47d

What do you mean?

Engywuck
link
fedilink
English
-18d

Cloudflare-ddns in docker

abeorch
link
fedilink
38d

@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

Ryan
link
fedilink
English
6
edit-2
7d

used a bash script and a cron job for a long time, now the whole topic is one of the projects i regularly rewrite whenever I want to get my hands dirty with a new programming language or framework.

Bakkoda
link
fedilink
English
68d

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

Create a post

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!

  • 0 users online
  • 162 users / day
  • 415 users / week
  • 1.04K users / month
  • 3.77K users / 6 months
  • 1 subscriber
  • 3.9K Posts
  • 79K Comments
  • Modlog