coredns v1.11.3 版本更新介绍
发布日期: 2024-07-29
版本号: v1.11.3
此版本包含新功能、错误修复及软件包更新,并整合了之前1.11.2版本的所有变更内容以解决部署问题。主要新增功能包括:_forward_插件在收到异常上游响应时发送含TC标志的空响应促使客户端改用TCP重试;_rewrite_插件支持重写响应状态码;_dnstap_插件可向extra字段添加元数据。贡献者包括Amila Senadheera、Ben Kochie等21位开发者。重要更新涉及:优化tls插件路径识别、auto插件目录读取警告机制、etcd客户端新增保活参数、缓存插件修复CD位校验及TTL解析问题、forward插件修正健康检查域名逻辑、rewrite插件修复并发CNAME重写问题、DNS64无后续插件时返回RcodeServerFailure、日志标志改为可设变量、Go版本升级至1.21、日志锁改用原子布尔值提升性能、启用Prometheus原生直方图等功能改进。
更新内容 (中文)
本次发布包含一些新功能、错误修复及软件包更新。由于之前版本的部署问题,1.11.2 版本的所有变更功能均已包含在此次发布中。
新功能包括:
- 当 forward 插件收到溢出的畸形上游响应时,现在将向客户端发送设置了截断(TC)位的空响应,以提示客户端通过 TCP 重试。
- rewrite 插件现在支持重写响应码。
- dnstap 插件现在支持向 dnstap 的
extra
字段添加元数据。
贡献者
Amila Senadheera、 Ben Kochie、 Benjamin、 Chris O’Haver、 Grant Spence、 John Belamaric、 Keita Kitamura、 Marius Kimmina、 Michael Grosser、 Ondřej Benkovský、 P. Radha Krishna、 Rahil Bhimjiani、 Sri Harsha、 Tom Thorogood、 Willow (GHOST)、 Yong Tang、 Yuheng、 Zhizhen He、 guangwu、 journey-c、 pschou、 Ted Ford
重要变更
- plugin/tls: 遵循 root 插件指定的路径 (https://github.com/coredns/coredns/pull/6138)
- plugin/auto: 当 auto 插件无法读取目录树中的元素时发出警告 (https://github.com/coredns/coredns/pull/6333)
- plugin/etcd: etcd 客户端新增 DialKeepAliveTime 参数 (https://github.com/coredns/coredns/pull/6351)
- plugin/cache: 基于检查禁用(CD)位进行缓存键设置 (https://github.com/coredns/coredns/pull/6354)
- plugin/forward: 在 forward 插件的健康检查中使用正确的根域名 (https://github.com/coredns/coredns/pull/6395)
- plugin/forward: 处理设置了 TC 位的 UDP 响应溢出 (https://github.com/coredns/coredns/pull/6277)
- plugin/rewrite: 修复 CNAME 重写中的多请求并发问题 (https://github.com/coredns/coredns/pull/6407)
- plugin/rewrite: 添加响应码(rcode)作为重写选项 (https://github.com/coredns/coredns/pull/6204)
- plugin/dnstap: 支持在 payload 中添加 “extra” 字段 (https://github.com/coredns/coredns/pull/6226)
- plugin/cache: 修复 keepttl 解析问题 (https://github.com/coredns/coredns/pull/6250)
- DNS64 无下一插件时返回 RcodeServerFailure (https://github.com/coredns/coredns/pull/6590)
- 将日志标志改为可设置的变量 (https://github.com/coredns/coredns/pull/6546)
- 升级 Go 版本至 1.21 (https://github.com/coredns/coredns/pull/6533)
- 将日志中的互斥锁替换为原子布尔值用于 “on” 标志 (https://github.com/coredns/coredns/pull/6525)
- 启用 Prometheus 原生直方图功能 (https://github.com/coredns/coredns/pull/6524)
更新内容 (原始)
This release contains some new features, bug fixes, and package updates. Because of the deployment issues with the previous release, all changed features from 1.11.2 have been included in this release. New features include:
- When the forward plugin receives a malformed upstream response that overflows, it will now send an empty response to the client with the truncated (TC) bit set to prompt the client to retry over TCP.
- The rewrite plugin can now rewrite response codes.
- The dnstap plugin now supports adding metadata to the dnstap
extra
field.
Brought to You By
Amila Senadheera, Ben Kochie, Benjamin, Chris O’Haver, Grant Spence, John Belamaric, Keita Kitamura, Marius Kimmina, Michael Grosser, Ondřej Benkovský, P. Radha Krishna, Rahil Bhimjiani, Sri Harsha, Tom Thorogood, Willow (GHOST), Yong Tang, Yuheng, Zhizhen He, guangwu, journey-c, pschou Ted Ford
Noteworthy Changes
- plugin/tls: respect the path specified by root plugin (https://github.com/coredns/coredns/pull/6138)
- plugin/auto: warn when auto is unable to read elements of the directory tree (https://github.com/coredns/coredns/pull/6333)
- plugin/etcd: the etcd client adds the DialKeepAliveTime parameter (https://github.com/coredns/coredns/pull/6351)
- plugin/cache: key cache on Checking Disabled (CD) bit (https://github.com/coredns/coredns/pull/6354)
- plugin/forward: Use the correct root domain name in the forward plugin’s health checks (https://github.com/coredns/coredns/pull/6395)
- plugin/forward: Handle UDP responses that overflow with TC bit (https://github.com/coredns/coredns/pull/6277)
- plugin/rewrite: fix multi request concurrency issue in cname rewrite (https://github.com/coredns/coredns/pull/6407)
- plugin/rewrite: add rcode as a rewrite option (https://github.com/coredns/coredns/pull/6204)
- plugin/dnstap: add support for “extra” field in payload (https://github.com/coredns/coredns/pull/6226)
- plugin/cache: fix keepttl parsing (https://github.com/coredns/coredns/pull/6250)
- Return RcodeServerFailure when DNS64 has no next plugin (https://github.com/coredns/coredns/pull/6590)
- Change the log flags to be a variable that can be set (https://github.com/coredns/coredns/pull/6546)
- Bump go version to 1.21 (https://github.com/coredns/coredns/pull/6533)
- replace the mutex locks in logging with atomic bool for the “on” flag (https://github.com/coredns/coredns/pull/6525)
- Enable Prometheus native histograms (https://github.com/coredns/coredns/pull/6524)
下载链接
- coredns_1.11.3_darwin_amd64.tgz
- coredns_1.11.3_darwin_amd64.tgz.sha256
- coredns_1.11.3_darwin_arm64.tgz
- coredns_1.11.3_darwin_arm64.tgz.sha256
- coredns_1.11.3_linux_amd64.tgz
- coredns_1.11.3_linux_amd64.tgz.sha256
- coredns_1.11.3_linux_arm.tgz
- coredns_1.11.3_linux_arm.tgz.sha256
- coredns_1.11.3_linux_arm64.tgz
- coredns_1.11.3_linux_arm64.tgz.sha256
- coredns_1.11.3_linux_mips.tgz
- coredns_1.11.3_linux_mips.tgz.sha256
- coredns_1.11.3_linux_mips64le.tgz
- coredns_1.11.3_linux_mips64le.tgz.sha256
- coredns_1.11.3_linux_ppc64le.tgz
- coredns_1.11.3_linux_ppc64le.tgz.sha256
- coredns_1.11.3_linux_riscv64.tgz
- coredns_1.11.3_linux_riscv64.tgz.sha256
- coredns_1.11.3_linux_s390x.tgz
- coredns_1.11.3_linux_s390x.tgz.sha256
- coredns_1.11.3_windows_amd64.tgz
- coredns_1.11.3_windows_amd64.tgz.sha256