Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
Quentin McGaw
7f0e858fa0 fix(update): do not write empty IP on fetch fail 2024-01-24 20:02:07 +00:00
Quentin McGaw
41de082ffc fix(log): ipv4 no lookup update log 2024-01-24 19:55:53 +00:00
Quentin McGaw
e50b38b331 chore(internal/update): simplify log calls 2024-01-15 14:21:09 +00:00
Quentin McGaw
91741a5aad feat(health): HEALTH_HEALTHCHECKSIO_UUID for healthchecks.io 2024-01-15 13:56:56 +00:00
Felix Wirth
7fac178b7d fix(ipv6): mask IPv6 address fetched (#515) 2023-08-08 09:07:39 +02:00
Felix Wirth
b92274347a fix(log): IPv4 and IPv6 only debug logging (#513) 2023-08-04 15:56:18 +02:00
Quentin McGaw
336bf057ab chore(update): rename run.go to service.go 2023-06-16 09:18:38 +00:00