this post was submitted on 05 Nov 2023
705 points (97.8% liked)

Programmer Humor

32561 readers
398 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] bdonvr@thelemmy.club 4 points 1 year ago (2 children)

Right? A little script auto to update your DNS records assuming you don't have a static IP, now you can remote in much easier. And don't have to memorize your IP.

[–] ___@lemm.ee 2 points 1 year ago

Most routers have dynamic dns updaters built in nowadays.

[–] hedgehog@ttrpg.network 1 points 1 year ago

And you don’t even have to write the script yourself. Depending on your DNS provider, you can probably use https://github.com/qdm12/ddns-updater or something similar to keep it updated.

I personally use it hosted in Docker with Cloudflare on their free plan and it works great. I tried to set it up with Namecheap initially but they have some requirements for API access, some of which include an allowlisted IP address for API clients. I didn’t want to source, configure, and rely on a static IP jump server just for DNS updates, so I changed the DNS provider (but didn’t transfer the domains).