Add support for now-dns.com
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 22 Feb 2017 09:10:51 +0000 (10:10 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Wed, 22 Feb 2017 09:10:51 +0000 (10:10 +0100)
Fixes #11132

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
README
ddns.conf.sample
src/ddns/providers.py

diff --git a/README b/README
index ebb647f..cc53635 100644 (file)
--- a/README
+++ b/README
@@ -71,6 +71,7 @@ SUPPORTED PROVIDERS:
        myonlineportal.net
        namecheap.com
        no-ip.com
+       now-dns.com
        nsupdate.info
        opendns.com
        ovh.com
index bc42319..5b3b845 100644 (file)
 # username = user
 # password = pass
 
+# [test.now-dns.com]
+# provider = now-dns.com
+# username = user
+# password = pass
+
 # [test.nsupdate.info]
 # provider = nsupdate.info
 # token = token
index 01d7827..33238fb 100644 (file)
@@ -1271,6 +1271,19 @@ class DDNSProviderNOIP(DDNSProtocolDynDNS2, DDNSProvider):
                return data
 
 
+class DDNSProviderNowDNS(DDNSProtocolDynDNS2, DDNSProvider):
+       handle    = "now-dns.com"
+       name      = "NOW-DNS"
+       website   = "http://now-dns.com/"
+       protocols = ("ipv6", "ipv4")
+
+       # Information about the format of the request is to be found
+       # but only can be accessed by register an account and login
+       # https://now-dns.com/?m=api
+
+       url = "https://now-dns.com/update"
+
+
 class DDNSProviderNsupdateINFO(DDNSProtocolDynDNS2, DDNSProvider):
        handle    = "nsupdate.info"
        name      = "nsupdate.info"