I have a pi-hole setup as local DNS server. I pointed "service.mydomain.tld" to the Traefik container IP. I configured entry points for internal traffic in the static config, and then added a router in the dynamic config to sent "mydomain.tld" to the local ip & port of the service. But entering the domain still doesn't resolve. Anyone know what is wrong with this setup?
Static config:
http-int:
address: :79
http:
redirections:
entryPoint:
to: https-int
scheme: https
https-int:
address: :442
Dynamic Config:
http:
routers:
service-name:
entryPoints:
- "http-int"
rule: "Host(`service.mydomain.tld`)"
service: service-name
services:
service-name:
loadBalancer:
servers:
- url: "http://local-IP:port"