Bug: Porkbun outdated API Hostname #497

Closed
opened 2025-11-20 04:24:34 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @jezh42 on GitHub (Feb 21, 2025).

Porkbun no longer uses "porkbun.com" for API access, it uses "api.porkbun.com". Returns 403 now, as per https://porkbun.com/api/json/v3/documentation#apiHost

  1. Is this urgent: Yes
  2. DNS provider(s) you use: Porkbun
  3. Program version: Running version 2.6.0 built on 2024-02-03T18:53:40.722Z (commit c338c28)
  4. What are you using to run the container: docker-compose
  5. Extra information (optional)

Logs:

ddns-updater  | 2025-02-21T15:12:51Z DEBUG POST https://porkbun.com/api/json/v3/dns/retrieveByNameType/jezh42.com/A/ | headers: Content-Type: application/json; Accept: application/json; User-Agent: DDNS-Updater quentin.mcgaw@gmail.com | body: {"secretapikey":"sk1_redacted","apikey":"pk1_redacted"}
ddns-updater  | 2025-02-21T15:12:52Z DEBUG 403 Forbidden | headers: Date: Fri, 21 Feb 2025 15:12:52 GMT; Content-Type: text/html; Content-Length: 118; Server: awselb/2.0 | body: 
403 Forbidden

Configuration file (remove your credentials!):

{
  "settings": [
    {
      "provider": "porkbun",
      "domain": "jezh42.com",
      "api_key": "pk1_redacted",
      "secret_api_key": "sk1_redacted",
      "ip_version": "ipv4",
      "ipv6_suffix": ""
    }
  ]
}

Host OS: Debian 11 (CasaOS)

Originally created by @jezh42 on GitHub (Feb 21, 2025). Porkbun no longer uses "porkbun.com" for API access, it uses "api.porkbun.com". Returns 403 now, as per https://porkbun.com/api/json/v3/documentation#apiHost 1. Is this urgent: Yes 2. DNS provider(s) you use: Porkbun 3. Program version: Running version 2.6.0 built on 2024-02-03T18:53:40.722Z (commit c338c28) 4. What are you using to run the container: docker-compose 5. Extra information (optional) Logs: ```log ddns-updater | 2025-02-21T15:12:51Z DEBUG POST https://porkbun.com/api/json/v3/dns/retrieveByNameType/jezh42.com/A/ | headers: Content-Type: application/json; Accept: application/json; User-Agent: DDNS-Updater quentin.mcgaw@gmail.com | body: {"secretapikey":"sk1_redacted","apikey":"pk1_redacted"} ddns-updater | 2025-02-21T15:12:52Z DEBUG 403 Forbidden | headers: Date: Fri, 21 Feb 2025 15:12:52 GMT; Content-Type: text/html; Content-Length: 118; Server: awselb/2.0 | body: 403 Forbidden ``` Configuration file (**remove your credentials!**): ```json { "settings": [ { "provider": "porkbun", "domain": "jezh42.com", "api_key": "pk1_redacted", "secret_api_key": "sk1_redacted", "ip_version": "ipv4", "ipv6_suffix": "" } ] } ``` Host OS: Debian 11 (CasaOS)
Author
Owner

@dr3wballard commented on GitHub (Mar 7, 2025):

It looks like this should have been fixed in v2.9.0?
https://github.com/qdm12/ddns-updater/pull/837

@dr3wballard commented on GitHub (Mar 7, 2025): It looks like this should have been fixed in v2.9.0? https://github.com/qdm12/ddns-updater/pull/837
Author
Owner

@bentemple commented on GitHub (Apr 16, 2025):

Yep, Fixed in #837 / 2.9.0

@bentemple commented on GitHub (Apr 16, 2025): Yep, Fixed in #837 / 2.9.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#497