Commit Graph

14 Commits

Author SHA1 Message Date
Pascal Bachor
4e18b4b60e refactor: Use list of pairs instead of pair of lists in update changes (adjust use sites) 2025-07-23 19:30:51 +02:00
kaikai
a4522f0b76
chore(domainfilter): use pointer receivers for DomainFilter (#5546)
* refactor(domainfilter): use pointer receivers for DomainFilter

* refactor(domainfilter): complete pointer type consistency across providers
2025-06-21 00:38:53 -07:00
Romain Beuque
226c45e766
fix(ovh): correct handling of records deletion (#5450)
Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
2025-06-08 02:24:22 -07:00
Ivan Ka
3e4a8bb056
chore(code-quality): added linter errchkjson (#5448)
* chore(code-quality): added linter errchkjson

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* chore(code-quality): added linter errchkjson

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

---------

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-05-24 01:04:51 -07:00
Romain Beuque
39def3fbfd fix: ovh: handling capitalized DNS records + prevent panic
Better handling of case aware endpoint by lower-casing all the
sub-domain part.

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
2025-05-14 08:59:10 +00:00
Ivan Ka
a6243cf6bb
chore(providers): rename custom TTL constants to defaultTTL (#5312)
* chore(provider): inline providers

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* chore(provider): inline providers

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* chore(provider): inline providers

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* chore(provider): inline providers

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

* chore(provider): inline providers

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>

---------

Signed-off-by: ivan katliarchuk <ivan.katliarchuk@gmail.com>
2025-04-27 14:59:25 -07:00
Romain Beuque
ecd57c86f5
feat(ovh): major rewriting of the provider (#5143)
* feat: ovh: improve cache invalidation on errors + dry-run mode + relative CNAME handling + optimization

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>

* chore: add more tests

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>

* fix: align cache expiration with Default value

* chore: address comments from review + updated documentation

* chore: address comments from review

---------

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
2025-03-17 07:53:49 -07:00
Nicolas Maupu
95d9c3c71d OVH: fixing cache refresh issues and duplicates
- Cache was not updated when a change occurred which resulted in a
change to be redone at each loop
- OVH DNS can have multiple times the exact same entry. Make sure we
process all the IDs (instead of picking indefinitely the first one)
2024-12-05 12:32:36 +01:00
Romain Beuque
1a48cb8e16 feat(ovh): add cache based on DNS zone SOA value
OVHcloud customers using 'ovh' provider for large DNS zone will spend a
lot of time waiting for all records to be retrieved from the API. As
records can't change without a modification of the SOA Serial of the DNS
zone, this commit adds a client-side cache that stores the value of the
DNS records for each zone, based of the current SOA Serial value of the
zone. In case the SOA Serial of the zone is identical to the one in
cache, we can serve all the records directly from cache. Otherwise,
fallback on refreshing the cache from the API.

Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
2023-07-17 10:14:01 +00:00
bl-ue
84a23191b5 Fix typos
* fix typos

* fix special quote characters

* fix syntax highlighting in some code blocks
2020-12-13 10:03:14 -05:00
Yury Tsarev
ede9767c78 Fix NS related provider test 2020-10-12 22:45:17 +02:00
Hugome
ba5afe9518
Add OVH API rate limiting option 2020-06-09 08:56:32 +02:00
Raffaele Di Fazio
45b1db4478 Merge branch 'master' into raffo/provider-structure-refactor 2020-05-08 13:58:50 +02:00
Raffaele Di Fazio
db4224c705 restructures the providers (build only)
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
2020-05-08 13:05:17 +02:00