|
|
a0fa688451
|
ip/resolver: move decoders into sub package
|
2025-10-16 23:12:27 +02:00 |
|
|
|
7c2ad9384b
|
ip/resolver: add some more resolvers
|
2025-10-16 23:11:02 +02:00 |
|
|
|
534b0d0bbc
|
Add LICENSE
|
2025-10-16 22:56:52 +02:00 |
|
|
|
308d88c369
|
app/config.go: minor fixes
|
2025-10-16 22:49:03 +02:00 |
|
|
|
9786dc2c53
|
Makefile: set version from git tag
|
2025-10-16 22:46:42 +02:00 |
|
|
|
d3fea6ec4b
|
cmd/dnsupdater/main.go: print version
|
2025-10-16 22:46:31 +02:00 |
|
|
|
961f3951a8
|
use custom govultr to domain record update bug
|
2025-10-16 13:03:02 +02:00 |
|
|
|
4591f89f5f
|
dns/service/vultr/service.go: fix govultr bug
|
2025-10-15 12:12:02 +02:00 |
|
|
|
555c553686
|
refactor
|
2025-10-13 17:03:31 +02:00 |
|
|
|
49563af412
|
cmd/dnsupdater/main.go: log and continue if service is not found
|
2025-10-13 09:16:19 +02:00 |
|
|
|
9d0288174e
|
use any instead of interface{}
|
2025-10-13 09:14:45 +02:00 |
|
|
|
8f5b3df1a4
|
ci: use go 1.23 image
|
2025-10-13 00:24:18 +02:00 |
|
|
|
6b8c340dcf
|
adding vultr provider
|
2025-10-13 00:24:00 +02:00 |
|
|
|
0c347312bd
|
line ending fix
|
2025-10-13 00:14:13 +02:00 |
|
|
|
a0e4de3d19
|
http/get.go: only status code 400 or greater should be considered an error.
|
2024-01-14 12:18:44 +01:00 |
|
|
|
b8a3ed0e44
|
cmd/dnsupdater/main.go: Add cli flag for config file path
|
2024-01-14 12:14:01 +01:00 |
|
|
|
22a72de719
|
remove ip/resolver/jsonip
|
2023-12-25 21:43:08 +01:00 |
|
|
|
ae60d3bf35
|
rename ip/resolver/basic_http to ip/resolver/http
|
2023-12-25 21:41:42 +01:00 |
|
|
|
0ad92e8e4a
|
Adding Makefile
|
2023-12-25 21:41:17 +01:00 |
|
|
|
6c696ced3d
|
ip/resolver/manager.go: make jsonip be a basic_http service with jsonipDecoder decoder function.
|
2023-12-25 21:31:58 +01:00 |
|
|
|
42d5d57314
|
ip/resolver/basic_http/service.go: add support for a decoder function to be added to the service.
|
2023-12-25 21:29:56 +01:00 |
|
|
|
b2232a8fa7
|
Adding ip/resolver/jsonip.go
|
2023-12-25 21:27:48 +01:00 |
|
|
|
7b916ce09e
|
remove binary
|
2023-12-25 21:25:31 +01:00 |
|
|
|
e524c07913
|
.gitignore: ignore build directory
|
2023-12-10 16:23:44 +01:00 |
|
|
|
c12429e9ee
|
.gitlab-ci.yml: build mips with softfloat
|
2023-12-10 16:23:23 +01:00 |
|
|
|
0d8148e442
|
.gitlab-ci.yml: build for mips.
|
2023-12-08 17:17:02 +01:00 |
|
|
|
9961cec561
|
ip/resolver/resolver.go: move WAN_IFACE constant to app/app.go
resolver.go is library code and should not define (or care) about what is a "WAN" interface or not.
|
2023-12-07 20:43:48 +01:00 |
|
|
|
4d1103e133
|
Remove ip/lookup.go as those are not used anymore.
|
2023-12-07 20:41:48 +01:00 |
|
|
|
a6c98a3209
|
ip/cache.go: skip storing a NetInterfaceIPResolver in struct, Define a CacheDefaultCallback type and have it passed to the new GetWithDefault function instead.
|
2023-12-07 20:40:49 +01:00 |
|
|
|
0f21902ffd
|
Refactor
|
2023-12-07 19:45:29 +01:00 |
|
|
|
bd3aa5e948
|
ip/resolver: fix package name.
|
2023-12-07 18:47:21 +01:00 |
|
|
|
200b3172b7
|
ip/resolver/service.go: comments.
|
2023-12-07 17:31:17 +01:00 |
|
|
|
4731c01684
|
ip/resolver/jsonip/service.go: use http get helper
|
2023-12-02 14:37:34 +01:00 |
|
|
|
89aee8e388
|
ip/resolver/basic_http/service.go: use http get helper
|
2023-12-02 14:37:19 +01:00 |
|
|
|
5958c548fe
|
Adding http/get.go
|
2023-12-02 14:35:21 +01:00 |
|
|
|
e7204794e2
|
ip/resolver/jsonip/service_test.go: adding json and ip parse test.
|
2023-12-02 14:23:48 +01:00 |
|
|
|
acf8976f53
|
ip/resolver: use ip.ParseIP() helper function
|
2023-12-02 14:19:13 +01:00 |
|
|
|
2204be7777
|
ip/helpers.go: adding ParseIP()
|
2023-12-02 14:16:25 +01:00 |
|
|
|
adbb1feccd
|
ip/resolver/manager.go: remove Lookup() not used.
|
2023-12-02 11:59:27 +01:00 |
|
|
|
ec9056e9e0
|
ip/resolver: make Service.Lookup() accept a context
|
2023-12-02 11:58:53 +01:00 |
|
|
|
43705f81d1
|
app/app.go: remove app.IPLookupService, not used.
|
2023-12-02 11:55:21 +01:00 |
|
|
|
7e8ce30b87
|
app/app.go: in NewApp() return error if lookup services can't be found.
|
2023-12-02 11:53:46 +01:00 |
|
|
|
769962f135
|
ip/resolver/basic_http/service.go: return error if net.ParseIP() fails.
|
2023-12-01 21:51:58 +01:00 |
|
|
|
6df2eb3971
|
ip/resolver/basic_http/service.go: return error on http status != 2xx
|
2023-12-01 21:51:38 +01:00 |
|
|
|
e0a4b6ee95
|
ip/resolver/basic_http/service_test.go: Adding error tests.
|
2023-12-01 21:51:08 +01:00 |
|
|
|
e762ef8dd0
|
ip/resolver/manager.go: Adding icanhazip
|
2023-08-15 09:40:00 +02:00 |
|
|
|
ab15df5258
|
ip/resolver: move services that just parses the ip from a http response to use basic_http service instead.
|
2023-08-15 09:39:42 +02:00 |
|
|
|
2ddf2dadd7
|
Adding ip/resolver/basic_http
|
2023-08-15 09:37:08 +02:00 |
|
|
|
9f344a2ae9
|
cmd/dnsupdater/main.go: Adding logging
|
2023-08-12 20:11:23 +02:00 |
|
|
|
6331177513
|
cmd/dnsupdater/main.go: Also log IP when updating a domain record.
|
2023-08-11 21:03:00 +02:00 |
|