Add Udmedia as new provider.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 21 Jun 2014 15:08:20 +0000 (17:08 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 21 Jun 2014 15:08:20 +0000 (17:08 +0200)
ddns.conf.sample
src/ddns/__init__.py
src/ddns/providers.py

index 3e73842..b984ea5 100644 (file)
 # username = user
 # password = pass
 
+# [test.udmedia.de]
+# provider = udmedia.de
+# username = user
+# password = pass
+
 # [test.variomedia.de]
 # provider = variomedia.de
 # username = user
index a764c2c..413215b 100644 (file)
@@ -106,6 +106,7 @@ class DDNSCore(object):
                        DDNSProviderRegfish,
                        DDNSProviderSelfhost,
                        DDNSProviderSPDNS,
+                       DDNSProviderUdmedia,
                        DDNSProviderVariomedia,
                ):
                        self.register_provider(provider)
index acd0253..c027c39 100644 (file)
@@ -782,6 +782,20 @@ class DDNSProviderSPDNS(DDNSProviderDynDNS):
        url = "https://update.spdns.de/nic/update"
 
 
+class DDNSProviderUdmedia(DDNSProviderDynDNS):
+       INFO = {
+               "handle"    : "udmedia.de",
+               "name"      : "Udmedia GmbH",
+               "website"   : "http://www.udmedia.de",
+               "protocols" : ["ipv4",]
+       }
+
+       # Information about the request can be found here
+       # http://www.udmedia.de/faq/content/47/288/de/wie-lege-ich-einen-dyndns_eintrag-an.html
+
+       url = "https://www.udmedia.de/nic/update"
+
+
 class DDNSProviderVariomedia(DDNSProviderDynDNS):
        INFO = {
                "handle"   : "variomedia.de",