Add joker.com as new provider.
authorLeo-Andres Hoffmann <hofmann@leo-andres.de>
Tue, 31 Mar 2015 20:23:14 +0000 (22:23 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 31 Mar 2015 20:26:11 +0000 (22:26 +0200)
commit 0ad7929664513caf1e03b93af2ae4cdcf04a80ef
Author: Leo-Andres <hofmann@leo-andres.de>
Date:   Tue Mar 17 01:55:27 2015 +0100

    Add provider joker.com

commit 4eb19f1c582aa32c08d150744449771ad7566eab
Author: Leo-Andres <hofmann@leo-andres.de>
Date:   Tue Mar 17 01:54:52 2015 +0100

    Add provider joker.com

commit 0d3d890bc94b3eec49d44f87d66033c622b5bfd9
Author: Leo-Andres <hofmann@leo-andres.de>
Date:   Tue Mar 17 01:54:15 2015 +0100

    Add provider joker.com

README
ddns.conf.sample
src/ddns/providers.py

diff --git a/README b/README
index 5636133..4ae3883 100644 (file)
--- a/README
+++ b/README
@@ -64,6 +64,7 @@ SUPPORTED PROVIDERS:
        enom.com
        entrydns.net
        freedns.afraid.org
+       joker.com
        loopia.se
        myonlineportal.net
        namecheap.com
index 7a19c9c..0cab899 100644 (file)
 # provider = freedns.afraid.org
 # token = token
 
+# [test.joker.com]
+# provider = joker.com
+# username = user
+# password = pass
+
 # [test.google.com]
 # provider = domains.google.com
 # username = user
index 5f78cfc..28b765b 100644 (file)
@@ -1048,6 +1048,19 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
                raise DDNSUpdateError
 
 
+class DDNSProviderJoker(DDNSProtocolDynDNS2, DDNSProvider):
+               handle  = "joker.com"
+               name    = "Joker.com Dynamic DNS"
+               website = "https://joker.com/"
+               protocols = ("ipv4",)
+
+               # Information about the request can be found here:
+               # https://joker.com/faq/content/11/427/en/what-is-dynamic-dns-dyndns.html
+               # Using DynDNS V2 protocol over HTTPS here
+
+               url = "https://svc.joker.com/nic/update"
+
+
 class DDNSProviderGoogle(DDNSProtocolDynDNS2, DDNSProvider):
         handle    = "domains.google.com"
         name      = "Google Domains"