Traefik how to disable DNS resolution

Hello

Any way to force traefik to lookup local /etc/hosts file instead of DNS ?

I would like setting TRAEFIK_HOSTRESOLVER_RESOLVCONFIG
but I'm afraid to break let's encrypt process..

Thank you !

AFAIK the hosts file is usually checked first, then DNS, when the OS is resolving a domain name.