Jump to content

I have a multiple services running on my home network e.g. vpn, plex, homeassistant etc. They run on a couple of servers and I dont want to have to remember ip adresses. I want to implement a custom dns server to resolve hostnames like plex.local, homeassistant.local and so on while I am connected to my home network. I would like to run it in a docker container so i can just spin it up on one of my exising machines. Could anyone with a similar setup suggest a good way to do that ? 

Link to comment
https://linustechtips.com/topic/1532227-resolving-local-hostnames/
Share on other sites

Link to post
Share on other sites

12 minutes ago, ziggyboi said:

I have a multiple services running on my home network e.g. vpn, plex, homeassistant etc. They run on a couple of servers and I dont want to have to remember ip adresses. I want to implement a custom dns server to resolve hostnames like plex.local, homeassistant.local and so on while I am connected to my home network. I would like to run it in a docker container so i can just spin it up on one of my exising machines. Could anyone with a similar setup suggest a good way to do that ? 

Do you not use hostnames as it is? I don't user dockers or many services on one device - so maybe it just doesn't apply as well but the way I do it doesn't need any additional setup other than naming the device

I sell teeth and teeth accessories 🦷

Link to post
Share on other sites

Normally your router should support this feature. If it doesn't, maybe you can start using Pi-Hole. It will help you to (partly) block ads and tracking and will also allow you to resolve local hostnames. This Reddit post might help you as the user has the same question!

Link to post
Share on other sites

1 hour ago, ziggyboi said:

I have a multiple services running on my home network e.g. vpn, plex, homeassistant etc. They run on a couple of servers and I dont want to have to remember ip adresses. I want to implement a custom dns server to resolve hostnames like plex.local, homeassistant.local and so on while I am connected to my home network. I would like to run it in a docker container so i can just spin it up on one of my exising machines. Could anyone with a similar setup suggest a good way to do that ? 

As @ItTakes2ToMango says you should be able to use the DNS Server already built in to your router to do this for you.

 

You should first configure static IP Bindings in the DHCP for each of the devices and assign the desired hostname (e.g. plex, homeassistant etc.) and also configure the domainname for the Router to be "local" (without quotes). After this you should be able to connect to these devices on your LAN using the hostname or hostname.local assuming, of course, you also set the DomainName on your workstation to also be "local"

6 GPU Folding Rig  Linux Folding HOWTO Folding Remote Access Folding GPU Profiling ToU Scheduling UPS

Systems:

desktop: Lian-Li O11 Air Mini; Asus ProArt x670e WiFi; Ryzen 9 7950x; EVGA 240 CLC; 2 x 48GB DDR5-6000; 2 x Samsung 980 Pro 500GB PCIe3 NVMe; 2 x 8TB NAS; MSI RTX 4070 ti Super; AMD FirePro W4100; Corsair SFF750

nas1: Fractal Node 804; SuperMicro X10sl7-f; Xeon e3-1231v3; 4 x 8GB DDR3-1666 ECC; 2 x 250GB Samsung EVO Pro SSD; 7 x 4TB Seagate NAS; Corsair HX650i

nas2: Synology DS-123j; 2 x 6TB WD Red Plus NAS

nas3: Synology DS-224+; 2 x 12TB Seagate NAS

dcn01: Fractal Pop Silent XL; Gigabyte Aorus z570 Master; Ryzen 9 3950x; AMD Wraith; 2 x 16GB DDR4-3200; 256GB NVMe; Gigabyte Gaming RTX 4080 Super; MSI 4070 Ti Super Gaming X; Corsair RM750e

dcn04: Fractal Define S; Gigabyte Aorus ax570 Master; Ryzen 9 5950x; BeQuiet! PureRock 2; 2 x 16GB DDR4-3200; 250GB NVMe; ; Gigabyte Gaming RTX 4080 Super; MSI 4070 Ti Super Ventus 2; Corsair TX750M

Link to post
Share on other sites

On 9/20/2023 at 7:52 PM, Arokan said:

A *couple* of servers? Damn, I run all of those and many more on a raspberry pi 😄
But yeah, it's best to use a pihole in your case. Correct setup doesn't take more than 5 minutes when you're familiar with docker.

Hi I have followed the documentation but I am ecoutering a problem port 53 on my machine is already taken by systemd-resolved and when I turn that off I stop getting internet any pointers please

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×