coredns v1.12.4 版本更新介绍
发布日期: 2025-09-09
版本号: v1.12.4
本次更新提升了稳定性和安全性,修复了DoH中的上下文传播、文件插件中的标签偏移处理以及gRPC和传输过程中的连接泄漏问题。同时为负载均衡新增了prefer选项支持,为指标服务器添加了超时设置,并修复了多个安全漏洞(详见相关安全公告)。
更新内容 (中文)
本次版本提升了稳定性和安全性,修复了DoH中的上下文传播问题、file插件中的标签偏移处理,以及gRPC和transfer插件中的连接泄漏问题。同时为loadbalance插件添加了prefer选项支持,为metrics服务器引入了超时机制,并修复了若干安全漏洞(详见相关安全公告)。
贡献者名单
Archy
Ilya Kulakov
Olli Janatuinen
Qasim Sarfraz
Syed Azeez
Ville Vesilehto
wencyu
Yong Tang
重要变更
- core: 改进caddy.GracefulServer符合性检查 (https://github.com/coredns/coredns/pull/7416)
- core: 在DoH中传播HTTP请求上下文 (https://github.com/coredns/coredns/pull/7491)
- plugin/file: 修复ClosestEncloser中的标签偏移问题 (https://github.com/coredns/coredns/pull/7465)
- plugin/grpc: 在策略中检查代理列表长度 (https://github.com/coredns/coredns/pull/7512)
- plugin/grpc: 修复span泄漏和错误尝试时的deadline问题 (https://github.com/coredns/coredns/pull/7487)
- plugin/header: 移除已弃用语法 (https://github.com/coredns/coredns/pull/7436)
- plugin/loadbalance: 支持prefer选项 (https://github.com/coredns/coredns/pull/7433)
- plugin/metrics: 为metrics HTTP服务器添加超时机制 (https://github.com/coredns/coredns/pull/7469)
- plugin/trace: 将dd-trace-go从v1迁移至v2 (https://github.com/coredns/coredns/pull/7466)
- plugin/transfer: 修复axfr错误时的goroutine泄漏 (https://github.com/coredns/coredns/pull/7516)
更新内容 (原始)
This release improves stability and security, fixing context propagation in DoH, label offset handling in the file plugin, and connection leaks in gRPC and transfer. It also adds support for the prefer option in loadbalance, introduces timeouts to the metrics server, and fixes several security vulnerabilities (see details in related security advisories).
Brought to You By
Archy Ilya Kulakov Olli Janatuinen Qasim Sarfraz Syed Azeez Ville Vesilehto wencyu Yong Tang
Noteworthy Changes
- core: Improve caddy.GracefulServer conformance checks (https://github.com/coredns/coredns/pull/7416)
- core: Propagate HTTP request context in DoH (https://github.com/coredns/coredns/pull/7491)
- plugin/file: Fix label offset problem in ClosestEncloser (https://github.com/coredns/coredns/pull/7465)
- plugin/grpc: Check proxy list length in policies (https://github.com/coredns/coredns/pull/7512)
- plugin/grpc: Fix span leak and deadline on error attempt (https://github.com/coredns/coredns/pull/7487)
- plugin/header: Remove deprecated syntax (https://github.com/coredns/coredns/pull/7436)
- plugin/loadbalance: Support prefer option (https://github.com/coredns/coredns/pull/7433)
- plugin/metrics: Add timeouts to metrics HTTP server (https://github.com/coredns/coredns/pull/7469)
- plugin/trace: Migrate dd-trace-go v1 to v2 (https://github.com/coredns/coredns/pull/7466)
- plugin/transfer: Fix goroutine leak on axfr err (https://github.com/coredns/coredns/pull/7516)
下载链接
- coredns_1.12.4_darwin_amd64.tgz
- coredns_1.12.4_darwin_amd64.tgz.sha256
- coredns_1.12.4_darwin_arm64.tgz
- coredns_1.12.4_darwin_arm64.tgz.sha256
- coredns_1.12.4_linux_amd64.tgz
- coredns_1.12.4_linux_amd64.tgz.sha256
- coredns_1.12.4_linux_arm.tgz
- coredns_1.12.4_linux_arm.tgz.sha256
- coredns_1.12.4_linux_arm64.tgz
- coredns_1.12.4_linux_arm64.tgz.sha256
- coredns_1.12.4_linux_mips.tgz
- coredns_1.12.4_linux_mips.tgz.sha256
- coredns_1.12.4_linux_mips64le.tgz
- coredns_1.12.4_linux_mips64le.tgz.sha256
- coredns_1.12.4_linux_ppc64le.tgz
- coredns_1.12.4_linux_ppc64le.tgz.sha256
- coredns_1.12.4_linux_riscv64.tgz
- coredns_1.12.4_linux_riscv64.tgz.sha256
- coredns_1.12.4_linux_s390x.tgz
- coredns_1.12.4_linux_s390x.tgz.sha256
- coredns_1.12.4_windows_amd64.tgz
- coredns_1.12.4_windows_amd64.tgz.sha256