]> git.ipfire.org Git - ddns.git/commitdiff
dhs.org: Send request via HTTPS
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 12 Jul 2021 10:35:51 +0000 (12:35 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 12 Jul 2021 10:35:51 +0000 (12:35 +0200)
The provider only supports TLS 1.0 and TLS 1.1 but IMHO this is
even better than sending the auth details as plain text.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/ddns/providers.py

index 79db20a64d4cb7a624d6277e2ce2f2a3bfb9f639..2a4c492ccc4ab8c3c659e7f270fed823545eb5c7 100644 (file)
@@ -689,7 +689,8 @@ class DDNSProviderDHS(DDNSProvider):
        # No information about the used update api provided on webpage,
        # grabed from source code of ez-ipudate.
 
-       url = "http://members.dhs.org/nic/hosts"
+       # Provider currently does not support TLS 1.2.
+       url = "https://members.dhs.org/nic/hosts"
        can_remove_records = False
        supports_token_auth = False