From: Michael Buhr Date: Tue, 14 Oct 2014 17:40:39 +0000 (+0600) Subject: Add 'xlhost.de' as new provider. X-Git-Tag: 006~2 X-Git-Url: http://git.ipfire.org/?p=ddns.git;a=commitdiff_plain;h=6b81b43c62e9ffc8a950469a9250e68412372dea Add 'xlhost.de' as new provider. --- 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"