Add EasyDNS as new provider.
authorStefan Schantl <stefan.schantl@ipfire.org>
Mon, 16 Jun 2014 19:50:15 +0000 (21:50 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 16 Jun 2014 19:50:15 +0000 (21:50 +0200)
ddns.conf.sample
src/ddns/__init__.py
src/ddns/providers.py

index bc41f83..654d077 100644 (file)
 # username = user
 # password = pass
 
+# [test.easydns.com]
+# provider = easydns.com
+# username = user
+# password = pass
+
 # [test.freedns.afraid.org]
 # provider = freedns.afraid.org
 # token = token
index 30a1b8a..04e6853 100644 (file)
@@ -95,6 +95,7 @@ class DDNSCore(object):
                        DDNSProviderDNSpark,
                        DDNSProviderDtDNS,
                        DDNSProviderDynDNS,
+                       DDNSProviderEasyDNS,
                        DDNSProviderFreeDNSAfraidOrg,
                        DDNSProviderNOIP,
                        DDNSProviderLightningWireLabs,
index e936d72..2bf1774 100644 (file)
@@ -361,6 +361,21 @@ class DDNSProviderDynDNS(DDNSProvider):
                raise DDNSUpdateError
 
 
+class DDNSProviderEasyDNS(DDNSProviderDynDNS):
+       INFO = {
+               "handle"    : "easydns.com",
+               "name"      : "EasyDNS",
+               "website"   : "http://www.easydns.com/",
+               "protocols" : ["ipv4",]
+       }
+
+       # There is only some basic documentation provided by the vendor,
+       # also searching the web gain very poor results.
+       # http://mediawiki.easydns.com/index.php/Dynamic_DNS
+
+       url = "http://api.cp.easydns.com/dyn/tomato.php"
+
+
 class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
        INFO = {
                "handle"    : "freedns.afraid.org",