Commit Graph

4404 Commits

Author SHA1 Message Date
dependabot[bot]
d95caaf094 build(deps): bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds (#7546)
Bumps [github.com/aws/aws-sdk-go-v2/feature/ec2/imds](https://github.com/aws/aws-sdk-go-v2) from 1.18.6 to 1.18.7.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.7/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.6...config/v1.18.7)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/ec2/imds
  dependency-version: 1.18.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 11:11:40 -07:00
dependabot[bot]
71c45af445 build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager (#7547)
Bumps [github.com/aws/aws-sdk-go-v2/service/secretsmanager](https://github.com/aws/aws-sdk-go-v2) from 1.39.2 to 1.39.4.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/amp/v1.39.2...service/amp/v1.39.4)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/secretsmanager
  dependency-version: 1.39.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 11:11:19 -07:00
dependabot[bot]
e3b1a562ea build(deps): bump google.golang.org/grpc from 1.75.0 to 1.75.1 (#7550)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.75.0 to 1.75.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.75.0...v1.75.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.75.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 11:10:49 -07:00
dependabot[bot]
f786bea3df build(deps): bump the k8s-io group with 3 updates (#7555)
Bumps the k8s-io group with 3 updates: [k8s.io/api](https://github.com/kubernetes/api), [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) and [k8s.io/client-go](https://github.com/kubernetes/client-go).


Updates `k8s.io/api` from 0.34.0 to 0.34.1
- [Commits](https://github.com/kubernetes/api/compare/v0.34.0...v0.34.1)

Updates `k8s.io/apimachinery` from 0.34.0 to 0.34.1
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.34.0...v0.34.1)

Updates `k8s.io/client-go` from 0.34.0 to 0.34.1
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.34.0...v0.34.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-version: 0.34.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.34.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
- dependency-name: k8s.io/client-go
  dependency-version: 0.34.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k8s-io
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 10:21:56 -07:00
dependabot[bot]
bf0a29c532 build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7544)
Bumps [github.com/aws/aws-sdk-go-v2/service/route53](https://github.com/aws/aws-sdk-go-v2) from 1.58.0 to 1.58.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/s3/v1.58.0...service/s3/v1.58.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
  dependency-version: 1.58.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 10:17:46 -07:00
Ville Vesilehto
a30954ea71 test(view): improve test coverage (#7543)
Cover edge cases in config parser. Add rudimentary View/Filter
tests. Improves test coverage from 44% to 82%.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-15 10:17:35 -07:00
Ville Vesilehto
c916cf4259 fix(plugin): nilness findings (#7556)
Enable nilness linter in govet.

Plugin-by-plugin rationale:

- plugin/transfer: reuse error instead of shadowing it inside the for
  loop by declaring "ret" outside of the loop
- plugin/view: remove redundant err check
- plugin/dnstap: avoid possible nil dereference in error reporting
  path in setup test
- plugin/forward: prevent nil deference or empty-slice dereference on
  error paths in setup test

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-15 10:17:06 -07:00
dependabot[bot]
4073862045 build(deps): bump google.golang.org/api from 0.248.0 to 0.249.0 (#7551)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.248.0 to 0.249.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.248.0...v0.249.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.249.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 10:16:35 -07:00
dependabot[bot]
3bdd8de46f build(deps): bump golang.org/x/crypto from 0.41.0 to 0.42.0 (#7553) 2025-09-15 17:37:12 +03:00
dependabot[bot]
4dd6c6b5f5 build(deps): bump github/codeql-action from 3.30.1 to 3.30.3 (#7549) 2025-09-15 17:30:24 +03:00
Ville Vesilehto
ba7d5ff55a test(metrics): improve test coverage (#7538)
Add more unit tests for metrics plugin, around registration
deduplication, zone management, restart/shutdown behavior and
context helpers.

Increases test coverage from 54.8% to 76.1%.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-13 15:15:25 -07:00
Ville Vesilehto
a72a14d88b test(presubmit): prevent panic in TestImportOrdering on split import (#7540)
Fix a panic in presubmit test when import statements are split into
>3 logical blocks (e.g., std, coredns, then third party in multiple
blocks). The computed block index could exceed the fixed array
bounds.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-13 15:14:59 -07:00
Ville Vesilehto
c149567dbe fix: lint issues from plugin/forward and plugin/pkg/dnstest (#7539)
To fix CI pipeline issues on master.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-13 15:14:10 -07:00
Fitz_dev
9683de0feb fix: No failover to next upstream when receiving SERVFAIL or REFUSED response codes(#7457) (#7458) 2025-09-12 14:45:01 -07:00
Ville Vesilehto
155f451957 test(grpc): add fuzzer (#7513) 2025-09-12 14:43:56 -07:00
Ville Vesilehto
8817d8f2f9 fix(grpc): enforce DNS message size limits (#7490)
Add DNS wire size validation for requests/replies. Limit gRPC
recv/send via default call options, accounting necessary
framing/protobuf overhead. An error is returned for oversized
messages. Add test.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-12 08:21:33 +03:00
Ville Vesilehto
39abf5aeba chore(lint): modernize Go (#7536)
Use modern Go constructs through the modernize analyzer from the
golang.org/x/tools package.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-10 13:08:27 -07:00
Ville Vesilehto
afdd41a266 chore: bump Go version to 1.25.1 (#7535)
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-10 13:07:57 -07:00
Yong Tang
a6673745e4 Update prometheus version (#7533)
This PR updates prometheus version as PR #7522 failed

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2025-09-09 23:08:29 -07:00
Ilya Kulakov
c90e70339c dnsserver.Server: Export timeout values (#7497)
Plugins need access to timeout values that are actually used by
TCP dns.Server

Signed-off-by: Ilya Kulakov <kulakov.ilya@gmail.com>
2025-09-09 19:06:44 -07:00
Ville Vesilehto
d2e0e6a459 chore(docs): remove extra whitespace from readmes (#7532) 2025-09-09 14:30:27 -07:00
dependabot[bot]
f32329577f build(deps): bump github/codeql-action from 3.30.0 to 3.30.1 (#7528) v1.12.4 2025-09-08 06:47:41 -07:00
dependabot[bot]
3fc046f976 build(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#7525) 2025-09-08 06:47:19 -07:00
dependabot[bot]
1b35ba1f03 build(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3 (#7527) 2025-09-08 06:47:03 -07:00
dependabot[bot]
8f76d6ffa8 build(deps): bump actions/stale from 9.1.0 to 10.0.0 (#7526) 2025-09-08 06:46:52 -07:00
dependabot[bot]
ddc1878bbd build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 (#7524) 2025-09-08 06:46:41 -07:00
dependabot[bot]
f74bf9c0ac build(deps): bump aquasecurity/trivy-action from 0.33.0 to 0.33.1 (#7523) 2025-09-08 06:46:30 -07:00
dependabot[bot]
cbc32d2389 build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7521) 2025-09-08 06:46:06 -07:00
dependabot[bot]
51d59e539d build(deps): bump golang.org/x/sys from 0.35.0 to 0.36.0 (#7520) 2025-09-08 06:45:54 -07:00
dependabot[bot]
a62ef5dd0d build(deps): bump github.com/DataDog/dd-trace-go/v2 from 2.2.2 to 2.2.3 (#7519) 2025-09-08 06:45:22 -07:00
Yong Tang
96819edef2 Update note and versioon for 1.12.4 release (#7518) 2025-09-08 06:44:56 -07:00
Ville Vesilehto
0dd76bd9b1 fix(transfer): goroutine leak on axfr err (#7516) 2025-09-05 13:13:11 -07:00
Ville Vesilehto
8c2cfb01e3 plugin/etcd: fix import order for ttl test (#7515) 2025-09-05 11:45:30 -07:00
Archy
0d24fc4a5d Add note about chronological order of adopters (#7498) 2025-09-05 11:44:17 -07:00
Ville Vesilehto
e1768a5d27 Merge commit from fork
Instead of casting lease ID to uint32, fix the TTL() function
to use etcd time-to-live API for determining TTL. Add configurable
min-lease-ttl and max-lease-ttl options to prevent extreme TTL
values. By default, lease records now go through bounds checking
with 30s to 1d as the min/max.

Added unit tests for validation and docs.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-04 17:14:27 -07:00
Ville Vesilehto
066e51675c fix(grpc): check proxy list length in policies (#7512) 2025-09-03 16:24:44 -07:00
Ville Vesilehto
abef207695 fix(https): propagate HTTP request context (#7491) 2025-09-02 14:33:16 -07:00
dependabot[bot]
3f868e5edd build(deps): bump github.com/aws/aws-sdk-go-v2/config (#7501) 2025-09-02 14:32:11 -07:00
dependabot[bot]
83a546e7b4 build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager (#7502) 2025-09-02 14:31:59 -07:00
Ville Vesilehto
1ea6a7f682 fix(plugin): guard nil lookups across plugins (#7494) 2025-09-02 13:46:47 -07:00
dependabot[bot]
254e95ea69 build(deps): bump the k8s-io group with 2 updates (#7503) 2025-09-02 13:46:10 -07:00
dependabot[bot]
734d696551 build(deps): bump github.com/aws/aws-sdk-go-v2/credentials (#7506) 2025-09-02 13:42:08 -07:00
Ville Vesilehto
ecdff70354 lint: add missing prealloc to backend lookup test (#7510) 2025-09-02 00:41:06 -07:00
dependabot[bot]
ca9894bea5 build(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.33.0 (#7507)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](dc5a429b52...f9424c10c3)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:49:24 +03:00
dependabot[bot]
257da16847 build(deps): bump github/codeql-action from 3.29.11 to 3.30.0 (#7509)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.11 to 3.30.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3c3833e0f8...2d92b76c45)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:46:37 +03:00
dependabot[bot]
b1b4cb8c18 build(deps): bump actions/dependency-review-action from 4.7.2 to 4.7.3 (#7508)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](bc41886e18...595b5aeba7)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-02 08:45:59 +03:00
Ville Vesilehto
21176fbf1a fix(grpc): span leak on error attempt (#7487) 2025-09-01 18:09:51 -07:00
dependabot[bot]
06586b0817 build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7500) 2025-09-01 18:08:09 -07:00
dependabot[bot]
c1392c7372 build(deps): bump sigs.k8s.io/mcs-api from 0.2.0 to 0.3.0 (#7499) 2025-09-01 18:07:58 -07:00
Ville Vesilehto
5424d9dc58 test(plugin): improve backend lookup coverage (#7496) 2025-09-01 18:06:31 -07:00