ddns-scripts: add support for Porkbun

Extends DDNS support for the Porkbun v3 JSON API with a custom update
script and service configuration.

See: https://porkbun.com/api/json/v3/documentation

Depends on cURL (with SSL) for transport. Porkbun authentication API keys
and secret keys are passed through the ddns-scripts "username" and
"password" variables, respectively. As Porkbun DNS is currently backed by
Cloudflare, also support ddns-scripts "rec_id" variable for specific
record targeting.

Signed-off-by: Ansel Horn <dev@cahorn.net>
This commit is contained in:
Ansel Horn
2024-07-17 15:12:35 -04:00
committed by Florian Eckert
parent 33ecb97bc3
commit 5f5e6cd179
3 changed files with 208 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{
"name": "porkbun.com-v3",
"ipv4": {
"url": "update_porkbun_v3.sh"
},
"ipv6": {
"url": "update_porkbun_v3.sh"
}
}