Merge ac212997dd9684a33e0311ac8717133efd9d7735 into 3d8b682380773f01df0e5abc2ef582c30c663010

This commit is contained in:
Andrew V. 2025-06-06 01:34:02 +08:00 committed by GitHub
commit f029eeb0d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,9 @@ dns_pdns_add() {
PDNS_Ttl="$DEFAULT_PDNS_TTL"
fi
# Ensure PDNS_Url has no trailing slash ('/')
PDNS_Url="${PDNS_Url%/}"
#save the api addr and key to the account conf file.
_saveaccountconf_mutable PDNS_Url "$PDNS_Url"
_saveaccountconf_mutable PDNS_ServerId "$PDNS_ServerId"