From patchwork Sun May 26 07:48:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Stalhut X-Patchwork-Id: 2265 Return-Path: Received: from mail01.ipfire.org (mail01.i.ipfire.org [172.28.1.200]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail01.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web07.i.ipfire.org (Postfix) with ESMTPS id AC30289FA71 for ; Sat, 25 May 2019 22:48:13 +0100 (BST) Received: from mail01.i.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 45BH0r6BgRz51tbw; Sat, 25 May 2019 22:48:12 +0100 (BST) Received: from mail.stalhut-it.de (mail.stalhut-it.de [178.254.6.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 45BH0q05ncz51tbw for ; Sat, 25 May 2019 22:48:10 +0100 (BST) Received: from [192.168.57.144] (p5DD4B555.dip0.t-ipconnect.de [93.212.181.85]) by mail.stalhut-it.de (Postfix) with ESMTPSA id 0C7A73D401A4 for ; Sat, 25 May 2019 23:48:03 +0200 (CEST) Received-SPF: pass (v16146.1blu.de: connection is authenticated) From: Jan Stalhut Subject: [PATCH] add new provider it's DNS (https://www.itsdns.de) To: ddns@lists.ipfire.org Message-ID: <80d9fc05-8163-88d5-e482-08b0a7f7c07e@stalhut.de> Date: Sat, 25 May 2019 23:48:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Language: de-DE Authentication-Results: mail01.ipfire.org; dkim=none; dmarc=none; spf=pass (mail01.ipfire.org: domain of jan@stalhut.de designates 178.254.6.146 as permitted sender) smtp.mailfrom=jan@stalhut.de X-Rspamd-Queue-Id: 45BH0q05ncz51tbw X-Spamd-Result: default: False [-4.34 / 11.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; BAYES_HAM(-3.00)[100.00%]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[ddns@lists.ipfire.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[stalhut.de]; MX_GOOD(-0.01)[mail.stalhut-it.de]; NEURAL_HAM(-1.01)[-0.337,0]; IP_SCORE(-0.02)[country: DE(-0.09)]; RECEIVED_SPAMHAUS_PBL(0.00)[85.181.212.93.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Server: mail01.i.ipfire.org X-BeenThere: ddns@lists.ipfire.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List for the IPFire dynamic DNS client List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ddns-bounces@lists.ipfire.org Sender: "ddns" --- README | 1 + src/ddns/providers.py | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/README b/README index d170858..1c5ffd6 100644 --- a/README +++ b/README @@ -67,6 +67,7 @@ SUPPORTED PROVIDERS: enom.com entrydns.net freedns.afraid.org + itsdns.de joker.com loopia.se myonlineportal.net diff --git a/src/ddns/providers.py b/src/ddns/providers.py index ea723e5..a9a0b03 100644 --- a/src/ddns/providers.py +++ b/src/ddns/providers.py @@ -1108,6 +1108,16 @@ class DDNSProviderFreeDNSAfraidOrg(DDNSProvider): # If we got here, some other update error happened. raise DDNSUpdateError +class DDNSProviderItsdns(DDNSProtocolDynDNS2, DDNSProvider): + handle = "itsdns.de" + name = "it's DNS" + website = "http://www.itsdns.de/" + protocols = ("ipv6", "ipv4") + + # Information about the format of the HTTP request is to be + # found here: https://www.itsdns.de/dynupdatehelp.htm + + url = "https://www.itsdns.de/update.php" class DDNSProviderJoker(DDNSProtocolDynDNS2, DDNSProvider): handle = "joker.com"