Skip to content

Fix validator resolution regression for non-delegated challenges#21

Merged
bhillkeyfactor merged 1 commit into
dnspluginsfrom
cname-delegation-dnsplugins
Jul 7, 2026
Merged

Fix validator resolution regression for non-delegated challenges#21
bhillkeyfactor merged 1 commit into
dnspluginsfrom
cname-delegation-dnsplugins

Conversation

@bhillkeyfactor

Copy link
Copy Markdown
Collaborator

The framework's ResolveDomainValidator matches configured provider domain patterns (e.g. *.zone.com) against the certificate/zone name, not the _acme-challenge record name. Resolving on the raw resolved record name broke the non-delegated path because the _acme-challenge prefix fails the one-level wildcard match.

Resolve the validator on the cert domain when no CNAME delegation exists, and on the resolved terminal target when it does, so both the direct and cross-zone delegated cases select the correct provider.

The framework's ResolveDomainValidator matches configured provider
domain patterns (e.g. *.zone.com) against the certificate/zone name,
not the _acme-challenge record name. Resolving on the raw resolved
record name broke the non-delegated path because the _acme-challenge
prefix fails the one-level wildcard match.

Resolve the validator on the cert domain when no CNAME delegation
exists, and on the resolved terminal target when it does, so both the
direct and cross-zone delegated cases select the correct provider.
@bhillkeyfactor bhillkeyfactor merged commit c83942b into dnsplugins Jul 7, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant