Add loopia.se as new provider.
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 18 Feb 2015 17:04:40 +0000 (18:04 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 18 Feb 2015 17:04:40 +0000 (18:04 +0100)
Fixes #10744.

README
ddns.conf.sample
src/ddns/providers.py

diff --git a/README b/README
index 72e7c06..68a5159 100644 (file)
--- a/README
+++ b/README
@@ -63,6 +63,7 @@ SUPPORTED PROVIDERS:
        enom.com
        entrydns.net
        freedns.afraid.org
+       loopia.se
        myonlineportal.net
        namecheap.com
        no-ip.com
index 84c7c8b..96d0a9c 100644 (file)
 # provider = freedns.afraid.org
 # token = token
 
+# [test.loopia.se]
+# provider = loopia.se
+# username = user
+# password = pass
+
 # [test.myonlineportal.net]
 # provider = myonlineportal.net
 # username = user
index 41078af..2005a62 100644 (file)
@@ -1091,6 +1091,18 @@ class DDNSProviderLightningWireLabs(DDNSProvider):
                raise DDNSUpdateError
 
 
+class DDNSProviderLoopia(DDNSProtocolDynDNS2, DDNSProvider):
+       handle    = "loopia.se"
+       name      = "Loopia AB"
+       website   = "https://www.loopia.com"
+       protocols = ("ipv4",)
+
+       # Information about the format of the HTTP request is to be found
+       # here: https://support.loopia.com/wiki/About_the_DynDNS_support
+
+       url = "https://dns.loopia.se/XDynDNSServer/XDynDNS.php"
+
+
 class DDNSProviderMyOnlinePortal(DDNSProtocolDynDNS2, DDNSProvider):
        handle    = "myonlineportal.net"
        name      = "myonlineportal.net"