ddns-scripts: Accept 'good|nochg' for IPv4/IPv6 in ydns.io.json

Signed-off-by: Bei Lin <UVOEOO8@outlook.com>
This commit is contained in:
Bei Lin
2025-02-18 21:28:44 +08:00
committed by Florian Eckert
parent 6b85671450
commit 0a2746c6d6
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2 PKG_VERSION:=2.8.2
PKG_RELEASE:=62 PKG_RELEASE:=63
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0

View File

@@ -2,10 +2,10 @@
"name": "ydns.io", "name": "ydns.io",
"ipv4": { "ipv4": {
"url": "https://[USERNAME]:[PASSWORD]@ydns.io/api/v1/update/?host=[DOMAIN]&ip=[IP]", "url": "https://[USERNAME]:[PASSWORD]@ydns.io/api/v1/update/?host=[DOMAIN]&ip=[IP]",
"answer": "good" "answer": "good|nochg"
}, },
"ipv6": { "ipv6": {
"url": "https://[USERNAME]:[PASSWORD]@ydns.io/api/v1/update/?host=[DOMAIN]&ip=[IP]", "url": "https://[USERNAME]:[PASSWORD]@ydns.io/api/v1/update/?host=[DOMAIN]&ip=[IP]",
"answer": "good" "answer": "good|nochg"
} }
} }