summaryrefslogtreecommitdiff
path: root/net/ddns-scripts
Commit message (Collapse)AuthorAgeFilesLines
* ddns-scripts: Fix Route53 providerMax Berger2023-11-252-2/+3
| | | | | | | | This fixes the Invalid Resource Record: FATAL problem: ARRDATAIllegalIPv4Address error message described in https://forum.openwrt.org/t/route53v1-script-error/160068 Maintainer: @chris5560, @maxberger, @dibdot Tested: Checked on local system Signed-off-by: Max Berger <max@berger.name>
* ddns-scripts: add new DDNS provider ipnodns.ruIgor Baidasov2023-10-183-1/+9
| | | | Signed-off-by: Igor Baidasov <igorbay@bk.ru>
* ddns-scripts: add ddns-scripts-utils packageJulian Grinblat2023-10-061-1/+21
| | | | | | | The samples in the repo are useful for configuring cenrtain aspects of ddns, and their inclusion is hinted at within their source code Signed-off-by: Julian Grinblat <julian@dotcore.co.il>
* ddns-scripts: desec.io - update url to httpsdanielpinto8zz62023-09-042-3/+3
| | | | | | | | | | Signed-off-by: Daniel Pinto <danielpinto8zz6@gmail.com> desec.io ddns update is not working, after testing the endpoint I got a 301, after a bit of search I found out we are supposed to use https instead of http more info here: https://talk.desec.io/t/301-from-update-dedyn-io/644/2 bump PKG_RELEASE
* ddns: Prevent clearing of desec.io entriesBaptiste Fouques2023-06-122-3/+3
| | | | | | | | | | | When using both ipv4 and ipv6 entries on the same host, ddns is clearing A (or AAAA) record depending on the connection (ipv4 or ipv6). see https://desec.readthedocs.io/en/latest/dyndns/update-api.html#determine-ip-addresses Signed-off-by: Baptiste Fouques <bateast@duck.com> Update comment and bump PKG_RELEASE number. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: Add v2 API for mythic-beasts.com providerJim Hague2023-03-093-1/+11
| | | | | | Use USERNAME as the key, PASSWORD as the secret. Signed-off-by: Jim Hague <jim.hague@acm.org>
* ddns-scripts: Add njal.la providerTobias Hilbig2023-02-253-1/+11
| | | | | Add njal.la provider. Use the key as password. Username is not needed. Signed-off-by: Tobias Hilbig <web.tobias@hilbig-ffb.de>
* ddns-scripts: enable IPv6 for easydns.comJames Buren2023-02-222-1/+5
| | | | | | | | easydns.com has supported IPv6 for awhile now using the same update URL as IPv4. This duplicates the IPv4 entry for IPv6 to enable support for it. Signed-off-by: James Buren <braewoods+mgh@braewoods.net>
* ddns-scripts: add hosting.de providerBenjamin Drung2023-01-183-1/+13
| | | | | | | | | | | Add hosting.de provider. To use dynamic DNS you have to create a DDNS host with a separate DDNS user. Note: As of 2023-01-17 hosting.de does not work with wget which will fail with `400: Bad Request` (it will work with `--auth-no-challenge`). You should use curl instead. I have reported that to the provider. Signed-off-by: Benjamin Drung <bdrung@bdrung.de>
* ddns-scripts: add support for LuaDNSJihoon Han2023-01-093-1/+232
| | | | Signed-off-by: Jihoon Han <rapid_renard@renard.ga>
* ddns-scripts: add strato ipv6 supportPatrick Grimm2023-01-082-1/+5
| | | | Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
* ddns-scripts: Allow setting root record for pdns scriptCristian Le2022-12-312-2/+13
| | | | Signed-off-by: Cristian Le <git@lecris.me>
* Merge pull request #19982 from golddranks/masterTianling Shen2022-12-131-2/+11
|\ | | | | ddns-scripts: update_gandi_net: improve logging & add timeout
| * ddns-scripts: update_gandi_net: improve logging & add timeoutPyry Kontio2022-12-102-3/+12
| | | | | | | | | | | | | | | | | | - Improved logging - Log the executed curl command to be able to rerun and test it manually - Log the curl exit status - Added 30 second timeout timeout for clear-cut detection of flaky connections. Signed-off-by: Pyry Kontio <pyry.kontio@drasa.eu>
* | ddns-scripts: add support for Google Cloud DNSChris Barrick2022-12-083-1/+315
|/ | | | | | | | | | | | | The implementation uses a GCP service account. The user is expected to create and secure a service account and generate a private key. The "password" field can contain the key inline or be a file path pointing to the key file on the router. The GCP project name and Cloud DNS ManagedZone must also be provided. These are taken as form-urlencoded key-value pairs in param_enc. The TTL can optionally be supplied in param_opt. Signed-off-by: Chris Barrick <chrisbarrick@google.com>
* ddns-scripts: fix cloudflare&digitalocean providesMichal Vasilek2022-10-181-2/+3
| | | | | | | Fixes mistake in dbe79e409d4d772d607364b47116a108508bb466, the cloudflare PROVIDES got mixed up with digitalocean. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* ddns-scripts: add PROVIDES for old package namesMichal Vasilek2022-10-121-1/+9
| | | | | | | | | | | | | | | | | * ddns-scripts-services: provide ddns-scripts_service * ddns-scripts-cloudflare: provide ddns-scripts_digitalocean.com-v2 * ddns-scripts-freedns: provide ddns-scripts_freedns_42_pl * ddns-scripts-godaddy: provide ddns-scripts_godaddy.com-v1 * ddns-scripts-noip: provide ddns-scripts_no-ip_com * ddns-scripts-nsupdate: provide ddns-scripts_nsupdate * ddns-scripts-route53: provide ddns-scripts_route53-v1 * ddns-scripts-cnkuai: provide ddns-scripts_cnkuai_cn https://github.com/openwrt/packages/pull/13509 renamed many ddns-scripts packages, but didn't include a PROVIDES for the old package names to make updates work well. Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
* ddns-scripts: add explicit "-d" switch for Dry RunRafał Miłecki2022-09-283-13/+13
| | | | | | | | It was a bit confusing to use *verbosity* level for Dry Run mode. Add explicity switch for it and designed DRY_RUN variable to make code easier to understand. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ddns-scripts: rename variable: s/ERR_UPDATE/RETRY_COUNT/Rafał Miłecki2022-09-272-5/+5
| | | | | | | | | | | Rename variable to make code easier to understand. This variable specifies how many times in row ddns script tried to update IP without a success. Previous name ("ERR_UPDATE") didn't suggest it was for counting anything. It also didn't specify was error was it related to. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ddns-scripts: replace IP type (name) "local" with "current"Rafał Miłecki2022-09-273-40/+40
| | | | | | | | | Local suggests something related to the local network or available locally only. All that code related to the "local" IP was actually dealing with *current* device external IP address. Using name "current" should make code a bit easier to understand. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ddns-scripts: rename variable: s/retry_count/retry_max_count/Rafał Miłecki2022-09-272-26/+26
| | | | | | | | | Rename variable to make code easier to understand. This variable specifies how many times ddns script should try to send a request. Previous name ("retry_count") suggested it was for *counting* attempts. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ddns-scripts: drop dead servicesRafał Miłecki2022-09-1211-75/+1
| | | | | | Drop services that are not available anymore. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* Merge pull request #19030 from tomsommer/tomsommer-patch-1Florian Eckert2022-08-302-0/+12
|\ | | | | ddns-scripts: Add Simply.com provider
| * ddns-scripts: Add simply.com providerTom Sommer2022-07-252-0/+12
| | | | | | | | Signed-off-by: Tom Sommer <tomsommer@users.noreply.github.com>
* | ddns-scripts: Fix typo s/ganid/gandi/Bheesham Persaud2022-08-171-2/+2
|/ | | | Signed-off-by: Bheesham Persaud <me@bheesham.com>
* ddns-scripts: mydns.ip to mydns.jpShengjiang Quan2022-05-123-2/+2
| | | | | | The provider is `mydns.jp` not `mydns.ip` which is wrong and misleading. Signed-off-by: Shengjiang Quan <qsj287068067@126.com>
* ddns-scripts: remove extra pipeAndré Herbst2022-01-312-2/+2
| | | | | The extra pipe caused an error WARN : PID 'xyz' exit WITH ERROR '2' when executing ddns update. Signed-off-by: André Herbst <moormaster@gmx.net>
* ddns-scripts: add one.com providerLuca Conte2022-01-273-1/+184
| | | | Signed-off-by: Luca Conte <main@lugico.de>
* Merge pull request #17617 from hgl/ddns-cloudflareFlorian Eckert2022-01-151-1/+1
|\ | | | | ddns-scripts-cloudflare: fix shell conditional
| * ddns-scripts-cloudflare: fix shell conditionalGlen Huang2022-01-151-1/+1
| | | | | | | | Signed-off-by: Glen Huang <heyhgl@gmail.com>
* | ddns-scripts: pass user agent stringClaudio Marelli2022-01-152-0/+12
|/ | | | | | | | This adds a user agent string to the wget request. Fixes #17507 Signed-off-by: Claudio Marelli <camarelli@gmx.net>
* ddns-scripts-cloudflare: allow explicit zone_idGlen Huang2022-01-102-11/+15
| | | | | | When zone id is explicitly provided, there is no need for the API token to have read permission. Inspired by acme.sh's cloudflare logic. Signed-off-by: Glen Huang <heyhgl@gmail.com>
* ddns-scripts: add ns1.com providerRichard Yu2021-12-153-1/+121
| | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* ddns-scripts: Add script for TransIP.nlMartijn Atema2021-11-304-1/+184
| | | | | | Signed-off-by: Martijn Atema <martijn@atema.one> Signed-off-by: Florian Eckert <fe@dev.tdt.de> - PKG_RELEASE number updated
* ddns-scripts: use HTTPS for spdynPeter Gransdorfer2021-11-302-3/+3
| | | | | | Signed-off-by: Peter Gransdorfer <peter.gransdorfer@cattronix.com> Signed-off-by: Florian Eckert <fe@dev.tdt.de> - PKG_RELEASE number updated
* ddns-scripts: Fix DigitalOcean JSON payloadGeorge Giannou2021-11-292-5/+3
| | | | Signed-off-by: George Giannou <giannoug@gmail.com>
* Merge pull request #17120 from giannoug/ddns-scripts-digitaloceanFlorian Eckert2021-11-171-50/+41
|\ | | | | ddns-scripts: Rework DigitalOcean update script
| * ddns-scripts: Rework DigitalOcean update scriptGeorge Giannou2021-11-152-51/+42
| | | | | | | | Signed-off-by: George Giannou <giannoug@gmail.com>
* | ddns-scripts: Fix typo in route53 update scriptMartijn Atema2021-11-152-2/+2
|/ | | | Signed-off-by: Martijn Atema <martijn@atema.one>
* ddns-scripts: add infomaniak.com providerDamiano Renfer2021-10-043-1/+13
| | | | Signed-off-by: Damiano Renfer <x9w2n7xnu@relay.firefox.com>
* ddns-scripts: Add dnspod.cnJun Zhu2021-09-303-1/+179
| | | | Signed-off-by: Jun Zhu <zhujunsan@gmail.com>
* ddns-script-gandi: Better error managementCristian Le2021-08-312-5/+24
| | | | | | | - Changed DNS endpoint to LiveDNS - Now using `jshn.sh` - Better handle errors and ouput Signed-off-by: Cristian Le <git@lecris.me>
* ddns-scripts-pdns: Add packageCristian Le2021-08-313-1/+98
| | | Signed-off-by: Cristian Le <git@lecris.me>
* ddns-scripts: use https for google ipv6 ddns urlScott Lamb2021-07-192-2/+2
| | | | | | | This matches an ipv4 change in 21f5cdd2fa and has the same rationale. Google requires https for both ipv6 and ipv6. Signed-off-by: Scott Lamb <slamb@slamb.org>
* ddns-scripts: get l3 device for bind network using curlFlorian Eckert2021-06-222-3/+3
| | | | | | | | | | | | | | | | If pppoe is used for wan access. script set 'eth1' as interface for curl call. The correct interface is however 'pppoe-wan'. The script uses 'network_get_physdev' function to get real device for bind_network but this is wrong. We need instead the l3_device of the the logical interface. In case if we don't use pppoe connection - 'l3_device' is equal to real device. This was reported by the github user `welderpb` with P/R: https://github.com/openwrt/packages/pull/14431 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ddns-scripts: Fix for domains with dashWenli Looi2021-05-192-4/+4
| | | | Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
* ddns-scripts: Fix for wildcard subdomainWenli Looi2021-05-183-2/+5
| | | | Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
* ddns-scripts: make WGET_SSL executableEdi Turn2021-01-272-3/+2
| | | | Signed-off-by: Edi Turn <yyxstter@gmail.com>
* ddns-scripts: Increase PKG_RELEASEGerald Hansen2021-01-261-1/+1
| | | | Signed-off-by: Gerald Hansen <gerald.hansen@posteo.de>
* ddns-scripts: Remove not working ddns providerGerald Hansen2021-01-264-22/+0
| | | | | | | I checked the hostname for existing DNS A and AAAA entries and these ones didn't have an entry. Signed-off-by: Gerald Hansen <gerald.hansen@cloud.ionos.com>