Selfhosted
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:
-
Be civil.
-
No spam.
-
Posts are to be related to self-hosting.
-
Don't duplicate the full text of your blog or readme if you're providing a link.
-
Submission headline should match the article title.
-
No trolling.
-
Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.
-
AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
On the topic of dns, I still use GoDaddy. People ask why, it's because GoDaddy seems like a good idea in 2003 when I got my first domain, and 2006 when I got my current one. At that point it's just inertia, I tend to buy several years in advance because I don't like annual payments, I know it makes me a weirdo. That means I'm locked in for several years and it's not enough of a problem to do anything about.
Anyone who uses GoDaddy knows that they turned off their dynamic DNS option quite some time ago. My system is pretty stable so I don't usually need to change it, but if I have a power failure at home or I need to reboot my router, I obviously need to change my DNS at those moments.
When I'm away from home, I end up having to use TeamViewer to hop into a jump box vm I have set up for that purpose. The two obvious problems with that are first of that TeamViewer is a proprietary product, and the second of all that they see me hopping into a jump box regularly and they assume that I'm a commercial customer. There is apparently a way to tell them that you're just a hobbyist, but I haven't gotten around to filing that.
What I did do is set up a script that compares the current IP to my DNS IP, and if they are different then I send myself an email that contains the old IP in the new IP. This way, I don't need to hop into my network to find out what the new IP address is. I also added a little bit there to save the last successful IP address sent by email to /tmp/ so that if I lose my IP address but I'm doing something where I can't hop onto the GoDaddy website to fix it, I don't get 100,000 emails with my new IP address.
I killed my house power a couple weeks ago, and the whole system worked exactly as intended. I was pretty happy to see that.
Oh, and for anyone who has never used it, Apache guacamole is a really neat tool for centralizing configuration. Effectively, you can set it up as a website with a username and password that will transfer through ssh, telnet, VNC, and RDP, so if you need to hop into something while you are outside the home, it's going to be effective. That's something that I wish I had known about earlier, it would have made a lot of rough days a lot easier.
Cool! Note that the nameservers for your domain don't have to be from your registrar. I use Hetzner for DNS despite having my domains elsewhere. And I use a similar thing as you, a cronjob that compares my public IP to the DNS records and adjusts them via Hetzner API when necessary.