ddns: Prevent clearing of desec.io entries
authorBaptiste Fouques <bateast@duck.com>
Tue, 25 Apr 2023 10:01:47 +0000 (12:01 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 18 Oct 2023 07:46:23 +0000 (09:46 +0200)
When using both ipv4 and ipv6 entries on the same host, ddns is clearing A
(or AAAA) record depending on the connection (ipv4 or ipv6).

see https://desec.readthedocs.io/en/latest/dyndns/update-api.html#determine-ip-addresses

Signed-off-by: Baptiste Fouques <bateast@duck.com>
Update comment and bump PKG_RELEASE number.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 1ea13ed8a168459568e1ce831db3c1ddf63b8905)

net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/share/ddns/default/desec.io.json

index 19bebeef045431b144a382dbc01579e73262b82c..1512fa31b527066ed9fea1e4bb8606e71aede24f 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.8.2
-PKG_RELEASE:=37
+PKG_RELEASE:=38
 
 PKG_LICENSE:=GPL-2.0
 
index 227762ef67a7675800c91066e76743cb280a359c..4d3d217205caff8cf396104ad0d58361bc413d37 100644 (file)
@@ -1,11 +1,11 @@
 {
        "name": "desec.io",
        "ipv4": {
-               "url": "http://update.dedyn.io/update?username=[USERNAME]&password=[PASSWORD]&hostname=[DOMAIN]&myipv4=[IP]",
+               "url": "http://update.dedyn.io/update?username=[USERNAME]&password=[PASSWORD]&hostname=[DOMAIN]&myipv4=[IP]&myipv6=preserve",
                "answer": "good|nochg"
        },
        "ipv6": {
-               "url": "http://update.dedyn.io/update?username=[USERNAME]&password=[PASSWORD]&hostname=[DOMAIN]&myipv6=[IP]",
+               "url": "http://update.dedyn.io/update?username=[USERNAME]&password=[PASSWORD]&hostname=[DOMAIN]&myipv6=[IP]&myipv4=preserve",
                "answer": "good|nochg"
        }
 }