net/ddns-scripts: Fix deSEC update URL 4866/head
authorQian Zheng <sotux82@gmail.com>
Thu, 21 Sep 2017 01:10:45 +0000 (09:10 +0800)
committerQian Zheng <sotux82@gmail.com>
Mon, 25 Sep 2017 00:56:46 +0000 (08:56 +0800)
deSEC update API doesn't support http://[USERNAME]:[PASSWORD]@update.dedyn.io/update authorization.

So we need to pass username & password as get parameters.

API ref: https://desec.io/#!/en/docs/update-api-details

Signed-off-by: Qian Zheng <sotux82@gmail.com>
net/ddns-scripts/Makefile
net/ddns-scripts/files/services
net/ddns-scripts/files/services_ipv6

index f1e084904db3e9493a1852cc5e91fcf0c89710df..2d544e94722a1a6935b9de75e103fc1dc975936d 100755 (executable)
@@ -12,7 +12,7 @@ PKG_NAME:=ddns-scripts
 PKG_VERSION:=2.7.6
 # Release == build
 # increase on changes of services files or tld_names.dat
-PKG_RELEASE:=17
+PKG_RELEASE:=18
 
 PKG_LICENSE:=GPL-2.0
 PKG_MAINTAINER:=Christian Schoenebeck <christian.schoenebeck@gmail.com>
index acaa9ad8f7fab882e034473e54106a6371372cc0..1140261fef0fffe7aa13a3c383c7cf5a556556c9 100644 (file)
@@ -60,7 +60,7 @@
 
 "ddo.jp"               "http://free.ddo.jp/dnsupdate.php?dn=[DOMAIN]&pw=[PASSWORD]&ip=[IP]"
 
-"desec.io"             "http://[USERNAME]:[PASSWORD]@update.dedyn.io/?hostname=[DOMAIN]&myipv4=[IP]"   "good|nochg"
+"desec.io"             "http://update.dedyn.io/?username=[USERNAME]&password=[PASSWORD]&hostname=[DOMAIN]&myipv4=[IP]" "good|nochg"
 
 "dhis.org"             "http://[USERNAME]:[PASSWORD]@is.dhis.org/"
 
index 611107d2c82db1714e2aaf1673b88814dd7caf8e..c593aef6487a3999f803a98574234b89598a0d2f 100644 (file)
@@ -50,7 +50,7 @@
 # "ddnss.de"           "http://[USERNAME]:[PASSWORD]@ip6.ddnss.de/upd.php?host=[DOMAIN]&ip6=[IP]"      "good|nochg"
 "ddnss.de"             "http://ip6.ddnss.de/upd.php?user=[USERNAME]&pwd=[PASSWORD]&host=[DOMAIN]&ip6=[IP]"     "good|nochg"
 
-"desec.io"             "http://[USERNAME]:[PASSWORD]@update.dedyn.io/?hostname=[DOMAIN]&myipv6=[IP]"   "good|nochg"
+"desec.io"             "http://update.dedyn.io/?username=[USERNAME]&password=[PASSWORD]&hostname=[DOMAIN]&myipv6=[IP]" "good|nochg"
 
 "dhis.org"             "http://[USERNAME]:[PASSWORD]@is.dhis.org/"