From 1ea13ed8a168459568e1ce831db3c1ddf63b8905 Mon Sep 17 00:00:00 2001 From: Baptiste Fouques Date: Tue, 25 Apr 2023 12:01:47 +0200 Subject: [PATCH] ddns: Prevent clearing of desec.io entries 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 Update comment and bump PKG_RELEASE number. Signed-off-by: Florian Eckert --- net/ddns-scripts/Makefile | 2 +- net/ddns-scripts/files/usr/share/ddns/default/desec.io.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index 19bebeef0..1512fa31b 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -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 diff --git a/net/ddns-scripts/files/usr/share/ddns/default/desec.io.json b/net/ddns-scripts/files/usr/share/ddns/default/desec.io.json index 227762ef6..4d3d21720 100644 --- a/net/ddns-scripts/files/usr/share/ddns/default/desec.io.json +++ b/net/ddns-scripts/files/usr/share/ddns/default/desec.io.json @@ -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" } }