Traefik: Unable to obtain ACME certificate for domains

traefik level=error msg="Unable to obtain ACME certificate for domains \"\": cannot get ACME client get directory at '': Get \"\": dial tcp: lookup on read udp> i/o timeout" rule="Host(``)" 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 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.