886 Commits

Author SHA1 Message Date
Quentin McGaw
e793c4926b docs(readme): update readme for standalone binaries
- Update description and title to be generic and non-specific to Docker
- Describe availability as container image and prebuilt binaries
- Split features specific to the container in their own features subsection
- Merge "Next steps" section in the container setup section
2024-02-04 11:08:47 +00:00
Quentin McGaw
c338c28ce3 fix(ci): set write contents permissions for goreleaser v2.6.0 2024-02-03 18:50:31 +00:00
CyberAustin
aa12ccc0b9 feat(provider): goip.de support (#623) 2024-02-03 19:28:46 +01:00
Quentin McGaw
cfdc1f3dbe docs(readme): use relative links in readme and make it compatible with docker hub
- use `enable-url-completion` in docker hub description step
2024-02-03 09:16:36 +00:00
Quentin McGaw
85b64cbeeb feat(publicip/http): add ipleak support for all IP versions 2024-02-03 09:16:33 +00:00
Quentin McGaw
1c76c84bc3 docs(readme): add missing ipify option for HTTP IPv4 or IPv6 public IP fetching 2024-02-03 08:18:17 +00:00
Quentin McGaw
2afec6c0ac feat(publicip/http): add Spdyn provider 2024-02-03 08:13:37 +00:00
Quentin McGaw
7b573266e9 chore(config): remove pointer from validate function receivers 2024-02-03 07:59:40 +00:00
Quentin McGaw
3107e00048 chore(config): fix providers slice capacity to right size 2024-02-03 07:59:08 +00:00
Quentin McGaw
1c80aaa3ec chore(ci): rename created -> date versioning variable
- to match goreleaser default ldflags `main.date`
- rename Dockerfile ldflag from created to date
- remove goreleaser custom ldflags and use defaults ones
2024-02-03 07:55:33 +00:00
Quentin McGaw
3935b3640b feat(logs): split logs for cooldown and ban
- cooldown happens sometimes, especially after the first program run. It is logged at the debug level.
- ban should not happen often and is logged at the info level
- adds more information to both log calls
2024-02-02 18:25:25 +00:00
Quentin McGaw
0247d5ca0a chore(update): better log message when succeeding fetching the public ip after a failure 2024-02-02 15:55:09 +00:00
Quentin McGaw
c494662976 fix(publicip): remove noip due to only http availability 2024-02-02 15:51:07 +00:00
Quentin McGaw
6f71982a7e feat(update): getip return explicit IPv6 not supported error
- only if all tries result in an error pointing to IPv6 being not supported
2024-02-01 16:46:57 +00:00
Quentin McGaw
a018b75609 chore(update): remove unneeded ip validity check 2024-02-01 16:36:17 +00:00
Quentin McGaw
e3ed94ff43 feat(update): more accurate time of events
- update call may take some time
- event time should be AFTER update is finished
- new ban time should be set to time AFTER update is finished
2024-02-01 16:36:17 +00:00
Quentin McGaw
2aaf02537a chore(update): requery current time on each update need check
- Checking with DNS resolution each record can take some time
- More "exact", although impact should be none
2024-02-01 16:36:17 +00:00
Quentin McGaw
f7db1ac7cf chore(update): requery current time after checking which records need an update
- Checking with DNS resolution each record can take some time
- More "exact", although impact should be none
2024-02-01 16:36:17 +00:00
Quentin McGaw
ebd852fcc1 fix(update): set initial fail status if public ip fetching failed 2024-02-01 16:36:17 +00:00
Quentin McGaw
443daad0fa chore(getip): change log messages
- log each error as they happen at the debug level
- return all errors joined if all tries fail and log at the error level
2024-02-01 16:36:13 +00:00
Quentin McGaw
b6e8f699a6 hotfix(ipv6): restore compatibility with old IPV6_PREFIX 2024-02-01 09:23:28 +00:00
Quentin McGaw
8d282cd6d9 hotfix(params): only log warning if ipv6 suffix is set for ipv4 2024-02-01 09:07:16 +00:00
Quentin McGaw
ed0a0d07ff chore(ci): move config files to .github/workflows/configs 2024-02-01 07:13:20 +00:00
Quentin McGaw
875cd027d7 fix(publicip/dns): use address of Cloudflare for ipv4 or ipv6 2024-01-31 14:31:35 +00:00
Quentin McGaw
dc2b7aaa0b chore(publicip/dns): set dial timeout to fetcher timeout 2024-01-31 14:18:07 +00:00
Quentin McGaw
816406dc41 feat(publicip/http): add api64.ipify.org 2024-01-31 14:18:02 +00:00
Quentin McGaw
621c3a13be docs(typo): indentifier -> identifier 2024-01-29 17:11:37 +00:00
Quentin McGaw
bad0d3aeda fix(ipv6): add JSON IPv6 suffix parameter (#611)
- Remove `IPV6_PREFIX` environment variable (unneeded) and remove associated code
- Update all documentation for each provider supporting IPv6
- Build IPv6 as prefix:suffix when getting it from a public IP source for each record IPv6 suffix parameter
- Automatically disable provider_ip if public ip is IPv6 and IPv6 suffix is set (they are not compatible with each other)
2024-01-29 17:31:07 +01:00
Quentin McGaw
25b8e02acc fix(spdyn): validate host value even if the token is set 2024-01-29 16:26:34 +00:00
Quentin McGaw
9b1c98ce49 chore(servercow): validation of host within main switch block 2024-01-29 16:26:03 +00:00
Quentin McGaw
9e6b7e5b99 feat(config): add :53 to resolver address if no port is given 2024-01-29 14:08:40 +00:00
Quentin McGaw
00a9653e95 hotfix(ci): increase markdown link check timeout to 20s 2024-01-29 10:02:53 +00:00
Quentin McGaw
b771b5c9b5 chore(namecheap): make code only IPv4 compatible
- Namecheap does not support IPv6 dynamic updates still
2024-01-29 09:43:01 +00:00
Quentin McGaw
67b83d402a docs(ip_version): add missing parameter for 4 providers
- allinkl, name.com, netcup, nowdns, porkbun
2024-01-29 09:42:57 +00:00
Quentin McGaw
fc500f7443 docs(ip_version): update description of all providers 2024-01-29 09:37:33 +00:00
Quentin McGaw
2658f609da chore(servercow): use injected domain instead of re-parsing it 2024-01-29 09:06:07 +00:00
Quentin McGaw
f60f7212c3 hotfix(dondominio): use DDNS only endpoint dondns.dondominio.com/json 2024-01-29 08:12:30 +00:00
Quentin McGaw
eee8485543 hotfix(dondominio): update API endpoint to simple-api.dondominio.net 2024-01-29 07:42:42 +00:00
Quentin McGaw
5c166a6ab6 hotfix(markdown): fix links and add link check config 2024-01-28 12:10:49 +00:00
Quentin McGaw
417a26282e feat(dondominio): allow any host values including wildcard 2024-01-28 09:42:39 +00:00
Quentin McGaw
8839db93dc feat(dondominio): create record if it does not exist 2024-01-28 09:41:03 +00:00
Quentin McGaw
7eee3fcccf fix(dondominio): use endpoint api.dondominio.com 2024-01-28 09:40:28 +00:00
Quentin McGaw
8888694b9a hotfix(ci): fix markdown issues 2024-01-28 08:31:41 +00:00
Quentin McGaw
b3cae52145 feat(build): workflow to have binaries on releases
- Fixes #294
2024-01-28 08:22:21 +00:00
Quentin McGaw
005c0c8f04 feat(ci): add markdown workflow
- Fixes #592
- Remove docker hub description workflow
- Build workflow ignores md files for spellcheck
2024-01-28 08:22:21 +00:00
Quentin McGaw
bc54ba5aca feat(update): skip update if public IP not found 2024-01-28 07:28:03 +00:00
Quentin McGaw
481321b5d3 chore(update): simplify shouldUpdateRecord functions
- `shouldUpdateRecordNoLookup`
- `shouldUpdateRecordWithLookup`
2024-01-28 07:28:03 +00:00
Slavik
115ce8faac docs(readme): fix shoutrrr bad link (#609) 2024-01-27 22:29:16 +01:00
Quentin McGaw
e665684fa4 fix(google): removed since no longer functional
- Logs error if provider google is used
- Documentation updated
- Fixes #605
2024-01-27 21:24:27 +00:00
Quentin McGaw
74168ad4ab hotfix(database): fix historical events reading
- Regression introduced in 7ed63a036e (PR #514)
2024-01-27 21:17:19 +00:00