Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is domain delegation supported for dns-01 challenges? #7

Open
guiand888 opened this issue Oct 6, 2023 · 1 comment
Open

Is domain delegation supported for dns-01 challenges? #7

guiand888 opened this issue Oct 6, 2023 · 1 comment

Comments

@guiand888
Copy link

guiand888 commented Oct 6, 2023

Hi,

Just wanted to check if this plugin supports domain delegation for dns-01 challenges?

I have _acme-challenge.test.example.com with a CNAME pointing to porkbundomain.com yet it seems the plugin is trying to add the TXT verification to the zone _acme-challenge.test instead of the zone of the PorkBun domain.

Logs:

caddy-caddy-1  | {"level":"error","ts":1696569199.9004624,"logger":"tls.obtain","msg":"will retry","error":"[test.example.com] Obtain: [test.example.com] solving challenges: presenting for challenge: adding temporary record for zone \"example.com.\": could not create record:({0xc00077e160 vdFcR7IkcQw0295D0e5P3ftv5u1XcFnmMUOyeofTaI4 _acme-challenge.test 600 TXT}) in Zone: example.com; Status: 400; Body: {\"status\":\"ERROR\",\"message\":\"Invalid domain.\"} (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/120920914/11400135134) (ca=https://acme-staging-v02.api.letsencrypt.org/directory)","attempt":1,"retrying_in":60,"elapsed":4.345143409,"max_duration":2592000}

Cheers!

@Niallfitzy1
Copy link
Collaborator

That wasn't something I'd considered during the implementation

I did base it closely off the CloudFlare implementation, so I'd be curious if that module supports it & this doesn't.

If you manage to spot a fix I'd be happy to review it

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

No branches or pull requests

2 participants