Traefik: Unable to obtain ACME certificate for domains

traefik level=error msg="Unable to obtain ACME certificate for domains \"example.domain.com\": cannot get ACME client get directory at 'https://acme-v02.api.letsencrypt.org/directory': Get \"https://acme-v02.api.letsencrypt.org/directory\": dial tcp: lookup acme-v02.api.letsencrypt.org on 127.0.0.11:53: read udp 127.0.0.1:40126->127.0.0.11:53: i/o timeout" rule="Host(`example.domain.com`)" providerName=letsencrypt.acme routerName=traefik-secure@docker

Anyone could help me, please?

I did iptables -F and still problem persist, so it is not firewall.

The pod (or host it’s on) is configured to ask 127.0.0.11 for DNS to resolve the name to an IP to connect to. 127.* is all loopback, so the pod is asking itself for an answer, which fails to connect because it is not a DNS server.

Thanks for the reply. Do you know what and where to change?

I tried many things chatched from the internet, but none worked.