ddns-scripts: Add IPv6 and https for OVH
authorKarol Kolacinski <kolacinskikarol@live.com>
Tue, 20 Aug 2024 16:57:17 +0000 (18:57 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 22 Aug 2024 06:26:28 +0000 (08:26 +0200)
ovh.com supports https and IPv6 since March 2024.
New API operates under domain dns.eu.ovhapis.com
Add IPv6 support, use https and updated domain for ovh.com.

Signed-off-by: Karol Kolacinski <kolacinskikarol@live.com>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/share/ddns/default/ovh.com.json

index 668775522c935c658a779b412f55819af6daf62a..6233377d0ec98705a57065ac84e2bf9dadceabb0 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.8.2
-PKG_RELEASE:=46
+PKG_RELEASE:=47
 
 PKG_LICENSE:=GPL-2.0
 
index 92f2066a6eafafeea05e66f3b7c3e3d757614adc..446093bcecd5d136282cc6722d30e1b60749afdd 100644 (file)
@@ -1,7 +1,11 @@
 {
        "name": "ovh.com",
        "ipv4": {
-               "url": "http://[USERNAME]:[PASSWORD]@www.ovh.com/nic/update?system=dyndns&hostname=[DOMAIN]&myip=[IP]",
+               "url": "https://[USERNAME]:[PASSWORD]@dns.eu.ovhapis.com/nic/update?system=dyndns&hostname=[DOMAIN]&myip=[IP]",
+               "answer": "good|nochg"
+       },
+       "ipv6": {
+               "url": "https://[USERNAME]:[PASSWORD]@dns.eu.ovhapis.com/nic/update?system=dyndns&hostname=[DOMAIN]&myip=[IP]",
                "answer": "good|nochg"
        }
 }