How do you guys set internal domains?
Say i dont want to type 192.168.1.100:8096 and want a url instead, say jellyfin.servername - how would I go about that? I don’t want it exposed online via reverse proxy. I don’t need certs. No port forwarding on the router.
How do I type ‘jellyfin.servername’ into a browser and being up the jellyfin dashboard?
I use pihole running on an esxi server for dns. In pihole you can create local dns records which is exactly what you’re trying to do. It’s very lightweight, you can run it on about anything.
You can also do something like this
If you have your own DNS server you can set a hostname there like ‘jellyfin.myserver’ and have that accessible from your internal network. If you want to do so on your PC you can edit your hosts file to add a custom entry. https://www.hostinger.com/tutorials/how-to-edit-hosts-file
Keep in mind you still need to specify the port with this method.
Yeah, how and where? In the docker compose? I have a dozem containers and is love if they were all a.server. b.server, c.server. How can I do this? Pihole DNS records don’t do anything at the port level.
Sorry I meant in your browser. Yes dns does not point to ports.
You would have to use some sort of reverse proxy that is only accessible from internal networks
Wolfangs Channel had a video about that a few weeks ago: https://www.youtube.com/watch?v=qlcVx-k-02E
I didn’t try it myself yet, but judging from his other videos, he’s not a complete idiot, so I assume it’s solid advice.
deleted by creator
You should be able to use mDNS pretty easily. Some services (like Home Assistant) support it out-of-the-box. mDNS is what powers the
.local
domains (eghomeassistant.local
).You’ll need a reverse proxy.
You can configure a local only DNS
PiHole as your DNS resolver. LocalDNS mapping whatever hostname you want to whatever IP you want.
Because I use Nginx Proxy Manager internally - then most of my hostname point to the Nginx IP addressYou can add an entry to your /etc/hosts file for the IP part, but this cannot remove the need to specify the port number as it is unrelated to the domain/IP
deleted by creator
The host isn’t really the issue. It’s the container. How do I access the container with a name rather than number.
deleted by creator
After much suffering with local zones (mainly due to stubborn devices ignoring dns servers coming via dhcp and retarded corporate vpn messing with resolv.conf) I just use xxx.local.mydomain.tld with a small script that parses the leases files and updates the data via cloud flare api.
I ended up doing a similar thing for the same reasons, too many things ignoring my local dns. I ended up creating a subdomain for my house where all the A records had internal ips. I gave out fixed leases to the things with names though instead of dynamic dns updates.
I have static ips for the server-ish things and few important devices too, but for the rest (swarm of shellys, esp32, etc.) I’m too lazy to maintain the list =)