From fc91be92269f9b4662b6586cfde73ee04b061367 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 15 Jan 2016 01:05:22 +0000 Subject: [PATCH] Add support for DuckDNS Fixes #11015 Signed-off-by: Michael Tremer Signed-off-by: Stefan Schantl --- README | 1 + src/ddns/providers.py | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/README b/README index 9e924a1..d8027a4 100644 --- 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 diff --git a/src/ddns/providers.py b/src/ddns/providers.py index c653aa5..5f4dac8 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -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" -- 2.39.2