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: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
-
No low-effort posts. This is subjective and will largely be determined by the community member reports.
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.
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.
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.