From: Rouven Schürch Date: Sun, 21 Apr 2024 11:11:52 +0000 (+0200) Subject: chore: add provider and sample configuration for infomaniak.ch X-Git-Url: http://git.ipfire.org/?p=oddments%2Fddns.git;a=commitdiff_plain chore: add provider and sample configuration for infomaniak.ch Signed-off-by: Rouven Schürch Signed-off-by: Michael Tremer --- diff --git a/ddns.conf.sample b/ddns.conf.sample index f93c738..f1adf5d 100644 --- a/ddns.conf.sample +++ b/ddns.conf.sample @@ -105,12 +105,16 @@ # username = key # password = secret - # [test.google.com] # provider = domains.google.com # username = user # password = pass +# [test.infomaniak.ch] +# provider = infomaniak.ch +# username = user +# password = pass + # [test.loopia.se] # provider = loopia.se # username = user diff --git a/src/ddns/providers.py b/src/ddns/providers.py index 8025720..59f9665 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -2005,3 +2005,15 @@ class DDNSProviderZZZZ(DDNSProvider): # If we got here, some other update error happened. raise DDNSUpdateError + +class DDNSProviderInfomaniak(DDNSProtocolDynDNS2, DDNSProvider): + handle = "infomaniak.ch" + name = "infomaniak" + website = "https://www.infomaniak.ch" + protocols = ("ipv4",) + + # Detailed information about how to send the update request and possible response + # codes can be obtained from here. + # https://www.infomaniak.com/de/support/faq/2376/dyndns-aktualisieren-eines-dynamischen-dns-uber-die-api + + url = "https://infomaniak.com/nic/update"