ddns-scripts: add support for Porkbun
authorAnsel Horn <dev@cahorn.net>
Wed, 17 Jul 2024 19:12:35 +0000 (15:12 -0400)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Thu, 22 Aug 2024 14:02:59 +0000 (16:02 +0200)
commit5f5e6cd179e06758401d7ff09a5bf36cabe3d246
tree7796af9cdb295877dc1b2aebd06fcca3293ab9c9
parent33ecb97bc36c84af184110883b8d32c56bdb6be9
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>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh [new file with mode: 0644]
net/ddns-scripts/files/usr/share/ddns/default/porkbun.com-v3.json [new file with mode: 0644]