Add support for DuckDNS
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Jan 2016 01:05:22 +0000 (01:05 +0000)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 2 May 2016 19:45:00 +0000 (21:45 +0200)
Fixes #11015

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
README
src/ddns/providers.py

diff --git a/README b/README
index 9e924a1..d8027a4 100644 (file)
--- a/README
+++ b/README
@@ -58,6 +58,7 @@ SUPPORTED PROVIDERS:
        domains.google.com
        domopoli.de
        dtdns.com
+       duckdns.org
        dyndns.org
        dyns.cx|net
        dynu.com
index c653aa5..5f4dac8 100644 (file)
@@ -816,6 +816,18 @@ class DDNSProviderDtDNS(DDNSProvider):
                raise DDNSUpdateError
 
 
+class DDNSProviderDuckDNS(DDNSProtocolDynDNS2, DDNSProvider):
+       handle    = "duckdns.org"
+       name      = "Duck DNS"
+       website   = "http://www.duckdns.org/"
+       protocols = ("ipv4",)
+
+       # Information about the format of the request is to be found
+       # https://www.duckdns.org/install.jsp
+
+       url = "https://www.duckdns.org/nic/update"
+
+
 class DDNSProviderDynDNS(DDNSProtocolDynDNS2, DDNSProvider):
        handle    = "dyndns.org"
        name      = "Dyn"