Commit Graph

4628 Commits

Author SHA1 Message Date
dependabot[bot]
bbd54ad288 build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7917)
Bumps [github.com/aws/aws-sdk-go-v2/service/route53](https://github.com/aws/aws-sdk-go-v2) from 1.62.2 to 1.62.3.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/fsx/v1.62.2...service/fsx/v1.62.3)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/route53
  dependency-version: 1.62.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>
2026-03-09 11:48:44 -07:00
dependabot[bot]
0fa9044253 build(deps): bump sigs.k8s.io/mcs-api from 0.3.0 to 0.4.0 (#7919)
Bumps [sigs.k8s.io/mcs-api](https://github.com/kubernetes-sigs/mcs-api) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/kubernetes-sigs/mcs-api/releases)
- [Changelog](https://github.com/kubernetes-sigs/mcs-api/blob/master/RELEASE.md)
- [Commits](https://github.com/kubernetes-sigs/mcs-api/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: sigs.k8s.io/mcs-api
  dependency-version: 0.4.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>
2026-03-09 11:48:33 -07:00
dependabot[bot]
723710d7b4 build(deps): bump golang.org/x/sys from 0.41.0 to 0.42.0 (#7913)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.41.0 to 0.42.0.
- [Commits](https://github.com/golang/sys/compare/v0.41.0...v0.42.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-version: 0.42.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>
2026-03-09 11:48:25 -07:00
dependabot[bot]
2d908f0368 build(deps): bump k8s.io/klog/v2 in the k8s-io group (#7912) 2026-03-09 09:24:47 -07:00
dependabot[bot]
cee5386eb8 build(deps): bump aquasecurity/trivy-action from 0.34.1 to 0.35.0 (#7910) 2026-03-09 09:24:35 -07:00
dependabot[bot]
d7455bc53b build(deps): bump google.golang.org/grpc from 1.79.1 to 1.79.2 (#7916) 2026-03-09 09:24:08 -07:00
dependabot[bot]
cdd1f2ee56 build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager (#7920) 2026-03-09 09:23:47 -07:00
dependabot[bot]
452a10ecd0 build(deps): bump actions/dependency-review-action from 4.8.3 to 4.9.0 (#7909) 2026-03-09 09:23:38 -07:00
dependabot[bot]
029523b253 build(deps): bump docker/login-action from 3.7.0 to 4.0.0 (#7908) 2026-03-09 16:49:10 +02:00
dependabot[bot]
238c8bc211 build(deps): bump github/codeql-action from 4.32.5 to 4.32.6 (#7911) 2026-03-09 16:48:15 +02:00
liucongran
2daf48e42d feat(secondary): Send NOTIFY messages after zone transfer (#7901)
* feat(secondary): Send NOTIFY messages after zone transfer

- Modified TransferIn() method to accept a transfer.Transfer parameter
- Added NOTIFY message sending after successful zone transfer in secondary plugin
- Updated Update() method to pass the transfer handler through the zone update cycle
- Added comprehensive tests for the secondary notify functionality

Closes #5669

Signed-off-by: liucongran <liucongran327@gmail.com>

* fix(secondary): Fix TransferIn method call in test

Update test to pass nil parameter to TransferIn method after signature change

Signed-off-by: liucongran <liucongran327@gmail.com>

* refactor(secondary): Clean up imports and add helper methods

- Reorder imports for consistency
- Add hasSOA() and getSOA() helper methods to Zone
- Remove unnecessary blank lines in tests

Signed-off-by: liucongran <liucongran327@gmail.com>

* fix(test): Fix variable declaration in secondary test

Change corefile variable assignment to use short declaration syntax (:=)
to fix compilation error.

Signed-off-by: liucongran <liucongran327@gmail.com>

* refactor(secondary): Use getSOA helper method in shouldTransfer

Replace direct SOA access with getSOA() helper method for consistency.

Signed-off-by: liucongran <liucongran327@gmail.com>

---------

Signed-off-by: liucongran <liucongran327@gmail.com>
Co-authored-by: liucongran <liucongran@cestc.cn>
2026-03-07 21:15:44 -08:00
Ville Vesilehto
90a9739478 chore(lint): bump golangci-lint to v2.11.1 (#7905)
- Added nolint to plugin/auto/walk.go to avoid a symlink/TOCTOU
  warning, as it needs to follow symlink.
- Replaced a few flagged integer conversions with safe equivalents in
  cache hashing, reuseport socket setup, and TLS arg handling
- Preallocated response rule slices in plugin/rewrite/name.go
- Replaced WriteString(fmt.Sprintf/Sprintln(...)) with direct
  fmt.Fprint* calls
- Removed stale nolint directives from code and tests that are no
  longer needed

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2026-03-06 11:50:24 -08:00
Ville Vesilehto
ab04d3c0ca fix: release date for v1.14.2 notes (#7906)
Updated release date for CoreDNS 1.14.2 to match the actual release
date. This causes issues when rendering the coredns.io website.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2026-03-06 11:49:20 -08:00
Yong Tang
dd1df4f5db Update release note for upcoming 1.14.2 (#7897) v1.14.2 2026-03-06 06:49:45 +02:00
Yong Tang
8c271b86e4 Bump golang to 1.26.1 (#7902) 2026-03-06 06:16:00 +02:00
Yong Tang
51a11b3664 plugin/reload: Allow disabling jitter with 0s (#7896)
This PR fixes #7894 by allowing reload 2s 0s as documented.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2026-03-05 18:35:41 -08:00
Yong Tang
5d97c15488 Bump version to 1.14.2 (#7895)
This PR bumps version to 1.14.2, as part of the release.

Related to 7883

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2026-03-05 18:35:29 -08:00
dependabot[bot]
ba3b6ce07f build(deps): bump github.com/aws/aws-sdk-go-v2/service/route53 (#7893) 2026-03-02 09:48:19 -08:00
dependabot[bot]
b760b240c9 build(deps): bump google.golang.org/api from 0.267.0 to 0.269.0 (#7890) 2026-03-02 08:47:17 -08:00
dependabot[bot]
a012d9e056 build(deps): bump github.com/aws/aws-sdk-go-v2/service/secretsmanager (#7892) 2026-03-02 08:46:09 -08:00
dependabot[bot]
465d75b24a build(deps): bump go.opentelemetry.io/otel/sdk from 1.39.0 to 1.40.0 (#7885) 2026-03-02 08:45:58 -08:00
Ville Vesilehto
86d9bc7216 build: add grpcnotrace tag to exclude x/net/trace (#7884) 2026-03-02 08:45:50 -08:00
dependabot[bot]
442f106e5e build(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 (#7886) 2026-03-02 16:51:25 +02:00
dependabot[bot]
65a0d9bfbe build(deps): bump the k8s-io group with 3 updates (#7888) 2026-03-02 16:46:48 +02:00
dependabot[bot]
8fd100cb12 build(deps): bump golang.org/x/net from 0.50.0 to 0.51.0 (#7889) 2026-03-02 16:44:29 +02:00
dependabot[bot]
2effbef23c build(deps): bump actions/setup-go from 6.2.0 to 6.3.0 (#7887) 2026-03-02 16:43:18 +02:00
dependabot[bot]
8c1b44a177 build(deps): bump github/codeql-action from 4.32.4 to 4.32.5 (#7891) 2026-03-02 16:42:12 +02:00
yangsenzk
5b7da1fbf7 plugin/forward: fix parsing error when handling TLS+IPv6 address (#7848) 2026-02-25 02:21:39 -08:00
YOUNEVSKY
7ae1c40db2 plugin/loop: use crypto/rand for query name generation (#7881) 2026-02-25 02:21:04 -08:00
YOUNEVSKY
4411cff759 plugin: reorder rewrite before acl to prevent bypass (#7882) 2026-02-25 02:19:47 -08:00
dependabot[bot]
3d31397fe6 build(deps): bump github.com/aws/aws-sdk-go-v2/config (#7876) 2026-02-24 07:20:38 -08:00
dependabot[bot]
99923b47c9 build(deps): bump google.golang.org/api from 0.266.0 to 0.267.0 (#7877) 2026-02-23 16:57:53 -08:00
dependabot[bot]
4726bc7a91 build(deps): bump github.com/aws/aws-sdk-go-v2/credentials (#7878) 2026-02-23 16:57:44 -08:00
dependabot[bot]
8a739a38bb build(deps): bump actions/dependency-review-action from 4.8.2 to 4.8.3 (#7875) 2026-02-23 17:10:07 +02:00
dependabot[bot]
60271a0633 build(deps): bump actions/stale from 10.1.1 to 10.2.0 (#7874) 2026-02-23 17:09:49 +02:00
dependabot[bot]
36868e4b91 build(deps): bump github/codeql-action from 4.32.3 to 4.32.4 (#7873) 2026-02-23 17:09:34 +02:00
dependabot[bot]
2833e884e7 build(deps): bump aquasecurity/trivy-action from 0.34.0 to 0.34.1 (#7872) 2026-02-23 17:09:14 +02:00
hide
78524a7921 fix(rewrite): fix cname target rewrite for CNAME chains (#7853)
* fix(rewrite): fix cname target rewrite for CNAME chains

This fix corrects the cname target rewrite to handle CNAME chains:
- Preserves only the CNAME records before matching the rule
- Rewrites only the CNAME target that matches the rule
- Includes all records from the re-resolved upstream response

Signed-off-by: hide <hide@hide.net.eu.org>

* docs(rewrite): document how answer records are handled in CNAME target rewrite

Signed-off-by: hide <hide@hide.net.eu.org>

* fix(rewrite): simplify slice append per staticcheck S1011

Signed-off-by: hide <hide@hide.net.eu.org>

* docs(rewrite): add extra line between code and paragraph

Signed-off-by: hide <hide@hide.net.eu.org>

---------

Signed-off-by: hide <hide@hide.net.eu.org>
Co-authored-by: hide <hide@hide.net.eu.org>
2026-02-21 16:10:35 -05:00
Ville Vesilehto
191a783e46 chore(deps): k8s-io group to client-go v0.35.1 (#7868) 2026-02-17 10:13:22 -08:00
dependabot[bot]
b65cdfb639 build(deps): bump golang.org/x/net from 0.49.0 to 0.50.0 (#7867)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.49.0 to 0.50.0.
- [Commits](https://github.com/golang/net/compare/v0.49.0...v0.50.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.50.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>
2026-02-16 20:24:40 +02:00
Ville Vesilehto
23774edfa4 fix(kubernetes): panic on empty ListenHosts (#7857) 2026-02-16 07:04:19 -08:00
dependabot[bot]
7767dc0e3a build(deps): bump github/codeql-action from 4.32.2 to 4.32.3 (#7860) 2026-02-16 07:03:34 -08:00
dependabot[bot]
e837411a38 build(deps): bump aquasecurity/trivy-action from 0.33.1 to 0.34.0 (#7861) 2026-02-16 07:03:20 -08:00
dependabot[bot]
dc870768b8 build(deps): bump github.com/expr-lang/expr from 1.17.7 to 1.17.8 (#7866) 2026-02-16 07:02:50 -08:00
dependabot[bot]
86972851d5 build(deps): bump github.com/pires/go-proxyproto from 0.8.1 to 0.11.0 (#7863) 2026-02-16 07:02:27 -08:00
dependabot[bot]
0c20201df2 build(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.1 (#7864) 2026-02-16 07:02:04 -08:00
dependabot[bot]
e18ead3af7 build(deps): bump the go-etcd-io group with 2 updates (#7862) 2026-02-16 07:01:51 -08:00
Ville Vesilehto
6fd38dca06 chore: bump minimum Go version to 1.25 (#7788) 2026-02-16 05:28:30 -08:00
Ville Vesilehto
b1080a2934 chore: bump Go version to 1.26.0 (#7856) 2026-02-16 04:26:18 -08:00
dependabot[bot]
0f0a9920b1 build(deps): bump google.golang.org/api from 0.264.0 to 0.265.0 (#7851)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.264.0 to 0.265.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.264.0...v0.265.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-version: 0.265.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>
2026-02-10 17:40:11 -08:00