aboutsummaryrefslogtreecommitdiff
path: root/net/ddns-scripts
Commit message (Collapse)AuthorAge
* ddns-scripts: New update url for service duiadns.netChristian Schoenebeck2017-02-09
| | | | | | | - new update url for service "duiadns.net" - updated public_suffix_list.dat Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: 2nd fix detecting local ip from ip commandChristian Schoenebeck2017-01-16
| | | | Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: fix detecting local ip from ip commandChristian Schoenebeck2017-01-15
| | | | | | fix detecting local ip from ip command #3834 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: fixes for nslookup and khostChristian Schoenebeck2017-01-11
| | | | | | | - 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>
* ddns-scripts: make cloudflare v1 same "domain" parameter syntaxChristian Schoenebeck2017-01-09
| | | | | | | | | - 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>
* ddns-scripts: no longer build public_suffix_list.dat.gz during buildChristian Schoenebeck2016-12-25
| | | | | | | | - 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>
* ddns-scripts: get public_suffix_list.dat without using secure connectionChristian Schoenebeck2016-12-24
| | | | | | | | | | | 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>
* ddns-scripts: fix return codes if provider's data already up to dateChristian Schoenebeck2016-12-20
| | | | | | | 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>
* ddns-scripts: fixes for cloudflare v4Christian Schoenebeck2016-12-18
| | | | | | | - 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>
* ddns-scripts: set default verbose=0 so scripts run in backgroundChristian Schoenebeck2016-12-12
| | | | | | fix #3645 and https://github.com/lede-project/source/pull/596#issuecomment-266395456 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: fix answer of changeip.comChristian Schoenebeck2016-12-11
| | | | | | fix answer of changeip.com #3292 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: extended/updated MakefileChristian Schoenebeck2016-12-09
| | | | | | | | | | 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>
* ddns-scripts: various fixesChristian Schoenebeck2016-12-05
| | | | | | fixes reported in #3621 #3617 #3616 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: update to 2.7.6-1Christian Schoenebeck2016-12-04
| | | | | | | | | | | | | | | | | | | | | - 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>
* ddns-scripts: fix answer of changeip.comChristian Schoenebeck2016-10-04
| | | | | | * fix answer of changeip.com (#3292) Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: fix reporting wrong versionChristian Schoenebeck2016-09-28
| | | | Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: remove postinst (of main package) from MakefileChristian Schoenebeck2016-09-27
| | | | | | remove postinst (of main package) from Makefile because all is done inside uci-defaults scripts Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: apply needed changes in uci-defaultsChristian Schoenebeck2016-09-26
| | | | | | 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>
* ddns-scripts: no longer break using nslookup and option force_ipversion=1Christian Schoenebeck2016-09-26
| | | | Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: Add more services and minor changesChristian Schoenebeck2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* Add good and nochg answerTobias Schramm2016-09-16
| | | | Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
* ddns-scripts: Add do.de as ddns providerTobias Schramm2016-09-14
| | | | Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
* ddns-scripts: fixes to services filesChristian Schoenebeck2016-09-04
| | | | | | | - 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>
* ddns-scripts: Update to 2.7.4Christian Schoenebeck2016-09-04
| | | | | | | | | | | | - 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>
* ddns-scripts: add service core-networks.deMichael Scholl2016-07-27
| | | | | | | - Added service core-networks.de - Fixed typo for service dnshome.de Signed-off-by: Michael Scholl <michael.scholl@core-networks.de>
* ddns-scripts: fix misuse of "local"Christian Schoenebeck2016-06-26
| | | | | | | - fix misuse of "local" outside functions #2885 - update TLD_names.dat Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: fix parameter handling "is_glue" and "dns_server" (lucihelper)Christian Schoenebeck2016-06-18
| | | | | | | - 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>
* ddns-scripts: initialise the is_glue variableMathias Kresin2016-06-12
| | | | | | Improve the code as suggested by Christian Schoenebeck. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ddns-scripts: add support for glue recordsMathias Kresin2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* dns-scripts: add DNS lookup support for "drill" and "khost" (Knot DNS)Christian Schoenebeck2016-05-08
| | | | | | | | | - 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>
* ddns-scripts: update mythic-beasts ipv4 and add mythic-beasts ipv6Anthony Brown2016-05-04
| | | | Signed-off-by: Anthony Brown <anthony@found-it.net>
* ddns-scripts: add IPv6 config for duckdns.orgJoel Johnson2016-05-01
| | | | Signed-off-by: Joel Johnson <mrjoel@lixil.net>
* ddns-scripts: fix comparing IPv6 addressesChristian Schoenebeck2016-03-07
| | | | | | fix comparing IPv6 addresses Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
* ddns-scripts: correct freedns.afraid.org update url and new providerChristian Schoenebeck2016-03-05
| | | | | | | | | | - 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>
* ddns-scripts: uclient-fetch supports -4/-6Stijn Tintel2016-02-29
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ddns-scripts: add dynu.comdiizzyy2016-02-26
| | | | | | Add dynu.com service Signed-off-by: Daniel Engberg daniel.engberg.lists@pyret.net
* ddns-scripts: bump package releasediizzyy2016-02-24
| | | Update package release due to changes
* ddns-scripts: fix freedns.afraid.orgdiizzyy2016-02-24
| | | | | Add correct URL Signed-off-by: Daniel Engberg daniel.engberg.lists@pyret.net
* ddns-scripts: update to version 2.6.2-1Christian Schoenebeck2016-02-13
| | | | | | | - 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>
* ddns-scripts: update to 2.6.1-1 with several fixesChristian Schoenebeck2016-02-06
| | | | | | | | | - 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>
* ddns-scripts: Ver.2.6.0 - support hostip and uclient-fetchChristian Schoenebeck2016-01-24
| | | | | | | | | | | | | - 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>
* ddns-scripts: bump 2.5.0 to release 5Leonardo Brondani Schenkel2016-01-10
|
* ddns-scripts: allow setting CloudFlare 'rec_id' in the configLeonardo Brondani Schenkel2016-01-08
| | | | | | | | | | | 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>
* ddns-scripts: Added duckdns.org servicemarcogiovinazzi2016-01-09
| | | | Signed-off-by: Marco Giovinazzi <marco.giovinazzi@comodojo.org>
* ddns-scripts: Added dy.fi serviceSami Olmari2015-12-28
| | | | | | | 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>
* ddns-scripts: Added dy.fi serviceSami Olmari2015-12-27
| | | | | | | 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>
* ddns-scripts: Update PKG_RELEASE after adding dtdns supportHans Dedecker2015-12-21
|
* ddns-scripts: Add support for the service dtdns.comHans Dedecker2015-12-17
| | | | | | Support is added for the service dtdns.com (https://www.dtdns.com) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ddns-scripts: rollup to version 2.5.0-1Christian Schoenebeck2015-11-04
| | | | | | | | | | | | | | - 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>
* ddns: Added schokokeks.org service. Signed-off-by: Stefan Horning ↵Stefan Horning2015-09-27
| | | | <stefan@hornings.de>