Addressing domain names locally
Addressing domain names locally
You're looking to set up a custom DNS server for your home network services, such as Plex and Home Assistant, within a Docker container. This would simplify managing IP addresses and make it easier to access your devices. A popular approach is to use tools like `dnsmasq` or `dnsmasq-goodie` for local DNS resolution. You can also consider using a managed DNS service if you prefer not to handle the configuration yourself. Make sure to test connectivity after deployment.
Are you referring to using hostnames directly instead of names like dockers? Since you're not running multiple services on a single device, the approach might work without extra configuration beyond assigning names.
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!
You can leverage the DNS server already included in your router. Set up static IP Bindings via DHCP for each device, assigning names like plex or homeassistant, and configure the router’s domainname to be "local". Once done, connect to these devices on your local network using their hostnames or hostname.local, provided you also set the domainname on your workstation to "local".
Running multiple servers is possible, but using a Pihole is recommended. Proper configuration usually finishes within five minutes if you're comfortable with Docker.
I've reviewed the instructions, but you're still experiencing an issue with port 53 being blocked. After disabling systemd-resolved, your internet access has stopped. Please check the configuration files or settings related to DNS resolution.