i have a raspberry pi with multiple services running (e.g. Openhab, mosquitto, ...). each service should be locally reachable via a local subdomain (openhab.core.local, mosquitto.core.local, ...)
Of course, there seems to be a simple solution - mDNS. But here comes the problem:
Here we the the mDNS discovery. The service, port and local IP are recognised correctly. Everything goes on the right network client to port 80 where an nginx (also tried Traefik) reverse proxy container awaits for requests to route. But I cannot reach the services.
I've figured out that the DNS Rebind protection in the FritzBox will not answer DNS questions which resolves to the internal network, ok. Ive configured the exceptions for the desired domain names. (also tried with several subdomains different configs) Where I do not quite understand why it needs an DNS server response if we already have the mDNS entry, but ok.
Nothing changed.
So the client knows that home.pink-core.local
should go to 10.0.0.40:80 where the nginx waits.
The services are up and running.
But the client seems to makes an DNS request with no resolution despite of whitelisting in fritzbox. At least the services are not reachable.
How to figure out the reason and resolve this?