I looked around and had a really tough time finding a solution to resolve local hostnames with a local domain, especially using a mesh network like eero where that is not built in. However, I found a solution that is reliable as heck and beautiful.
This will resolve all local hostnames appended in the config with mydomain.net
. You can set the mesh network router to bridged so WiFi will work.
It uses dnsmasq for DNS resolution and DHCP assignment, on the subnet of 192.168.50.2 - 192.168.50.254. Dnsmasq also updates /etc/hosts automatically, so long if you connect to the router, your computer should pick it as the DNS which then resolves using the routers /etc/hosts.
I also set it to use OpenDNS if the domain does not resolve locally, followed by Google DNS if OpenDNS cannot resolve it. Because ISP's should not be your DNS server which they send messages to you, passed as a bill for "emergencies"... When really it's just about your data cap... How disgusting.
Download the tar gunzip file and upload it to your Edge Router 4. BUT* make sure you make a basic of the config prior to upload mine. You never know with these things!
Hopefully this helps someone out there, that needed some sort of network infrastructure and resolve hostnames instead of IP's.