From: Stefan Schantl Date: Sat, 21 Jun 2014 16:09:05 +0000 (+0200) Subject: Add Strato as new provider. X-Git-Tag: 001~34 X-Git-Url: http://git.ipfire.org/?p=ddns.git;a=commitdiff_plain;h=7488825c2fcecdcf42888f4a20f9a1b30f6f63e9 Add Strato as new provider. --- diff --git a/ddns.conf.sample b/ddns.conf.sample index 3e73842..9de99a1 100644 --- a/ddns.conf.sample +++ b/ddns.conf.sample @@ -86,6 +86,11 @@ # username = user # password = pass +# [test.strato.com] +# provider = strato.com +# username = user +# password = pass + # [test.lightningwirelabs.com] # provider = dns.lightningwirelabs.com diff --git a/src/ddns/__init__.py b/src/ddns/__init__.py index a764c2c..38b3ad7 100644 --- a/src/ddns/__init__.py +++ b/src/ddns/__init__.py @@ -106,6 +106,7 @@ class DDNSCore(object): DDNSProviderRegfish, DDNSProviderSelfhost, DDNSProviderSPDNS, + DDNSProviderStrato, DDNSProviderVariomedia, ): self.register_provider(provider) diff --git a/src/ddns/providers.py b/src/ddns/providers.py index acd0253..fc03af2 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -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",