Pulling my hair out trying to get dnschallenge working with namecheap. Anyone see what the issue is here?
TXT record is being created as expected. nslookup shows propagation from within container but traefik log just repeats "Waiting for propagation" every 15 seconds.
Substituted traefik.example.com for actual FQDN I have been testing below.
Checking propagation
# docker-compose exec traefik nslookup -q=TXT _acme-challenge.traefik.example.com
Server: 127.0.0.11
Address: 127.0.0.11:53
Non-authoritative answer:
_acme-challenge.traefik.example.com text = "9...4"
traefik.log
time="2020-07-26T05:45:58Z" level=debug msg="Using DNS Challenge provider: namecheap" providerName=letsresolve.acme
time="2020-07-26T05:45:59Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Obtaining bundled SAN certificate"
time="2020-07-26T05:45:59Z" level=debug msg="legolog: [INFO] [traefik.example.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/82861153" time="2020-07-26T05:45:59Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Could not find solver for: tls-alpn-01"
time="2020-07-26T05:45:59Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Could not find solver for: http-01"
time="2020-07-26T05:45:59Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: use dns-01 solver"
time="2020-07-26T05:45:59Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Preparing to solve DNS-01"
time="2020-07-26T05:46:01Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Trying to solve DNS-01"
time="2020-07-26T05:46:01Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Checking DNS record propagation using [127.0.0.11:53]"
time="2020-07-26T05:46:16Z" level=debug msg="legolog: [INFO] Wait for propagation [timeout: 1h0m0s, interval: 15s]"
time="2020-07-26T05:46:17Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Waiting for DNS record propagation."
time="2020-07-26T05:46:32Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Waiting for DNS record propagation."
time="2020-07-26T05:46:47Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Waiting for DNS record propagation."
time="2020-07-26T05:47:02Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Waiting for DNS record propagation."
time="2020-07-26T05:47:17Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Waiting for DNS record propagation."
time="2020-07-26T05:47:32Z" level=debug msg="legolog: [INFO] [traefik.example.com] acme: Waiting for DNS record propagation."
traefik.yaml
certificatesResolvers:
letsresolve:
acme:
caServer: https://acme-staging-v02.api.letsencrypt.org/directory
dnsChallenge:
provider: namecheap
delayBeforeCheck: 0
Docker compose labels.
- "traefik.http.routers.traefik.rule=Host(`traefik.example.com`)"
- "traefik.http.routers.traefik.entrypoints=secure"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.tls.certresolver=letsresolve"