]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/ddns-012-noip-rename-provider.patch
Merge branch 'next'
[people/pmueller/ipfire-2.x.git] / src / patches / ddns-012-noip-rename-provider.patch
1 commit bfdba55a5eeb3dac5ed35ff72b6c74b941da6445
2 Author: Stefan Schantl <stefan.schantl@ipfire.org>
3 Date: Tue Nov 5 19:09:53 2019 +0100
4
5 No-IP.com: Rename provider and handle to NoIP.com
6
7 Fixes #11561.
8
9 Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
10
11 diff --git a/README b/README
12 index 76f63bc..c75c448 100644
13 --- a/README
14 +++ b/README
15 @@ -75,7 +75,7 @@ SUPPORTED PROVIDERS:
16 loopia.se
17 myonlineportal.net
18 namecheap.com
19 - no-ip.com
20 + noip.com
21 now-dns.com
22 nsupdate.info
23 opendns.com
24 diff --git a/ddns.conf.sample b/ddns.conf.sample
25 index 5b3b845..528684f 100644
26 --- a/ddns.conf.sample
27 +++ b/ddns.conf.sample
28 @@ -119,8 +119,8 @@
29 # provider = namecheap.com
30 # password = pass
31
32 -# [test.no-ip.org]
33 -# provider = no-ip.com
34 +# [test.noip.org]
35 +# provider = noip.com
36 # username = user
37 # password = pass
38
39 diff --git a/src/ddns/providers.py b/src/ddns/providers.py
40 index f3c62c1..4789107 100644
41 --- a/src/ddns/providers.py
42 +++ b/src/ddns/providers.py
43 @@ -1344,16 +1344,16 @@ class DDNSProviderNamecheap(DDNSResponseParserXML, DDNSProvider):
44
45
46 class DDNSProviderNOIP(DDNSProtocolDynDNS2, DDNSProvider):
47 - handle = "no-ip.com"
48 - name = "No-IP"
49 - website = "http://www.no-ip.com/"
50 + handle = "noip.com"
51 + name = "NoIP"
52 + website = "http://www.noip.com/"
53 protocols = ("ipv4",)
54
55 # Information about the format of the HTTP request is to be found
56 - # here: http://www.no-ip.com/integrate/request and
57 - # here: http://www.no-ip.com/integrate/response
58 + # here: http://www.noip.com/integrate/request and
59 + # here: http://www.noip.com/integrate/response
60
61 - url = "http://dynupdate.no-ip.com/nic/update"
62 + url = "http://dynupdate.noip.com/nic/update"
63
64 def prepare_request_data(self, proto):
65 assert proto == "ipv4"