]> git.ipfire.org Git - ddns.git/commitdiff
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 9e924a18c6fdf524da6bd7f324dcff83fa013a4c..d8027a441f8a1cbb4fdbf7e07db0a24296738a21 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 c653aa52d9e0d0c69215a56a5c57bdee9b38ab2f..5f4dac87eab1cbac550876ca15bfc3a67dc45976 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"