[1/2] Add new provider INWX (https://www.inwx.com)

Message ID 20190924085834.8080-1-ipfire@starkstromkonsument.de
State Accepted
Commit b39971d15cda39c7a2fbd3edcfccf81ad079abcf
Headers
Series [1/2] Add new provider INWX (https://www.inwx.com) |

Commit Message

Alexander Koch Sept. 24, 2019, 8:58 a.m. UTC
  This includes:

- inwx.com
- inwx.de
- inwx.at
- inwx.ch
- inwx.es

Signed-off-by: Alexander Koch <ipfire@starkstromkonsument.de>
---
 README                |  1 +
 src/ddns/providers.py | 13 +++++++++++++
 2 files changed, 14 insertions(+)
  

Comments

Michael Tremer Sept. 24, 2019, 10:31 a.m. UTC | #1
Okay, I will just ack this again.

Acked-by: Michael Tremer <michael.tremer@ipfire.org>

> On 24 Sep 2019, at 09:58, Alexander Koch <ipfire@starkstromkonsument.de> wrote:
> 
> This includes:
> 
> - inwx.com
> - inwx.de
> - inwx.at
> - inwx.ch
> - inwx.es
> 
> Signed-off-by: Alexander Koch <ipfire@starkstromkonsument.de>
> ---
> README                |  1 +
> src/ddns/providers.py | 13 +++++++++++++
> 2 files changed, 14 insertions(+)
> 
> diff --git a/README b/README
> index b0601a0..0f2798e 100644
> --- a/README
> +++ b/README
> @@ -68,6 +68,7 @@ SUPPORTED PROVIDERS:
> 	enom.com
> 	entrydns.net
> 	freedns.afraid.org
> +	inwx.com|de|at|ch|es
> 	itsdns.de
> 	joker.com
> 	loopia.se
> diff --git a/src/ddns/providers.py b/src/ddns/providers.py
> index 4ffd8bf..dfa4023 100644
> --- a/src/ddns/providers.py
> +++ b/src/ddns/providers.py
> @@ -1129,6 +1129,19 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
> 		raise DDNSUpdateError
> 
> 
> +class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider):
> +		handle    = "inwx.com"
> +		name      = "INWX"
> +		website   = "https://www.inwx.com"
> +		protocols = ("ipv6", "ipv4")
> +
> +		# Information about the format of the HTTP request is to be found
> +		# here: https://www.inwx.com/en/nameserver2/dyndns (requires login)
> +		# Notice: The URL is the same for: inwx.com|de|at|ch|es
> +
> +		url = "https://dyndns.inwx.com/nic/update"
> +
> +
> class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider):
> 		handle    = "itsdns.de"
> 		name      = "it's DNS"
> -- 
> 2.17.1
> 
> _______________________________________________
> ddns mailing list
> ddns@lists.ipfire.org
> https://lists.ipfire.org/mailman/listinfo/ddns
  

Patch

diff --git a/README b/README
index b0601a0..0f2798e 100644
--- a/README
+++ b/README
@@ -68,6 +68,7 @@  SUPPORTED PROVIDERS:
 	enom.com
 	entrydns.net
 	freedns.afraid.org
+	inwx.com|de|at|ch|es
 	itsdns.de
 	joker.com
 	loopia.se
diff --git a/src/ddns/providers.py b/src/ddns/providers.py
index 4ffd8bf..dfa4023 100644
--- a/src/ddns/providers.py
+++ b/src/ddns/providers.py
@@ -1129,6 +1129,19 @@  class DDNSProviderFreeDNSAfraidOrg(DDNSProvider):
 		raise DDNSUpdateError
 
 
+class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider):
+		handle    = "inwx.com"
+		name      = "INWX"
+		website   = "https://www.inwx.com"
+		protocols = ("ipv6", "ipv4")
+
+		# Information about the format of the HTTP request is to be found
+		# here: https://www.inwx.com/en/nameserver2/dyndns (requires login)
+		# Notice: The URL is the same for: inwx.com|de|at|ch|es
+
+		url = "https://dyndns.inwx.com/nic/update"
+
+
 class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider):
 		handle    = "itsdns.de"
 		name      = "it's DNS"