I want to implement the scenario that got implemented with #235. It's working as expected, when challenge_validation_disable=True, without this any client fails. This seems to be because a2c is replying with the answer of the HTTP-01 challenge, and the failing dns lookup (as there is no dns record for this subdomain) for the internal record. I'm not sure if this is a regression (docs mention the existence of dns_update_script should force dns)
docker run -i -v $PWD/.lego:/.lego/ --rm --name lego \
goacme/lego:v4.25.1 -s http://a2c-server:22280 -a --email "my@mail.com" \
-d test6.internal.site --cert.timeout 180 --http run
2026/05/15 01:14:44 [INFO] [test6.internal.site] acme: Obtaining bundled SAN certificate
2026/05/15 01:14:45 [INFO] [test6.internal.site] AuthURL: http://a2c-server:22280/acme/authz/rAbrmPkWoouQ
2026/05/15 01:14:45 [INFO] [test6.internal.site] acme: Could not find solver for: tls-alpn-01
2026/05/15 01:14:45 [INFO] [test6.internal.site] acme: use http-01 solver
2026/05/15 01:14:45 [INFO] [test6.internal.site] acme: Trying to solve HTTP-01
2026/05/15 01:14:45 [INFO] Deactivating auth: http://a2c-server:22280/acme/authz/rAbrmPkWoouQ
2026/05/15 01:14:45 Could not obtain certificates:
error: one or more domains had a problem:
[test6.internal.site] invalid challenge: acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS resolution failed: A: NXDOMAIN: test6.internal.site does not exist; AAAA: NXDOMAIN: test6.internal.site does not exist
(The lego version is the last one that accepts non-https acme servers, up-to-date acme.sh also fails with the forwarded error from the http challenge)
I want to implement the scenario that got implemented with #235. It's working as expected, when
challenge_validation_disable=True, without this any client fails. This seems to be because a2c is replying with the answer of the HTTP-01 challenge, and the failing dns lookup (as there is no dns record for this subdomain) for the internal record. I'm not sure if this is a regression (docs mention the existence ofdns_update_scriptshould force dns)(The lego version is the last one that accepts non-https acme servers, up-to-date acme.sh also fails with the forwarded error from the http challenge)