I use docker + traefik + a simple domain alias in my router to give all of my services easy to remember dns names.
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.
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!
Can you put your own router behind, what I presume, is the ISP router? Then you can manage DHCP and IP address reservation.
This turned out to be the solution that I chose. My internet provider did not support DHCP and even DNS was hard coded which made it hard for me. So, i switched the modem into Bridge mode and installed opnsense on a computer that I had after installing a 2x1GB NIC for it. Now I have full control over naming and now everything mostly works as I need it to.
That's awesome, glad you were able to find a solution!
This is very unlikely, but does your ISP router offer any dynamic DNS options with the DHCP?
The process would be DHCP giving out address --> Host registered, returns Hostname --> DHCP gets hostname --> DDNS update sent to DNS server
I do a few things to keep track of my installed services.
- I run an instance of Heimdall, which is an utterly simple launcher. All of my services with administration panels get added here.
- I maintain an excel sheet with all of my assigned IPs. It doesn't matter if it's a VM, a container, an iPhone, or some other hardware device. Everything is assigned a static IP and added to the excel list.
- When I'm creating containers and VMs in Proxmox, I make sure that the proxmox ID of the container or VM is the same as the final octet of the IPV4 IP address. So if my Heimdall service is set up on 192.168.1.155, then the Heimdall LXC gets ID 155. I do this so that I can quickly look up the IP of any service in Proxmox without having to open my spreadsheet.
If you follow this convention, then you could easily export the IDs of all of your proxmox containers and VMs by following the instructions here. Make a few transformations to turn the IDs into IP addresses, and you have a .csv you could import elsewhere.
I'm sure someone has made a tool to do this already somewhere. On Github, xezpeleta made an inventory script "to grab proxmox nodes. This will also try to grab the IP if you have the guest agent installed." I bet there are others out there.
Thanks for this, i am also now using Heimdall! Its great.
I‘m not sure if I understand your problem. How many VMs, hostnames, etc. are we talking about?
Unbound is a recursive DNS, not an authorative. An authorative DNS server is needed for adding your own records. I suggest using bind, which can be both a recursive and an authorative.