Package Name
ddns-scripts
Maintainer
@feckert
OpenWrt Version
25.12.5
OpenWrt Target/Subtarget
ramips/mt7621
Steps to Reproduce
Using porkbun.com-v3 script with a second level TLD breaks the API requests.
For example sub.domain.co.uk will not update but sub.domaind.tld works fine.
Unsure if this is the same with other providers as the is the only one I use.
Actual Behaviour
IP should update but it fails with error:
173107 : Retrieving DNS A record
173107 : API endpoint URL: https://api.porkbun.com/api/json/v3//dns/retrieve/co.uk
173107 : API request JSON payload: { "apikey": "pk1_", "secretapikey": "PW" }
173108 : API response JSON payload: {"status":"ERROR","message":"Invalid domain.","code":"INVALID_DOMAIN","next_action":{"type":"fix_request","hint":"The domain name is invalid. Check the formatting."},"requestId":"019f707d-010a-7e01-87b0-fa66a78be52a"}
173108 WARN : API request failed! - TERMINATE
173108 : Updating existing DNS A record
173108 : API endpoint URL: https://api.porkbun.com/api/json/v3//dns/retrieve/co.uk/173108
173108 : API request JSON payload: { "apikey": "pk1_", "secretapikey": "PW" }
173110 : API response JSON payload: {"status":"ERROR","message":"Invalid domain.","code":"INVALID_DOMAIN","next_action":{"type":"fix_request","hint":"The domain name is invalid. Check the formatting."},"requestId":"019f707d-06f6-7b8f-a962-1dc45f7ac9a9"}
173110 WARN : API request failed! - TERMINATE
173110 : API endpoint URL: https://api.porkbun.com/api/json/v3//dns/edit/co.uk/ 173108 WARN : API request failed! - TERMINATE
173110 : API request JSON payload: { "apikey": "pk1_", "secretapikey": "PW", "name": "sub.domain", "type": "A", "content": "xxx.xxx.xxx.xxx" }
173110 : API response JSON payload: {"status":"ERROR","message":"Invalid domain.","code":"INVALID_DOMAIN","next_action":{"type":"fix_request","hint":"The domain name is invalid. Check the formatting."},"requestId":"019f707d-06f6-7b8f-a962-1dc45f7ac9a9"}
173110 WARN : API request failed! - TERMINATE
173110 WARN : PID '16380' exit WITH ERROR '1' at 2026-07-17 17:31
Confirmation Checklist
Package Name
ddns-scripts
Maintainer
@feckert
OpenWrt Version
25.12.5
OpenWrt Target/Subtarget
ramips/mt7621
Steps to Reproduce
Using porkbun.com-v3 script with a second level TLD breaks the API requests.
For example sub.domain.co.uk will not update but sub.domaind.tld works fine.
Unsure if this is the same with other providers as the is the only one I use.
Actual Behaviour
IP should update but it fails with error:
173107 : Retrieving DNS A record
173107 : API endpoint URL: https://api.porkbun.com/api/json/v3//dns/retrieve/co.uk
173107 : API request JSON payload: { "apikey": "pk1_", "secretapikey": "PW" }
173108 : API response JSON payload: {"status":"ERROR","message":"Invalid domain.","code":"INVALID_DOMAIN","next_action":{"type":"fix_request","hint":"The domain name is invalid. Check the formatting."},"requestId":"019f707d-010a-7e01-87b0-fa66a78be52a"}
173108 WARN : API request failed! - TERMINATE
173108 : Updating existing DNS A record
173108 : API endpoint URL: https://api.porkbun.com/api/json/v3//dns/retrieve/co.uk/173108
173108 : API request JSON payload: { "apikey": "pk1_", "secretapikey": "PW" }
173110 : API response JSON payload: {"status":"ERROR","message":"Invalid domain.","code":"INVALID_DOMAIN","next_action":{"type":"fix_request","hint":"The domain name is invalid. Check the formatting."},"requestId":"019f707d-06f6-7b8f-a962-1dc45f7ac9a9"}
173110 WARN : API request failed! - TERMINATE
173110 : API endpoint URL: https://api.porkbun.com/api/json/v3//dns/edit/co.uk/ 173108 WARN : API request failed! - TERMINATE
173110 : API request JSON payload: { "apikey": "pk1_", "secretapikey": "PW", "name": "sub.domain", "type": "A", "content": "xxx.xxx.xxx.xxx" }
173110 : API response JSON payload: {"status":"ERROR","message":"Invalid domain.","code":"INVALID_DOMAIN","next_action":{"type":"fix_request","hint":"The domain name is invalid. Check the formatting."},"requestId":"019f707d-06f6-7b8f-a962-1dc45f7ac9a9"}
173110 WARN : API request failed! - TERMINATE
173110 WARN : PID '16380' exit WITH ERROR '1' at 2026-07-17 17:31
Confirmation Checklist