Commit Graph

251 Commits

Author SHA1 Message Date
Florian Eckert a4b13ba1dd ddns-scripts: update freedns.42.pl to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert 7a41ef8283 ddns-scripts: update cloudflare.com-v4 to json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert 46991fb58c ddns-scripts: update install for service provider json files
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert 5229d8f954 ddns-scripts: convert ddns service provider files into json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Florian Eckert 1b3bb98fcf ddns-scripts: load ddsn service provider parameter from json
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-21 10:17:01 +02:00
Norman Gehrsitz aa8ee7e440 ddns-scripts: cloudflare.com-v4: Simplify Bearer Token support
Signed-off-by: Norman Gehrsitz <gehrsitz.norman@student.dhbw-kahlsruhe.de>
2020-08-18 11:06:34 +02:00
Mateusz Stępień f778b1eea3 ddns-scripts: Add moniker.com DDNS service
Signed-off-by: Mateusz Stępień <mateusz@argc.pl>
2020-08-16 17:42:05 +02:00
Paul Spooren 30ea917518 treewide: replace `which` with `command -v`
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-09 13:58:14 -10:00
Frank Zhang bf1d880c24 ddns-scripts: Added api token method for cloudflare ddns script v4
Update cloudflare token ddns file

Signed-off-by: Frank Zhang <i@xjboss.net>
2020-06-21 16:08:22 +08:00
Jeroen Peelaerts e297ffbe34 ddns-scripts: Add digitalocean as DDNS provider
Signed-off-by: Jeroen Peelaerts <jeroen.peelaerts@gmail.com>
2020-05-03 00:15:13 +02:00
Zheng Luo 88b03577c4 ddns-scripts: cloudflare.com-v4: Fix grep patterns.
Related commit: 0080bb4b

Use `\s*` instead of ` \?` to match 0 or multiple spaces.

Signed-off-by: Zheng Luo <cherrotluo@gmail.com>
2020-04-29 16:22:59 +08:00
Michael Gray 0080bb4bba ddns-scripts: cloudflare.com-v4: Fix success check for new response format
JSON response now has spaces between parameters. Accept this new format and the old one.

Signed-off-by: Michael Gray <michael.gray@lantisproject.com>
2020-04-25 17:36:51 +10:00
Chip Lee 066b8b427a ddns-scripts: Append ddns script for cnkuai.cn
A low-cost domain name service provider in China

Signed-off-by: Chip Lee <chplee@gmail.com>
2020-03-21 20:31:05 +08:00
Rosen Penev 19db7c08cc
ddns-scripts: bump package version
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-28 15:33:46 -08:00
Rosen Penev bf68826897
ddns-scripts: fix logging bug
Fixes issue #11282, this patch was provided by PaulFertser on the #openwrt
IRC.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-28 15:33:05 -08:00
Rosen Penev 635339663b
Revert "ddns-scripts: Fixed HE (hurricane electric) to tunnelbroker.net"
This reverts commit 3dbdd67cf9.

This is totally wrong. tunnelbroker.net is completely different.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-30 16:23:13 -08:00
Rosen Penev 81d67a21b1
Revert "ddns-scripts: fix cloudflare.com-v4"
This reverts commit 67e2efb301.

This is totally wrong. The actual bug is in the luci app.
2020-01-30 16:20:56 -08:00
Rosen Penev da57ac0f39 ddns-scripts: use HTTP for IPv6 dyndns URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 22:20:27 -08:00
Rosen Penev fdfe5a7607 ddns-scripts: remove HTTPS from dyndns URL
HTTPS support is not provided by default.

Also fixed a mistakenly added ].

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 22:17:26 -08:00
Rosen Penev a0fa14360c
ddns-scripts: use new DDNS URL for dyndns.org
https://github.com/openwrt/packages/issues/8360

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Rosen Penev 4128151843
ddns-scripts: update ddnss.de response
https://github.com/openwrt/packages/issues/8013

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Rosen Penev 67e2efb301
ddns-scripts: fix cloudflare.com-v4
https://github.com/openwrt/packages/issues/11042

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Euler Alves 3dbdd67cf9
ddns-scripts: Fixed HE (hurricane electric) to tunnelbroker.net
Hurricane Electric provides a free IPv6inIPv4 tunnel. It changed its ipv4 ddns service, fully needed to keep the ipv6 tunnel up,  to the domain tunnelbroker.net. Besides, the old he.net script was bugged because it doesn't had a [USERNAME] placement but instead two [DOMAIN].  The new tunnelbroker.net update URL, still provided by Hurricane Electric, is https://[USERNAME]:[PASSWORD]@ipv4.tunnelbroker.net/nic/update?hostname=[DOMAIN]&myip=[IP] and it gets the response good or nochg

Signed-off-by: Euler Alves <euler@alves.pro.br>
(fixed-signed-off-by and prefixed)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:15 -08:00
Euler Alves 7e5a43228f
ddns-scripts: Incremented PKG_RELEASE: fix in files/services
PKG_RELEASE was incremented to 15 because of a fix in files/services

Signed-off-by: Euler Alves <euler@alves.pro.br>
(fixed-signed-off-by and prefixed)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-27 21:28:14 -08:00
Kwonjin Jeong e25b558999 ddns-scripts: Change protocols of afraid.org urls to HTTPS.
- Use HTTPS protocol for updating urls for afraid.org to protect the password.
- Bump/align package version number.

Signed-off-by: Kwonjin Jeong <gram25gwh@gmail.com>
2019-12-01 15:24:38 +09:00
Leong Hui Wong a6f1ff5a85 treewide: update wiki links
Signed-off-by: Leong Hui Wong <wong.leonghui@gmail.com>
2019-11-29 09:16:02 +08:00
Paul Tobias 21f5cdd2fa
ddns-scripts: Use https for domains.google.com
Without https the update fails with:

```
 132954       : #> /usr/bin/curl -RsS -o /var/run/ddns/myddns_ipv4.dat --stderr /var/run/ddns/myddns_ipv4.err --noproxy '*' 'http://CENSORED:***PW***@domains.google.com/nic/update?hostname=CENSORED&myip=CENSORED'
 132954       : DDNS Provider answered:
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://domains.google.com/nic/update?hostname=CENSORED&amp;myip=CENSORED">here</A>.
</BODY>
</HTML>
 132954 ERROR : IP update not accepted by DDNS Provider
```

Signed-off-by: Paul Tobias <tobias.pal@gmail.com>
2019-09-12 15:26:07 -07:00
Dirk Brenken 2e06c4ec93
ddns-scripts: various fixes
* use '$ddns_rundir' in 'get_service_data' for pipe creation, fix #8971
* add missing local variables in 'get_service_data'
* change DNS server verification with drill in 'verify_host_port',
fix/supersed #8935
* remove needless cat calls in 'verify_host_port'
* set cloudfare TTL to min. 120 seconds, fix #7745
* bump/align package version number

Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-07-03 22:41:26 +02:00
James Qian e4951651e2 ddns-scripts: modify deSEC update url
the latest update url format for deSEC is
http(s)://update.dedyn.io/update?username=[USERNAME]&password=[PWD]

Signed-off-by: James Qian <sotux82@gmail.com>
2019-06-26 16:47:12 +08:00
Florian Keller 87731d00e0
ddns-scripts: Add INWX service
Signed-off-by: Florian Keller <github@floriankeller.de>
2019-06-05 10:22:07 +02:00
Keve Mueller c9188f5014 ddns-scripts: Bumped PKG_RELEASE
Signed-off-by: Keve Mueller <keve@keve.hu>
2019-04-11 13:27:50 +02:00
Keve Mueller 3cce724dbe ddns-scripts: Working example to use local_script to derive a SLAAC IPv6 address
Signed-off-by: Keve Mueller <keve@keve.hu>
2019-04-11 13:15:45 +02:00
Jan Pavlinec f145eb642b
ddns-scripts: add hsts-file parameter to wget call
Note: this should prevent wget to writing to /root/.wget-hsts
 which can lead to flash memory degradation.

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-03-25 13:34:28 +01:00
Martin Konrad c845b17928 ddns-scripts: submit one change at a time to route53
This prevents updates from failing if multiple instances of the
script are running in parallel. This fixes #7492.

Signed-off-by: Martin Konrad <info@martin-konrad.net>
2018-11-23 13:56:38 -05:00
Dirk Brenken e2f73cbd58 ddns-scripts: multiple fixes
* replace shell based urlencoder with an awk variant
* fix write_log function/syslog output in case of an error
* protect answer string with double quotes in update_route53
* remove bogus set/IFS options in update_route53
* clean-up update_route53 a little bit

This patchset finally fix #6977

Many thanks to @mark0n & @a-bali for testing & debugging

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-28 07:41:52 +02:00
Jacek Politowski dee7740968 ddns-scripts: Respect config option 'ip_source'
Option 'ip_source' was silently ignored during public IP discovery.

Discovery (in spite of chosen 'ip_source') was based only on
'ip_network', 'ip_interface', 'ip_script' or 'ip_url' options (in this
order) if they were set. This could lead to misleading log entries
"Detect local IP on '$ip_source'" pointing to source that wasn't really
used.

Now only option relevant to configured 'ip_source' is taken into
account.

Signed-off-by: Jacek Politowski <dev@jpol.net.pl>
2018-08-27 19:47:41 +02:00
Dirk Brenken 2e13d92b4f ddns-scripts: revert latest noglob/subshell changes
* partly revert 9e79e1b to fix #6861
* simplify CURL_SSL detection
* bump package version in Makefile & script library

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-08-26 07:15:46 +02:00
Dirk Brenken 31a3852044
Merge pull request #6747 from mark0n/fix-curl-variable
ddns-scripts: Fix problems detecting if curl is SSL capable
2018-08-20 18:04:16 +02:00
Martin Konrad c9b5b02200 ddns-scripts_route53-v1: Fix problems detecting curl
Ensure cURL is installed and has SSL support. This fixes
issue 6744.

Signed-off-by: Martin Konrad <info@martin-konrad.net>
2018-08-20 11:30:37 -04:00
Jo-Philipp Wich 65d9b3f92b
Merge pull request #6562 from KarlVogel/host_sanitize
ddns-scripts: sanitize host charset and shell escape characters
2018-08-16 15:44:28 +02:00
Christian Schoenebeck a6551b2cbc ddns-scripts: bump to version 2.7.8-1
- remove Cloudflare v1 protocol support #6084 #6519
- fix goip.de update url #6448 #6519
- change Cloudflare v4 to read "Proxied" from current setting at Cloudflare Dashboard #5097 #6364 #6505
- fix replace of password inside logfile #6568
- remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-08-01 09:36:33 +02:00
Karl Vogel 9e79e1b668 ddns-scripts: sanitize host charset and shell escape characters
Since certain characters are dangerous to pass as-is to a sub shell,
sanitize the character set and only allow characters that are considered
valid for DNS hosts and filter shell escape characters on generic parameters.

Disable pathname expansion on RUNPROG evals to disable the shell expanding *,
? and [ in the arguments.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
2018-07-25 08:18:46 +02:00
Michal Lipka 269b4ce218 ddns-scripts: New ddns script for polish service FreeDNS.42.pl
new ddns script for polish service FreeDNS.42.pl where you can
host your own domains for free

Signed-off-by: Michal Lipka <michal@sysadmin.care>

(commits from PR #6150 squashed together)
2018-06-09 13:37:54 +03:00
Ansuel Smith 8bb49eb5ed
ddns-scripts: fix unefficent sh script
Currently this 3 variable are used only 1 time in the sh script and cause 10s of delay for them to load... move them to load only if it's required by the command. This also fix luci-app-ddns delay problem derived by calling dns_lucihelper (that use tdns_functions to load data) for the version.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-06-02 18:04:16 +02:00
Emil Muratov 19415a4c47 ddns-scripts: "now-dns.com" service fix
- Add valid responses "good|nochg" so that ddns-script could recognize "badauth"
   error that comes with http 200 code
 - Switch url to https scheme. "now-dns.com" always returns 302 redirect
   to https:// for all plain-text http requests. Since working via default
   plain-text http is not possible anyway, forcing url to https prevents
   curl sending unencrypted plain-text credentials via basic auth

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2018-05-11 18:35:49 +03:00
Christian Schoenebeck 6d8f45f759 ddns-scripts: fixes "sed: no previous regexp"
Rewritten Pull for #5885

When ran from the command line, the script prints
error messages like below. They are caused by supplying
empty "$password" and "$URL_PASS" for some log messages
like "130822       : Detect local IP on 'interface'".
The fix is to check if the values are not empty before running
through sed.

/etc/init.d/ddns start
sed: no previous regexp

Reported by Marc Benoit <marcb62185@gmail.com>

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-04-21 12:11:46 +02:00
Danny Scott d5ae2850b8
ddns-scripts: Add OK to valid easydns resonse.
Signed-off-by: Danny Scott <doscott@gmail.com>'
2018-04-16 09:46:17 -03:00
Christian Schoenebeck 74eac1f595 ddns-scripts: fix incompatibility with luci-app-ddns <= V.2.4.8-2
fix incompatibility with luci-app-ddns versions <= 2.4.8-2 (#5430)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-01-14 20:27:59 +01:00
Christian Schoenebeck 8cb6b1dc4d ddns-scripts: multiple fixes
Write *.ip file with current registered IP, whenever "get_registered_IP" is called (used by next luci-app-ddns version)
Changed detection of cURL proxy support #3876
Reread data from ubus if "get_local_ip" from "ip_network" #5004 #3338
Fix godaddy_com_v1 #5285
Implement "param_opt" for "cloudflare_com_v4" #5097
Inside logfile "*password*" printed in stead of real password #5281 and others
Add ipv4 service "dnsever.com" #5178
Add ipv4 service "myip.co.ua" #5199

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-01-13 11:58:17 +01:00
Max Berger 0eda1007bb ddns-scripts: Support Amazon AWS Route53 as a ddns provider
Based on a sh-only route53 update script by Yuval Adam
https://github.com/yuvadm/route53-ddns/blob/master/route53.sh

Signed-off-by: Max Berger <max@berger.name>
2018-01-09 22:08:51 +01:00
Alexander Couzens 2b3b72522d
ddns-scripts: remove gzip timestamp
gzip create a header by default containing the filename
and the timestamp of the file.
This timestamp will break reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-03 06:24:21 +01:00
Wendy Wu 8e62bc6b6c ddns-script: fix update_url incorrect for duckdns.org service
Maintainer: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Compile tested: arch:arm, OpenWRT/LEDE version:for-15.05
Run tested: arch:arm, OpenWRT/LEDE version:for-15.05, tests done

Description:
<ddns-script>: fix update_url incorrect for duckdns.org service
Signed-off-by: Wendy Wu <wendy2001011@163.com>
2017-10-30 14:07:16 +08:00
Ernest Moshkov 6943f44550 ddns-scripts: fix dynv6.com "unchanged" response
Maintainer: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Run tested: LEDE Reboot 17.01.3 r3533-d0bf257c46

Description:

user.err ddns-scripts: IP update not accepted by DDNS Provider

dynv6.com response "unchanged" is OK

Signed-off-by: Ernest Moshkov <e.moshkov@gmail.com>
2017-10-22 17:08:38 +03:00
Qian Zheng f626cd6334 net/ddns-scripts: Fix deSEC update URL
deSEC update API doesn't support http://[USERNAME]:[PASSWORD]@update.dedyn.io/update authorization.

So we need to pass username & password as get parameters.

API ref: https://desec.io/#!/en/docs/update-api-details

Signed-off-by: Qian Zheng <sotux82@gmail.com>
2017-09-25 08:56:46 +08:00
Phil John 9d7f3d5f63 ddns-scripts: update PKG_RELEASE in Makefile
As requested, bumping the PKG_RELEASE

Signed-off-by: Phil John <philjohn@gmail.com>
2017-08-16 20:55:22 +01:00
Phil John b55730e7eb ddns-scripts: add support for dynu.com IPv6 update
Dynu.com already support IPV6 updates using the parameter myipv6, adding to services_ipv6 to enable support in OpenWRT/LEDE

Signed-off-by: Phil John <philjohn@gmail.com>
2017-08-14 21:29:18 +01:00
Thomas Guyot-Sionnest 251e5c9cb1 ddns-scripts: Add afraid.org version 2 API
afraid.org has a new update API with better IPV6 support. It needs to be
specifically enabled for each domain, so the original v1 api has been

Signed-off-by: Thomas Guyot-Sionnest <dermoth@aei.ca>
2017-07-15 16:36:44 -04:00
Alvaro [Andor] f721a27b15 Fix http/https, increase PKG_RELEASE 2017-06-27 23:48:53 +02:00
Alvaro [Andor] c55885e9c5 Fix dnsmadeeasy ddns url
Dnsmadeeasy dyndns service url was wrong, fixed both the address, the parameters, and the ssl connection.
2017-06-15 22:05:50 +02:00
Xavier Douville 2a2ea67586 ddns-scripts: remove answer checking for dnsexit
remove answer checking for dnsexit as their API allows for too many return codes to handle them all.

Signed-off-by: Xavier Douville <zorxd@users.noreply.github.com>
2017-03-13 12:15:27 -04:00
Xavier Douville 0eab032f99 ddns-scripts: increment PKG_RELEASE
Signed-off-by: Xavier Douville <zorxd@users.noreply.github.com>
2017-03-12 13:02:04 -04:00
Xavier Douville 96e526bad3 ddns-scripts: update dnsexit.com update URL+response. Reference http://downloads.dnsexit.com/ipUpdateDev.doc
Signed-off-by: Xavier Douville <zorxd@users.noreply.github.com>
2017-03-12 11:00:25 -04:00
Stijn Tintel f82287cf5c treewide: use name in define and eval lines
For consistency, use full name instead of $(PKG_NAME) in define and eval
lines for all packages.

I've seen reviews that asked to do this before, and I am asking the same
during reviews now. To avoid this in the future, fix this treewide so
when people use existing packages as example, we will not have to
request this change anymore.

This makes all packages consistent with both LEDE and OpenWrt base
repositories.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-03-08 21:15:20 +01:00
Christian Schoenebeck 1ed6afb980 ddns-scripts: New update url for service duiadns.net
- new update url for service "duiadns.net"
- updated public_suffix_list.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-02-09 21:41:40 +01:00
Christian Schoenebeck 04d808ec43 ddns-scripts: 2nd fix detecting local ip from ip command
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-01-16 21:08:33 +01:00
Christian Schoenebeck d093904bc1 ddns-scripts: fix detecting local ip from ip command
fix detecting local ip from ip command #3834

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-01-15 10:30:38 +01:00
Christian Schoenebeck 71b50a7acc ddns-scripts: fixes for nslookup and khost
- fix ip extraction if knot host is used together with glue records
- fix ip extraction from nslookup if reverse dns record has ip with dot reported at http://forum.lede-project.org/t/ddns-scripts-error/909

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-01-11 22:08:42 +01:00
Christian Schoenebeck 2c7d476cd9 ddns-scripts: make cloudflare v1 same "domain" parameter syntax
- cloudflare v1 change syntax of option domain to "host.sub@example.com" like already cloudflare v4 and godaddy to prepare logterm remove of public_suffix_list.dat from package
- change Makefile to be backportable to CC15.05 and working on DD
- change ddns.defaults to prepare future releases of ddns-scripts
- minor fixes

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2017-01-09 21:30:55 +01:00
Christian Schoenebeck 10e0400a23 ddns-scripts: no longer build public_suffix_list.dat.gz during build
- no longer build public_suffix_list.dat.gz during build #3678
- replace "\s" with "[[:space:]]" inside Makefile because "\s" ignored by some sed versions
- tools/public_suffix_list.sh still available to rebuild public_suffix_list.dat.gz outside OpenWRT/LEDE build system

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-25 16:02:52 +01:00
Christian Schoenebeck 3065760a84 ddns-scripts: get public_suffix_list.dat without using secure connection
Get public_suffix_list.dat without using secure connection. #3678

File generated during build, because it's the only option to have an
actual version packaged.
Long term Cloudflare_v1 package will be changed to no longer need
public_suffix_list.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-24 15:52:19 +01:00
Christian Schoenebeck 97acd6eb2d ddns-scripts: fix return codes if provider's data already up to date
Fix return codes, if ip data at Godaddy.com and Cloudflare.com are
already up to date, handle it as succesful update.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-20 20:09:50 +01:00
Christian Schoenebeck b6377ba8db ddns-scripts: fixes for cloudflare v4
- update_cloudflare_com_v4.sh: enclose urls in single quotes
- dynamic_dns_functions.sh: force to return only one ip, if using nslookup to get registered ip

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-18 20:35:39 +01:00
Christian Schoenebeck 13d1169d5e ddns-scripts: set default verbose=0 so scripts run in background
fix #3645 and https://github.com/lede-project/source/pull/596#issuecomment-266395456

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-12 21:07:20 +01:00
Christian Schoenebeck 099acdb89e ddns-scripts: fix answer of changeip.com
fix answer of changeip.com #3292

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-11 10:47:51 +01:00
Christian Schoenebeck c380d595a8 ddns-scripts: extended/updated Makefile
modified Makefile to:
- stop service before install when updating reported at http://forum.lede-project.org/t/ddns-scripts-upgrade-issue/456/1
- run uci-defaults for all packages
- modify services files only on new installation
still some commands already covered by default_postinst() etc. but they are in there for backward compatibilty.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-09 20:14:06 +01:00
Christian Schoenebeck 4ae1484a19 ddns-scripts: various fixes
fixes reported in #3621 #3617 #3616

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-05 20:40:09 +01:00
Christian Schoenebeck 1c20dcb71a ddns-scripts: update to 2.7.6-1
- tld_names.dat.gz
  - rename to public_suffix_list.dat.gz
  - (re)created during build
  - new location /usr/share
- move services files to /etc/ddns
- new services
  - CloudFlare.com-v4 using API-Version 4 without using public_suffix_list.dat
  - GoDaddy.com
  - both depending on cURL package
  - both with modified syntax for option domain ( NEW: [host[.subdom]@]domain.tld )
- new service
  - Now-DNS.com formerly Now-IP.com
- service afraid.org now supports key-auth and basic-auth
- new command line options for dynamic_dns_updater.sh and dynamic_dns_updater.sh
- adapted ddns.init and ddns.hotplug to new command line options
- renaming config options inside section global

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-12-04 16:47:09 +01:00
Christian Schoenebeck f3395bb891 ddns-scripts: fix answer of changeip.com
* fix answer of changeip.com (#3292)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-10-04 11:22:05 +02:00
Christian Schoenebeck fbc27e89f3 ddns-scripts: fix reporting wrong version
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-28 18:48:44 +02:00
Christian Schoenebeck f5e3d3f743 ddns-scripts: remove postinst (of main package) from Makefile
remove postinst (of main package) from Makefile because all is done inside uci-defaults scripts

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-27 10:12:24 +02:00
Christian Schoenebeck 463ed88dde ddns-scripts: apply needed changes in uci-defaults
commands to apply changes introduced during release changes, moved from Makefile postinst to /etc/uci-defaults

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-26 21:33:01 +02:00
Christian Schoenebeck f0b96d9109 ddns-scripts: no longer break using nslookup and option force_ipversion=1
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-26 21:24:35 +02:00
Christian Schoenebeck 7805abc6c4 ddns-scripts: Add more services and minor changes
- add support of knsupdate (update_nsupdate.sh
- url update easydns.com
- add some service answers
- alphabetic reorder services files for easier reading
- rename services/provider (Makefile postinst handle /etc/config/ddns)
 -- freedns.afraid.org -> afraid.org
 -- free.editdns.net -> editdns.net
 -- domains.google.com -> google.com
 -- spdns.de -> spdyn.de
 -- strato.de -> strato.com
- new provider (looking in deep into https://sourceforge.net/projects/inadyn-mt project)
 -- dyn.com (= dyndns.org)
 -- ddnss.de
 -- dhis.org
 -- dnspark.com (IPv4 only)
 -- dynsip.org (IPv4 only)
 -- dynv6.com
 -- joker.com (IPv4 only)
 -- loopia.com (= loopia.se)
 -- sitelutions.com (IPv4 only)
 -- system-ns.com (IPv4 only)
- new provider (looking in deep into /etc.defaults/ddns_provider.conf file for Synology DiskStation published at https://gist.github.com/ntrepid8/6653274)
 -- able.or.kr (IPv4 only)
 -- ddo.jp (IPv4 only)
 -- dnsmadeeasy.com (IPv4 only)
 -- oray.com (IPv4 only)
- new provider (looking in deep into https://github.com/ipfire/ddns project)
 -- all-inkl.com
 -- desec.io
 -- domopoli.de (IPv4 only)
 -- opendns.com (IPv4 only)
 -- udmedia.de
 -- xlhost.de (IPv4 only)
- new provider (looking in deep into https://github.com/yaddns/yaddns project )
 -- dyndns.it (IPv4 only)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-26 21:24:35 +02:00
Tobias Schramm 47b0926772 Add good and nochg answer
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2016-09-16 23:08:00 +02:00
Tobias Schramm aa1599b167 ddns-scripts: Add do.de as ddns provider
Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2016-09-14 19:39:25 +02:00
Christian Schoenebeck 3b8ef74df3 ddns-scripts: fixes to services files
- Provider duiadns.net: add IPv6 and correct IPv4 url inside services files #3125
- other fixes inside services files

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-04 20:46:06 +02:00
Christian Schoenebeck 01a42ec110 ddns-scripts: Update to 2.7.4
- if local ip cannot be detected or is invalid then do not exit ddns-scripts #2950,
    using multiple url's to detect local ip not jet implemented
- change spdns.de update url and add sydyn.de inside services file #2991
- move transfer- and lookup-program detection to dynamic_dns_functions.sh
    so run once at startup in stead of at every transfer/lookup
- add khost, drill and hostip to verify_host_port() function
- updated tld_names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-09-04 13:30:09 +02:00
Michael Scholl 41d687d16a ddns-scripts: add service core-networks.de
- Added service core-networks.de
- Fixed typo for service dnshome.de

Signed-off-by: Michael Scholl <michael.scholl@core-networks.de>
2016-07-27 15:30:34 +02:00
Christian Schoenebeck 5d05e01d48 ddns-scripts: fix misuse of "local"
- fix misuse of "local" outside functions #2885
- update TLD_names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-06-26 10:24:49 +02:00
Christian Schoenebeck d779a1f76f ddns-scripts: fix parameter handling "is_glue" and "dns_server" (lucihelper)
- fix handling of parameter "is_glue" and "dns_server" to work with luci-app-ddns
- update TLD_names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-06-18 21:53:05 +02:00
Mathias Kresin ed11871c56 ddns-scripts: initialise the is_glue variable
Improve the code as suggested by Christian Schoenebeck.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-06-12 12:42:44 +02:00
Mathias Kresin 1416770e3b ddns-scripts: add support for glue records
Assuming the following dns zone configuration for kresin.me:

.                   1800  IN  NS  ns.inwx.de.
home.kresin.me.     1800  IN  NS  gw.home.kresin.me.
gw.home.kresin.me.  60    IN  A   198.51.100.1

Using the example, gw.home.kresin.me is a glue record and used as DDNS
record as well. gw.home.kresin.me points to the OpenWrt installation
where the ddns-scripts are running.

Since ns.inwx.de isn't the authoritative server for home.kresin.me,
a query for the the A record of gw.home.kresin.me will be "forwarded"
to and replied by the authoritative server 198.51.100.1. If the
authoritative server can't be reached, the query times out without any
address returned.

The only way to get the A record of the glue record is to use bind
host in verbose output mode, query ns.inwx.de for gw.home.kresin.me and
evaluate the additional section of the response.

To my knowledge, only bind host in verbose output mode shows the
additional section of the response. Therefore, this features depends on
bind host.

It is not possible to use the bind host verbose mode for all queries.
In verbose mode the "has address" line isn't returned. Grepping for the
hostname might fail if the hostname is CNAME. Grepping for the first
occurrence of an ip-address is way to error prone, since it could
return the ip address of a different record type.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-06-01 20:59:47 +02:00
Christian Schoenebeck 1bf23bd632 dns-scripts: add DNS lookup support for "drill" and "khost" (Knot DNS)
- add DNS lookup support for "drill" and "khost" (Knot DNS) #2637
- new service nsupdate.info (IPv4 and IPv6) #2433
- new services dyndnss.net, dyns.net (IPv4 only)
- new services dnshome.de, goip.de, myonlineportal.net (IPv4 and IPv6)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-05-08 13:14:45 +02:00
Anthony Brown e71f12632a ddns-scripts: update mythic-beasts ipv4 and add mythic-beasts ipv6
Signed-off-by: Anthony Brown <anthony@found-it.net>
2016-05-04 11:28:05 +01:00
Joel Johnson db68eda93e ddns-scripts: add IPv6 config for duckdns.org
Signed-off-by: Joel Johnson <mrjoel@lixil.net>
2016-05-01 23:00:11 -06:00
Christian Schoenebeck 32c9818b14 ddns-scripts: fix comparing IPv6 addresses
fix comparing IPv6 addresses

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-03-07 12:04:50 +01:00
Christian Schoenebeck 38866917d8 ddns-scripts: correct freedns.afraid.org update url and new provider
- roll back to "old" update_url of freedns.afraid.org fix for #2445 and openwrt/luci#661
- add provider nubem.com (IPv4 only)
- add provider nettica.com (IPv4 only)
- add provider zerigo.com (IPv4 and IPv6)
- add provider regfish.de (IPv4 and IPv6)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-03-05 21:44:19 +01:00
Stijn Tintel 2789e6b3f3 ddns-scripts: uclient-fetch supports -4/-6
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2016-02-29 11:38:23 +01:00
diizzyy 7e38b9befe ddns-scripts: add dynu.com
Add dynu.com service

Signed-off-by: Daniel Engberg daniel.engberg.lists@pyret.net
2016-02-26 11:40:17 +02:00
diizzyy 8f97885bc1 ddns-scripts: bump package release
Update package release due to changes
2016-02-24 08:22:38 +01:00
diizzyy 4543f12b97 ddns-scripts: fix freedns.afraid.org
Add correct URL

Signed-off-by: Daniel Engberg daniel.engberg.lists@pyret.net
2016-02-24 08:20:40 +01:00
Christian Schoenebeck 42ff9a7d5f ddns-scripts: update to version 2.6.2-1
- renamed (lower case) filenames and servicenames for no-ip.com, cloudflare.com and bind_nsupdate including modifing existing configurations #2375
- updated tld_names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-02-13 17:00:33 +01:00
Christian Schoenebeck 5bd03b4e9a ddns-scripts: update to 2.6.1-1 with several fixes
- new function expand_ipv6()
- expand IPv6 before compare https://dev.openwrt.org/ticket/21725
- Fix split_FQDN() to return host.subdomain correctly  #2334
- modified check for musl library used by nslookup #2341 #2346 thanks to Arjen de Korte

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-02-06 15:48:39 +01:00
Christian Schoenebeck 3008cee722 ddns-scripts: Ver.2.6.0 - support hostip and uclient-fetch
- add support for "hostip" to get_registered_ip() as alternative to "Bind host" package https://dev.openwrt.org/ticket/20893#comment:5
- allow to send updates using compiled-in certificate file/path of curl/wget #2242 #2243 #2245
- add support for uclient-fetch / libustream-ssl.so
- remove /128 prefix-filter in get_local_ip() via interface #2268
- add dyndns.org to services_ipv6 https://forum.openwrt.org/viewtopic.php?id=62103
- readd duckdns.org to services #2251 (lost somewhere in data heaven)
- add zzzz.io service #2302
- updated tld_names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2016-01-24 20:04:26 +01:00
Leonardo Brondani Schenkel 4df353c1b2 ddns-scripts: bump 2.5.0 to release 5 2016-01-10 11:54:24 +01:00
Leonardo Brondani Schenkel b740a68d24 ddns-scripts: allow setting CloudFlare 'rec_id' in the config
This is necessary when there are multiple records for the same domain,
otherwise the script will overwrite the first one returned by the API.
It has the secondary benefit of allowing faster updates by performing
only one API call instead of two.

In case 'rec_id' is not set the script behaves exactly as before.

Signed-off-by: Leonardo Brondani Schenkel <leonardo@schenkel.net>
2016-01-08 19:47:57 +01:00
marcogiovinazzi 4b5b6874b0 ddns-scripts: Added duckdns.org service
Signed-off-by: Marco Giovinazzi <marco.giovinazzi@comodojo.org>
2016-01-09 15:04:35 +01:00
Sami Olmari a7d51998bc ddns-scripts: Added dy.fi service
Added dy.fi dynamic dns provider into ddns-scripts (ipv4) services file.

Tested-by: Vaasa Hacklab ry <info@vaasa.hacklab.fi>
Signed-off-by: Sami Olmari <sami@olmari.fi>
2015-12-28 21:59:50 +02:00
Sami Olmari 43f8a1dd41 ddns-scripts: Added dy.fi service
Added dy.fi dynamic dns provider into ddns-scripts (ipv4) services file.

Tested-by: Vaasa Hacklab ry <info@vaasa.hacklab.fi>
Signed-off-by: Sami Olmari <sami@olmari.fi>
2015-12-27 02:52:02 +02:00
Hans Dedecker 1fd0982f8e ddns-scripts: Update PKG_RELEASE after adding dtdns support 2015-12-21 10:43:34 +01:00
Hans Dedecker 48b74a8311 ddns-scripts: Add support for the service dtdns.com
Support is added for the service dtdns.com (https://www.dtdns.com)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2015-12-17 15:07:41 +01:00
Christian Schoenebeck 7ea8be0b0d ddns-scripts: rollup to version 2.5.0-1
- add -V / --version parameter to show version information
- new option lookup_host as host to use by nslookup/host to validate IP address changes, to be separate from [DOMAIN] parameter which produces a lot of questions in the forum and on multi-host updates
- new option param_enc for optional usage inside update_url [PARAMENC] (will be send urlencoded)
- new option param_opt for optional usage inside update_url [PARAMOPT]
- new service strato.de (IPv4 only) requested by ludwig.jaffe@
- new service variomedia.de (IPv4 & IPv6) requested by Wolfgang Oertl #1884
- rewritten function get_service_data to read services/service_ipv6 file
- allow 3rd parameter inside services/service_ipv6 file - here should be the answer of the ddns provider on success. If parameter is set, it's checked by ddns-scripts and report errors to logfile/syslog if failed and retry
- updated tld_names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-04 21:29:22 +01:00
Stefan Horning 86352d4f85 ddns: Added schokokeks.org service. Signed-off-by: Stefan Horning <stefan@hornings.de> 2015-09-27 15:40:44 +02:00
Christian Schoenebeck 3788dd697b ddns-scripts: fix/update to version 2.4.3-1
fixed sed when filtering IP address from nslookup output
because "Server:" block might have multiple address lines.
Thanks to Arjen de Korte

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-06-24 18:46:52 +02:00
Christian Schoenebeck 8161cba303 ddns-scripts: update to version 2.4.2-1
* fix Makefile to force compression of tld_names.dat reported in OpenWrt Ticket 19597
* change default of retry_count to "0" (retry endless) suggested by Henning Schild
* updated tld_names.dat include changes until 07.05.2015

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-05-08 20:39:10 +02:00
Christian Schoenebeck f5334528a7 ddns-scripts: bugfixes/update to version 2.4.1-1
* fix problem with lucihelper script reported in OpenWrt Ticket 19419
* rewritten split_FQDN fixing detection errors and using zcat
* updated tld_names.dat and .gz compressed to save space
* add LoopiaDNS (loopia.se) to services_ipv6

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-04-12 10:47:38 +02:00
Christian Schoenebeck fad616a4cc ddns-scripts: implements usage of nsupdate to direct update DNS servers
* new service "bind-nsupdate" using nsupdate to directly updates a PowerDNS or Bind server via nsupdate.
  suggested by Jan Riechers (Pull #957) many thanks!
* updated tld-names.dat

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-28 16:43:02 +01:00
Christian Schoenebeck 5731d0e52d ddns-scripts: update to version 2.3.0-1
new option "use_curl" to force the use of curl if GNU Wget and curl are installed
fix initscript reload(): reload and not restart if killall -1 fails
BusyBox nc not support -v in every compiled version

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-10 22:06:02 +01:00
Christian Schoenebeck 5b26382273 ddns-scripts: Update to version 2.2.0-1
modified source directory structure
  - files for production files
  - samples for sample files (not installed in final build)
modified Makefile
  - separate options for additional provider scripts
  - remove comments and empty lines from final build
add IPv4 100.64/10 (RFC 6598) and 169.254/16 (RFC 5735) to the range of default blocked IP's.
new option "bind_network" to force GNU Wget or cURL to use specific network/interface for communication
new "domains.google.com" as IPv4 DDNS provider #822

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-05 21:33:02 +01:00
Christian Schoenebeck 317740f2f2 ddns-scripts: Update to Version 2.1.0-5
restructure startup of dnymaic_dns_updater.sh
 - first run load_all_config_options (it returns 1 if SECTION_ID not found) #779
 - set all defaults if necessary
 - verify if username and/or password is needed inside update_url #779
 - remove wait - will be done by retry_interval and retry_count if communication fails
provider specific update scripts
 - verify if username/password are needed
services_ipv6
 - added freedns.afraid.org
 - IPv6 should work due to their documentation
minor fixes

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-17 00:11:09 +01:00
Christian Schoenebeck 64250aebc7 ddns-scripts: update to version 2.1.0-4
* remove CHANGELOG from distribution
* fix syslog output printing "\n" or other formating chars
* ddns configuration
    - new UCI-config value ddns.global.allow_local_ip "0" or "1"
(default "0") - (OpenWrt Ticket 18642)
* dynamic_dns_functions.sh
- new function split_FQDN() splits a given FQDN into host,
(registerable) domainname, and TLD using
https://publicsuffix.org/list/effective_tld_names.dat
- verify_host_port() use BIND host, if installed
- verify_host_port() not detecting ip, if already given
- fixed regexp for IP detection from nslookup's answer - (OpenWrt
Ticket 16363)
- support ddns.global.allow_local_ip to allow sending non public IP's
to DDNS provider like 127.x, 192.168.x.x or fxxx - (OpenWrt Ticket
18642)
* new file tld_names.dat
- used by dynamic_dns_functions.sh inside split_FQDN() function to
find valid TLD's
* update_cloudflare.sh
- modified subdomain/domain splitting using split_FQDN()
- modified support for AA12.09 (json_get_keys())
- minor fixes and cleanup
- many thanks to Aaron Tanner for testing

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-11 15:39:47 +01:00
Christian Schoenebeck 5e8123eb3b ddns-scripts: Update to version 2.1.0-3
- removed special handling for dynamic_dns_helper.sh and url_escape.sed in Makefile/postinst
- minor fixes in logging
- allow retry_count of "0" to run infinite retrys on error
	-- https://dev.openwrt.org/ticket/18382
- changed naming of .dat and .err file to have one per section, not one per process
- defer hotplug helper from 25-ddns to 95-ddns (according initscript START=95)
	-- https://github.com/openwrt/packages/issues/568 (#568)
- fix commandline for busybox wget
	-- https://dev.openwrt.org/ticket/18411
	-- https://dev.openwrt.org/ticket/18437
	-- https://github.com/openwrt/packages/issues/605 (#605)
- remove checking answer from ddns provider because there are to many different.
	Some providers do not follow API from dyndns.com

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-12-07 14:45:31 +01:00
Christian Schoenebeck ab2b229ad6 ddns-scripts: new Version 2.1.0-2
- moved /usr/lib/ddns/dynamic_dns_lucihelper.sh from luci-app-ddns into this package
	(Github openwrt/luci issue 251)
	(OpenWrt Trac tickets 18326 18347)
- fix: dynamic_dns_update.sh did not loop
	(OpenWrt Trac ticket 18336)
- add provider cloudflare.com IPv4 and IPv6 (Thanks to Paul for support and testing)
	(OpenWrt Trac ticket 12500)
- modified detection, if dynamic_dns_fuctions are used by dynamic_dns_lucihelper.sh
- redirect stdout of wget,curl,host,nslookup,nc etc to /tmp/ddns_$$.dat and *.err instead of variables
- extended error detection in get_local_ip function
- modified verify of option ip_script to allow parameters, when calling
- add provider selfhost.de IPv4
- add provider no-ip.pl (nothing to do with no-ip.com)
	(Github openwrt/packages issue #542)
	IPv4 (tested) and also added for
	IPv6 (NOT tested) because client IP is autodetected be provider
- add getlocalip_sample.sh as sample script for usage of
	option ip_source 'script'  together with
	option ip_script '/usr/lib/ddns/getlocalip.sh -4'
- cleanup whitespaces at line ends

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-11-15 21:28:01 +01:00
Christian Schoenebeck 4192651448 ddns-scripts: Update to Version 2.1.0-1 see description
- fixed postinst and prerm in Makefile
- implementation of provider specific update scripts into services and
services_ipv6 file.
	first Provider "no-ip.com"	- Thanks to DarkStarXxX for
request and testing
- finished uci/ddns wiki at http://wiki.openwrt.org/doc/uci/ddns
- rewritten retry management
- rewritten logging including following Issue 469
	https://github.com/openwrt/packages/issues/469
- stop running sections on hotplug ifdown event (like start on ifup)
- implement trap detection
	also kill "sleep" child processes
	SIGHUP to reload configuration (not really reloading, simply
starting a new process)
	/etc/init.d/ddns reload implemented
- code optimization
- new provider LoopiaDNS.se	Issue 494
	https://github.com/openwrt/packages/issues/494

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-11-09 16:37:11 +01:00
Christian Schoenebeck 8a9124dfc0 ddns-scripts: add retry loop to verify dns and proxy
Changed the verify of DNS server and proxy at script start to retry the
verify if there are connection problems during verify
plus some minor changes.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-11 11:00:19 +02:00
epgdatacapbon bb59066b10 ddns-scripts: Add MyDNS.JP
MyDNS.JP, a dynamic DNS service, is added to ddns-scripts.
http://www.mydns.jp/

Signed-off-by: sstream <sstream00@yahoo.co.jp>
2014-10-11 09:30:00 +09:00
Christian Schoenebeck bc175726cd ddns-scripts: fix problem during startup
fixes problem CRITICAL ERROR - custom update_script not found
when extracting url and script from services / services_ipv6 file

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-06 21:49:47 +02:00
Steven Barth 6ab4a265a2 ddns-scripts: Added support for custom update scripts
Squashed commit of the following:

commit 2701c8868e
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 11:01:57 2014 +0200

    ddns-scripts: Added support for custom update scripts

    Sample script
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit e07ecb90fa
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 11:00:11 2014 +0200

    ddns-scripts: Added support for custom update scripts

    Added support for custom update scripts with new option update_script.
    function get_service_url() renamed to get_service_data() and extended to detect scripts inside service / service_ipv6 for later use
    function send_update() modified to support custom update scripts.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 39e41b2151
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 10:52:44 2014 +0200

    ddns-scripts: Added support for custom update scripts

    Added support for custom update scripts with new option update_script
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 33f264768e
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 10:48:21 2014 +0200

    ddns-scripts: Insert description for NEW option update_script

    Insert description for NEW option update_script
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 6f6a60244d
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Oct 5 10:43:52 2014 +0200

    ddns-scripts: Update PKG_RELEASE

    Update_PKG_RELEASE to reflect changes
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-06 08:39:59 +02:00
Christian Schoenebeck 42263ca865 ddns_scripts: url encode USERNAME and PASSWORD
New function __urlencode() to remove special chars used in send_update() for username and password.
username might have email address and password might have special chars for security reasons.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-01 18:45:29 +02:00
Christian Schoenebeck 0f9ac53fae ddns-scripts: Increment PKG_RELEASE
Increment PKG_RELEASE to reflect changes
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-10-01 18:35:46 +02:00
Christian Schoenebeck 178510d421 ddns-scripts: send_update() detection private IPv4
correction of excluding private IPv4 in send_update() function.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-30 08:22:21 +02:00
Christian Schoenebeck 5deddd2ed3 ddns-scripts: increment PKG_RELEASE
Increment PKG_RELEASE to reflect updates
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-30 08:14:04 +02:00
Christian Schoenebeck d470bafa90 ddns-scripts: increment PKG_RELEASE
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 20:31:28 +02:00
Christian Schoenebeck c26946e487 ddns-scripts: fix ticket #17998: wrongly detect ipv4 start with 10x.x.x.x
Thanks to "eqsun" for report and offer of fix.
Otherwise the ip address starts with 100~109 will be treated as invalid.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 20:29:46 +02:00
Christian Schoenebeck 9a883a38bd ddns-scripts: Increment PKG_RELEASE
Increment PKG_RELEASE to reflect latest changes
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 13:44:30 +02:00
Christian Schoenebeck e67960d88c ddns-scripts: add service two-dns.de
Requested by: Martin Röcker <roecker@empty-v.de>
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-29 13:42:43 +02:00
etmatrix bb38611166 With DSL connection ifconfig hasn't broadcast address but P-t-P so awk don't match nothing 2014-09-28 09:59:52 +02:00
Christian Schoenebeck 6522ff5e31 ddns-scripts: fix issue (#337) current/registered ip never match
Increase PKG_RELEASE to reflect changes

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-22 16:34:20 +02:00
Christian Schoenebeck 99264f2527 ddns-scripts: fix issue (#337) current/registered ip never match
new extraction of IP inside function get_registered_ip for host and nslookup
thanks to jow for the sed

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-22 16:32:56 +02:00
Steven Barth 07d3672d46 ddns-scripts: Update to Version 2.0.1-1
Squashed commit of the following:

commit fc1d42f069
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 18:01:43 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

commit 731f9b4df0
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:59:25 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    personal helper script to create hashes for CA-Certificates for Wget and cURL using https protocol without errors.

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit df8f6c9d5d
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:56:05 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    rewritten

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 50cdf5acb9
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:54:40 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    rewritten

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit b1d650a345
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:52:52 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    not needed in this version

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 9532114b03
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:51:39 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    same function as existing services file but used for IPv6

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit a636bc25c6
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:46:56 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    New file explaining availible parameters.

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.
    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

commit 52332354fc
Author: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Date:   Sun Sep 21 17:44:45 2014 +0200

    [ddns-scripts] Update to Version 2.0.1-1

    Sorry GitHub web interface only supports single commits that will be summarized into one pull request.

    Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-09-22 08:00:53 +02:00
Liviu Pislaru aab79c8377 ddns-scripts: duiadns.net service support added
Signed-off-by: Liviu Pislaru <liviu@duiadns.net>
2014-09-03 18:04:15 +03:00
Jonathan McCrohan 4b90ad6770 Merge pull request #193 from chris5560/master
ddns-scripts: Set PKG_LICENSE
2014-08-12 00:18:32 +01:00
Christian Schoenebeck 353dd935d6 ddns-scripts: Set PKG_LICENSE
Set PKG_LICENSE as written inside dynamic_dns_updater.sh and dynamic_dns_functions.sh.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-08-11 21:18:48 +02:00
sbyx ab11a89555 Merge pull request #144 from chris5560/master
ddns-scripts: set myself as maintainer
2014-07-30 14:05:19 +02:00
Christian Schoenebeck bda67cc2cc ddns-scripts: set myself as maintainer
and increase PKG_RELEASE to reflect latest updates.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-30 14:01:00 +02:00
Jonathan McCrohan ce93ec8e40 ddns-scripts: remove erroneously committed backup file
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
2014-07-30 11:08:29 +01:00
Christian Schoenebeck 1227a896e4 ddns-scripts: new service "spdns.de"
Service provided by Securepoint GmbH, 21335 Lüneburg, Germany
Info at http://www.spdns.de

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 16:14:28 +02:00
Christian Schoenebeck f1faf5f2e1 ddns-scripts: start via hotplug only if enabled
To be consistent with other services only start via hotplug if enabled.
Now full functionality of /etc/init.d/ddns enable/disable start/stop

Optimization: Include script only if needed

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 16:06:24 +02:00
Christian Schoenebeck e5613b306f ddns-scripts: only start via hotplug not via boot
Hotplug script will start service for each interface.
To prevent duplicates and in general must not start on boot.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-07-27 15:52:13 +02:00
Nikos Mavrogiannopoulos f7d0b83aef ddns: Allow running ddns using the /etc/init.d/ddns script
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-06-08 14:05:23 +02:00