porkbun dns api update required

fixjunk

Member
Nov 14, 2020
25
16
23
Not sure if this is the right place but after implementing the porkbun dns challenge in proxmox I got this email. I already know this is happening but the plugin needs an update.

Hello there,

The reason you are receiving this email is because you have an API key associated with your account and are sending commands to a deprecated API hostname. We sent a previous warning on 2024-10-11. In order to ensure that any apps or tools you may have that utilize our API continue to work, we wanted to let you know about some upcoming critical updates.

We know these kinds of changes are annoying but the time has come to separate the processing of incoming API commands from our website. In previous documentation the hostname porkbun.com was used for the API but we have recently updated it to api.porkbun.com and in the near future will start enforcing its use. Please update the hostname for our API to api.porkbun.com as soon as possible.


CRITICAL UPDATE DETAILS

Type:
API Hostname Change

Old Value: porkbun.com

New Value: api.porkbun.com

Deadline: 2024-12-01 00:00:00 UTC


Please note that after the deadline, API calls made to the old hostname will no longer be allowed. If you have any questions or concerns please contact support.



Thank you,
The Porkbun Team

Thanks!
 
  • Like
Reactions: Nik0
Good catch @fixjunk
Looks to be located here: /usr/share/proxmox-acme/dnsapi/dns_porkbun.sh
If it's only the URL change then it could be as simple as changing this line at the top:
PORKBUN_Api="https://porkbun.com/api/json/v3"

But unsure if any other things have changed with Porkbun so will wait for proxmox staff to respond
 
I can manually test it out. I'll dig around and see if porkbun.com is referenced anywhere else too.

The catch wasn't mine. They send that email when yo use the soon-to-be-deprecated API URL.
 
  • Like
Reactions: Nik0
Porkbun still broken. No update on bugzilla ticket above.

Updating with just the new "api." fixed it for me on 8.3.2 and 8.3.3.

Adding error text so others can find this:

"Error add txt for domain:"
 
Porkbun still broken. No update on bugzilla ticket above.

Updating with just the new "api." fixed it for me on 8.3.2 and 8.3.3.

Adding error text so others can find this:

"Error add txt for domain:"
as I mentioned in this post:
Post in thread 'porkbun dns api update required'
https://forum.proxmox.com/threads/porkbun-dns-api-update-required.156996/post-719777
just change the url in that file and certs will be renewed on the next try by the associated job.
Promox crew said they would fix it with the next dns plugin refresh but not when