]> git.ipfire.org Git - oddments/ddns.git/commitdiff
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 3e73842058acf7910845c04b9096c691e19766b9..9de99a128fda2b946f2e9313189d3e8a1df96d87 100644 (file)
 # username = user
 # password = pass
 
+# [test.strato.com]
+# provider = strato.com
+# username = user
+# password = pass
+
 # [test.lightningwirelabs.com]
 # provider = dns.lightningwirelabs.com
 
index a764c2ce4804bb9b29c20fb436c79fe02526f51a..38b3ad7014585b26e725aeaf68e73a0452c38343 100644 (file)
@@ -106,6 +106,7 @@ class DDNSCore(object):
                        DDNSProviderRegfish,
                        DDNSProviderSelfhost,
                        DDNSProviderSPDNS,
+                       DDNSProviderStrato,
                        DDNSProviderVariomedia,
                ):
                        self.register_provider(provider)
index acd0253170cacef460799ba39289c7c0bbeb9a41..fc03af2b7eef0a8fd3dc065b7b3302d189ef72be 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",