coredns v1.13.0 版本更新介绍
发布日期: 2025-10-06
版本号: v1.13.0
这个版本引入了一个新的Nomad插件,用于将CoreDNS与HashiCorp Nomad集成。同时修复了Corefile中的无限循环和导入循环问题,改进了关闭处理,规范化了核心恐慌,解决了文件插件中的数据竞争,强制执行了gRPC大小限制,调整了转发故障转移行为,并防止了重新加载死锁。
更新内容 (中文)
本次发布引入了用于集成 CoreDNS 与 HashiCorp Nomad 的新型 Nomad 插件。同时修复了 Corefile 中可能导致无限循环与导入循环的重大问题,改进了关闭处理机制,规范化了核心 panic 处理,解决了 file 插件中的数据竞争问题,强制执行了 gRPC 大小限制,调整了 forward 故障转移行为,并防止了重载死锁。
特别鸣谢
Fitz_dev Ilya Kulakov Olli Janatuinen Ville Vesilehto Yong Tang
重要变更
- core: 在 dnsserver.Server 中导出超时值 (https://github.com/coredns/coredns/pull/7497)
- core: 修复 Corefile 因未闭合花括号导致的无限循环 (https://github.com/coredns/coredns/pull/7571)
- core: 修复 Corefile 相关的导入循环问题 (https://github.com/coredns/coredns/pull/7567)
- core: 规范化对无效 origin 的 panic 处理 (https://github.com/coredns/coredns/pull/7563)
- core: 依赖 dns.Server.ShutdownContext 实现优雅停止 (https://github.com/coredns/coredns/pull/7517)
- plugin/dnstap: 为插件参数添加边界检查 (https://github.com/coredns/coredns/pull/7557)
- plugin/file: 修复 tree Elem.Name 中的数据竞争 (https://github.com/coredns/coredns/pull/7574)
- plugin/forward: 收到 SERVFAIL 或 REFUSED 响应码时不再故障转移至下一个上游 (https://github.com/coredns/coredns/pull/7458)
- plugin/grpc: 强制执行 DNS 消息大小限制 (https://github.com/coredns/coredns/pull/7490)
- plugin/loop: 防止 ListenHosts 为空时发生 panic (https://github.com/coredns/coredns/pull/7565)
- plugin/loop: 避免在无效服务器块上发生 panic (https://github.com/coredns/coredns/pull/7568)
- plugin/nomad: 添加 Nomad 插件 (https://github.com/coredns/coredns/pull/7467)
- plugin/reload: 防止 SIGTERM/重载死锁 (https://github.com/coredns/coredns/pull/7562)
更新内容 (原始)
This release introduces a new Nomad plugin for integrating CoreDNS with HashiCorp Nomad. It also fixes major Corefile issues on infinite loops and import cycles, improves shutdown handling, normalizes core panics, addresses data races in the file plugin, enforces gRPC size limits, adjusts forward failover behavior, as well as prevents reload deadlocks.
Brought to You By
Fitz_dev Ilya Kulakov Olli Janatuinen Ville Vesilehto Yong Tang
Noteworthy Changes
- core: Export timeout values in dnsserver.Server (https://github.com/coredns/coredns/pull/7497)
- core: Fix Corefile infinite loop on unclosed braces (https://github.com/coredns/coredns/pull/7571)
- core: Fix Corefile related import cycle issue (https://github.com/coredns/coredns/pull/7567)
- core: Normalize panics on invalid origins (https://github.com/coredns/coredns/pull/7563)
- core: Rely on dns.Server.ShutdownContext to gracefully stop (https://github.com/coredns/coredns/pull/7517)
- plugin/dnstap: Add bounds for plugin args (https://github.com/coredns/coredns/pull/7557)
- plugin/file: Fix data race in tree Elem.Name (https://github.com/coredns/coredns/pull/7574)
- plugin/forward: No failover to next upstream when receiving SERVFAIL or REFUSED response codes (https://github.com/coredns/coredns/pull/7458)
- plugin/grpc: Enforce DNS message size limits (https://github.com/coredns/coredns/pull/7490)
- plugin/loop: Prevent panic when ListenHosts is empty (https://github.com/coredns/coredns/pull/7565)
- plugin/loop: Avoid panic on invalid server block (https://github.com/coredns/coredns/pull/7568)
- plugin/nomad: Add a Nomad plugin (https://github.com/coredns/coredns/pull/7467)
- plugin/reload: Prevent SIGTERM/reload deadlock (https://github.com/coredns/coredns/pull/7562)
下载链接
- coredns_1.13.0_darwin_amd64.tgz
- coredns_1.13.0_darwin_amd64.tgz.sha256
- coredns_1.13.0_darwin_arm64.tgz
- coredns_1.13.0_darwin_arm64.tgz.sha256
- coredns_1.13.0_linux_amd64.tgz
- coredns_1.13.0_linux_amd64.tgz.sha256
- coredns_1.13.0_linux_arm.tgz
- coredns_1.13.0_linux_arm.tgz.sha256
- coredns_1.13.0_linux_arm64.tgz
- coredns_1.13.0_linux_arm64.tgz.sha256
- coredns_1.13.0_linux_mips.tgz
- coredns_1.13.0_linux_mips.tgz.sha256
- coredns_1.13.0_linux_mips64le.tgz
- coredns_1.13.0_linux_mips64le.tgz.sha256
- coredns_1.13.0_linux_ppc64le.tgz
- coredns_1.13.0_linux_ppc64le.tgz.sha256
- coredns_1.13.0_linux_riscv64.tgz
- coredns_1.13.0_linux_riscv64.tgz.sha256
- coredns_1.13.0_linux_s390x.tgz
- coredns_1.13.0_linux_s390x.tgz.sha256
- coredns_1.13.0_windows_amd64.tgz
- coredns_1.13.0_windows_amd64.tgz.sha256