ddns-scripts: Add option 'myip=no' to Dynu IPv6 update URL
authorDimitri Souza <dimitri.souza@gmail.com>
Thu, 20 Feb 2025 15:31:27 +0000 (12:31 -0300)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Fri, 21 Feb 2025 07:17:08 +0000 (08:17 +0100)
Prevents IPv6 updates to also update IPv4 (undesirable when behind a CGNAT)

Signed-off-by: Dimitri Souza <dimitri.souza@gmail.com>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/share/ddns/default/dynu.com.json

index efcb3826d4d601daf04b09248d467cce29d4e576..aa31b1fe9eef45bce160801b17f6ea981b005e06 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.8.2
-PKG_RELEASE:=63
+PKG_RELEASE:=64
 
 PKG_LICENSE:=GPL-2.0
 
index 2c25ea90f425431344bf1ccf72c03ebe34af8e80..c822f2ece80a7470545739cbfdc4c2ef434ae429 100644 (file)
@@ -4,6 +4,6 @@
                "url": "http://api.dynu.com/nic/update?hostname=[DOMAIN]&myip=[IP]&username=[USERNAME]&password=[PASSWORD]"
        },
        "ipv6": {
-               "url": "http://api.dynu.com/nic/update?hostname=[DOMAIN]&myipv6=[IP]&username=[USERNAME]&password=[PASSWORD]"
+               "url": "http://api.dynu.com/nic/update?hostname=[DOMAIN]&myip=no&myipv6=[IP]&username=[USERNAME]&password=[PASSWORD]"
        }
 }