ddns-scripts: Change parameter for myonlineportal
authorGerald Hansen <gerald.hansen@cloud.ionos.com>
Fri, 22 Jan 2021 19:23:27 +0000 (20:23 +0100)
committerGerald Hansen <gerald.hansen@posteo.de>
Tue, 26 Jan 2021 10:24:08 +0000 (11:24 +0100)
As the default uclient-fetch doesn't support authentication header
and the ddns provider myonlineportal.net support also username and
passwort as url parameter this can be changed.

Signed-off-by: Gerald Hansen <gerald.hansen@cloud.ionos.com>
net/ddns-scripts/files/usr/share/ddns/default/myonlineportal.net.json

index 08804e5c8556828d752fc77543f1a8c3c7b2dc10..b3196d6d6811320c5053174d3a4ea4e71287b2e7 100644 (file)
@@ -1,11 +1,11 @@
 {
        "name": "myonlineportal.net",
        "ipv4": {
-               "url": "http://[USERNAME]:[PASSWORD]@myonlineportal.net/updateddns?hostname=[DOMAIN]&ip=[IP]",
+               "url": "http://myonlineportal.net/updateddns?hostname=[DOMAIN]&ip=[IP]&username=[USERNAME]&password=[PASSWORD]",
                "answer": "good|nochg"
        },
        "ipv6": {
-               "url": "http://[USERNAME]:[PASSWORD]@myonlineportal.net/updateddns?hostname=[DOMAIN]&ip6=[IP]",
+               "url": "http://myonlineportal.net/updateddns?hostname=[DOMAIN]&ip6=[IP]&username=[USERNAME]&password=[PASSWORD]",
                "answer": "good|nochg"
        }
 }