From 396d5de72c020fda51c7487a9ffaaa711a6ee467 Mon Sep 17 00:00:00 2001 From: ownaginatious Date: Tue, 15 Oct 2024 02:48:04 -0700 Subject: [PATCH] Retain subdomain when updating existing porkbun DNS record. Signed-off-by: ownaginatious --- net/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh b/net/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh index f1824d9d5be65..91a5552af453a 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/update_porkbun_v3.sh @@ -130,6 +130,7 @@ function edit_record() { local request response json_init json_authenticate + json_add_string "name" "$__SUBDOMAIN" json_add_string "type" "$__TYPE" json_add_string "content" "$__ADDR" request=$(json_dump)