Traefik cert resolver error

hello can someone help me, I have this error that shows in my logs:

ERR Unable to obtain
ACME certificate for domains error="unable to generate a certificate for the domains [local.*****.com *.local.******.com]: error: one or more domains had a problem:\n[*.local.*****.com] propagation: time limit exceeded: last error: NS jill.ns.cloudflare.com.:53 returned NXDOMAIN for _acme-challenge.local.*******.com.\n" ACME CA=https://acme-staging-v02.api.letsencrypt.org/directory acmeCA=https://acme-staging-v02.api.letsencrypt.org/directory domains=["local.******.com","*.local.*****.com"] providerName=cloudflare.acme routerName=traefik-secure@docker rule=Host(`traefik.local.*******.com`)

can someone help please

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

Place 3 backticks in front and after code/config to make it more readable and preserve spacing.

Did you create a local.example.com domain or zone with the correct target IP?

Did you create the sub-domain with your DNS provider?

Ye, my dns provider is pi hole, all set up

For a LetsEncrypt TLS certificate, you need a public (bought) domain name. For httpChallenge and tlsChallenge the web-server needs to be reachable from Internet.

For non reachable web-server or wildcard certs you need to use dnsChallenge, which needs direct access to your DNS provider to set TXT records.

For sub-sub-domains you usually need to create the sub-domain first.

I have solved it, can I post another error on this post?