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

pdns: Regression with changes introduced in #1679 #1780

Closed
3 tasks done
melck opened this issue Dec 7, 2022 · 0 comments · Fixed by #1781
Closed
3 tasks done

pdns: Regression with changes introduced in #1679 #1780

melck opened this issue Dec 7, 2022 · 0 comments · Fixed by #1781

Comments

@melck
Copy link
Contributor

melck commented Dec 7, 2022

Welcome

  • Yes, I'm using a binary release within 2 latest releases.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, etc).

What did you expect to see?

A dns challenge for a pdns native zone doesn't not work anymore, whereas it worked in previous version.

What did you see instead?

Changes introduced in #1679 only works when pdns Zone are kind of Master or Slave.

Updating a pdns native zone doesn't works anymore, because of the notify request where server respond HTTP 400 as documentation explainshttps://doc.powerdns.com/authoritative/http-api/zone.html#put--servers-server_id-zones-zone_id-notify.

How do you use lego?

Through Traefik

Reproduction steps

  1. Create a native zone une pdns
  2. Try to and let's encrypt certifactes with dns challenge on this zone
  3. Wait for Traefik to show a error

Version of lego

4.9.0 and 4.9.1

Logs

error: one or more domains had a problem:

[*.renamed.domain] [*.renamed.domain] acme: error presenting token: pdns: unexpected HTTP status code 400 when PUTing 'https://renamed-pdns-01.domain/api/v1/servers/localhost/zones/renamed.domain./notify'
[renamed.domain] [renamed.domain] acme: error presenting token: pdns: unexpected HTTP status code 400 when PUTing 'https://renamed-pdns-01.domain/api/v1/servers/localhost/zones/renamed.domain./notify'

Go environment (if applicable)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants