Add Strato as new provider.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 21 Jun 2014 16:09:05 +0000 (18:09 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 21 Jun 2014 16:09:05 +0000 (18:09 +0200)
ddns.conf.sample
src/ddns/__init__.py
src/ddns/providers.py

index 3e73842..9de99a1 100644 (file)
 # username = user
 # password = pass
 
+# [test.strato.com]
+# provider = strato.com
+# username = user
+# password = pass
+
 # [test.lightningwirelabs.com]
 # provider = dns.lightningwirelabs.com
 
index a764c2c..38b3ad7 100644 (file)
@@ -106,6 +106,7 @@ class DDNSCore(object):
                        DDNSProviderRegfish,
                        DDNSProviderSelfhost,
                        DDNSProviderSPDNS,
+                       DDNSProviderStrato,
                        DDNSProviderVariomedia,
                ):
                        self.register_provider(provider)
index acd0253..fc03af2 100644 (file)
@@ -782,6 +782,20 @@ class DDNSProviderSPDNS(DDNSProviderDynDNS):
        url = "https://update.spdns.de/nic/update"
 
 
+class DDNSProviderStrato(DDNSProviderDynDNS):
+       INFO = {
+               "handle"    : "strato.com",
+               "name"      : "Strato AG",
+               "website"   : "http:/www.strato.com/",
+               "protocols" : ["ipv4",]
+       }
+
+       # Information about the request and response can be obtained here:
+       # http://www.strato-faq.de/article/671/So-einfach-richten-Sie-DynDNS-f%C3%BCr-Ihre-Domains-ein.html
+
+       url = "https://dyndns.strato.com/nic/update"
+
+
 class DDNSProviderVariomedia(DDNSProviderDynDNS):
        INFO = {
                "handle"   : "variomedia.de",