From 6b81b43c62e9ffc8a950469a9250e68412372dea Mon Sep 17 00:00:00 2001 From: Michael Buhr Date: Tue, 14 Oct 2014 23:40:39 +0600 Subject: [PATCH] Add 'xlhost.de' as new provider. --- README | 1 + ddns.conf.sample | 5 +++++ src/ddns/providers.py | 12 ++++++++++++ 3 files changed, 18 insertions(+) diff --git a/README b/README index 69d7e7f..72e7c06 100644 --- a/README +++ b/README @@ -76,6 +76,7 @@ SUPPORTED PROVIDERS: twodns.de udmedia.de variomedia.de + xlhost.de zoneedit.com zzzz.io diff --git a/ddns.conf.sample b/ddns.conf.sample index 7ada339..84c7c8b 100644 --- a/ddns.conf.sample +++ b/ddns.conf.sample @@ -167,6 +167,11 @@ # username = user # password = pass +# [test.xlhost.de] +# provider = xlhost.de +# username = user +# password = pass + # [test.zoneedit.com] # provider = zoneedit.com # username = user diff --git a/src/ddns/providers.py b/src/ddns/providers.py index b30827c..41078af 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -1443,6 +1443,18 @@ class DDNSProviderVariomedia(DDNSProtocolDynDNS2, DDNSProvider): return data +class DDNSProviderXLhost(DDNSProtocolDynDNS2, DDNSProvider): + handle = "xlhost.de" + name = "XLhost" + website = "http://xlhost.de/" + protocols = ("ipv4",) + + # Information about the format of the HTTP request is to be found + # here: https://xlhost.de/faq/index_html?topicId=CQA2ELIPO4SQ + + url = "https://nsupdate.xlhost.de/" + + class DDNSProviderZoneedit(DDNSProvider): handle = "zoneedit.com" name = "Zoneedit" -- 2.39.2