Traefik not resolving my local domain names

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"

Both mydomain.tld and service.mydomain.tld need to resolve to the correct IP.

Share your full Traefik static and dynamic config, and docker-compose.yml if used.

Enable and check Traefik debug log (doc) and Traefik access log in JSON format (doc).