mirror of
https://github.com/openwrt/packages.git
synced 2025-12-18 08:31:19 +00:00
ddns-scripts: porkbun bugfix for subdomain on A/AAAA record
If the "name" parameter is not provided, then updates to a subdomain A/AAAA record result in the subdomain being removed from the record. This change always provides the "name" parameter to correct that behavior. Signed-off-by: Dillon Dixon <github@dillon.io>
This commit is contained in:
committed by
Florian Eckert
parent
0a0680af1d
commit
b3d9e90942
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user