coredns v1.11.4 版本更新介绍
发布日期: 2024-11-13
版本号: v1.11.4
本次CoreDNS版本更新新增多项功能并修复多个问题。新增功能包括:forward插件增加"next"选项以支持响应特定状态码时切换备用上游服务器;dnssec插件新增从AWS密钥管理服务加载密钥的支持;rewrite插件新增恢复EDNS0选项改写功能。重要变更涉及核心模块将缓存控制max-age设为整型,修复元数据插件执行顺序,优化Kubernetes插件仅对定义主机名的端点创建PTR记录,修正etcd插件重载时的连接泄漏问题,调整文件解析错误处理机制,改进容器兼容性及构建流程等。本次更新由AdamKorcz、Ben Kochie等数十位开发者共同贡献完成。
更新内容 (中文)
本次发布新增了一些功能并修复了若干缺陷。值得注意的新功能包括:
- forward 插件: 新增
next
选项,用于在收到指定响应码时尝试备用上游服务器(功能类似于 external 插件 alternate) - dnssec 插件: 新增从 AWS Secrets Manager 加载密钥的选项
- rewrite 插件: 新增恢复响应中 EDNS0 选项重写的功能
贡献者名单
AdamKorcz, Anifalak, Ben Kochie, Chris O’Haver, Frederic Hemery, Grant Spence, Harshita Sao, Jason Joo, Jasper Bernhardt, Johnny Bergström, Keith Coleman, Kevin Lyda, Lan, Lin-1997, Manuel Rüger, Nathan Currier, Nicolai Søborg, Nikita Usatov, Paco Xu, Reinhard Nägele, Robbie Ostrow, TAKAHASHI Shuuji, Till Riedel, Tobias Klauser, YASH JAIN, cedar-gao, chenylh, wmkuipers, xinbenlv, zhangguanzhang
显著变更
- core: 将缓存控制 max-age 设为整数值而非浮点数 (https://github.com/coredns/coredns/pull/6764)
- plugin/metadata: 按插件顺序评估元数据 (https://github.com/coredns/coredns/pull/6729)
- plugin/dnssec: 支持从 AWS Secrets Manager 加载 DNSSEC 密钥 (https://github.com/coredns/coredns/pull/6618)
- plugin/rewrite: 为 EDNS0 选项添加 “revert” 参数 (https://github.com/coredns/coredns/pull/6893)
- container: 恢复当前工作目录的向后兼容性 (https://github.com/coredns/coredns/pull/6731)
- plugin/auto: 为每个区域在其 OnShutdown() 时调用 OnShutdown() (https://github.com/coredns/coredns/pull/6705)
- plugin/dnstap: 记录队列和缓冲区内存大小配置 (https://github.com/coredns/coredns/pull/6591)
- plugin/bind: 为链路本地 IPv6 添加区域而非跳过 (https://github.com/coredns/coredns/pull/6547)
- plugin/kubernetes: 仅为主机名已定义的端点创建 PTR 记录 (https://github.com/coredns/coredns/pull/6898)
- plugin/rewrite: 以逆序执行恢复操作 (https://github.com/coredns/coredns/pull/6872)
- plugin/etcd: 修复重载期间的 etcd 连接泄漏问题 (https://github.com/coredns/coredns/pull/6646)
- plugin/kubernetes: 添加用户代理标识 (https://github.com/coredns/coredns/pull/6484)
- plugin/hosts: 为 coredns_hosts_entries 添加 hostsfile 标签 (https://github.com/coredns/coredns/pull/6801)
- plugin/file: 修复区域解析器错误处理 (https://github.com/coredns/coredns/pull/6680)
- plugin/forward: 为转发插件添加 alternate 选项 (https://github.com/coredns/coredns/pull/6681)
- plugin/file: 解析文件失败时返回错误 (https://github.com/coredns/coredns/pull/6699)
- build: 正确生成包含第三方插件的 zplugin.go (https://github.com/coredns/coredns/pull/6692)
完整变更日志: https://github.com/coredns/coredns/compare/v1.11.3...v1.11.4
更新内容 (原始)
This release adds some new features and fixes some bugs. New features of note:
- forward plugin: new option
next
, to try alternate upstreams when receiving specified response codes upstreams on (functions like the external plugin alternate) - dnssec plugin: new option to load keys from AWS Secrets Manager
- rewrite plugin: new option to revert EDNS0 option rewrites in responses
Brought to You By
AdamKorcz, Anifalak, Ben Kochie, Chris O’Haver, Frederic Hemery, Grant Spence, Harshita Sao, Jason Joo, Jasper Bernhardt, Johnny Bergström, Keith Coleman, Kevin Lyda, Lan, Lin-1997, Manuel Rüger, Nathan Currier, Nicolai Søborg, Nikita Usatov, Paco Xu, Reinhard Nägele, Robbie Ostrow, TAKAHASHI Shuuji, Till Riedel, Tobias Klauser, YASH JAIN, cedar-gao, chenylh, wmkuipers, xinbenlv, zhangguanzhang
Noteworthy Changes
- core: set cache-control max-age as integer, not float (https://github.com/coredns/coredns/pull/6764)
- plugin/metadata: evaluate metadata in plugin order (https://github.com/coredns/coredns/pull/6729)
- plugin/dnssec: dnssec load keys from AWS Secrets Manager (https://github.com/coredns/coredns/pull/6618)
- plugin/rewrite: Add “revert” parameter for EDNS0 options (https://github.com/coredns/coredns/pull/6893)
- container: Restored backwards compatibility of Current Workdir (https://github.com/coredns/coredns/pull/6731)
- plugin/auto: call OnShutdown() for each zone at its own OnShutdown() (https://github.com/coredns/coredns/pull/6705)
- plugin/dnstap: log queue and buffer memory size configuration (https://github.com/coredns/coredns/pull/6591)
- plugin/bind: add zone for link-local IPv6 instead of skipping (https://github.com/coredns/coredns/pull/6547)
- plugin/kubernetes: only create PTR records for endpoints with hostname defined (https://github.com/coredns/coredns/pull/6898)
- plugin/rewrite: execute the reversion in reversed order (https://github.com/coredns/coredns/pull/6872)
- plugin/etcd: fix etcd connection leakage during reload (https://github.com/coredns/coredns/pull/6646)
- plugi/kubernetes: Add useragent (https://github.com/coredns/coredns/pull/6484)
- plugin/hosts: add hostsfile as label for coredns_hosts_entries (https://github.com/coredns/coredns/pull/6801)
- plugin/file: Fix zone parser error handling (https://github.com/coredns/coredns/pull/6680)
- plugin/forward: Add alternate option to forward plugin (https://github.com/coredns/coredns/pull/6681)
- plugin/file: return error when parsing the file fails (https://github.com/coredns/coredns/pull/6699)
- build: Generate zplugin.go correctly with third-party plugins (https://github.com/coredns/coredns/pull/6692)
Full Changelog: https://github.com/coredns/coredns/compare/v1.11.3...v1.11.4
下载链接
- coredns_1.11.4_darwin_amd64.tgz
- coredns_1.11.4_darwin_amd64.tgz.sha256
- coredns_1.11.4_darwin_arm64.tgz
- coredns_1.11.4_darwin_arm64.tgz.sha256
- coredns_1.11.4_linux_amd64.tgz
- coredns_1.11.4_linux_amd64.tgz.sha256
- coredns_1.11.4_linux_arm.tgz
- coredns_1.11.4_linux_arm.tgz.sha256
- coredns_1.11.4_linux_arm64.tgz
- coredns_1.11.4_linux_arm64.tgz.sha256
- coredns_1.11.4_linux_mips.tgz
- coredns_1.11.4_linux_mips.tgz.sha256
- coredns_1.11.4_linux_mips64le.tgz
- coredns_1.11.4_linux_mips64le.tgz.sha256
- coredns_1.11.4_linux_ppc64le.tgz
- coredns_1.11.4_linux_ppc64le.tgz.sha256
- coredns_1.11.4_linux_riscv64.tgz
- coredns_1.11.4_linux_riscv64.tgz.sha256
- coredns_1.11.4_linux_s390x.tgz
- coredns_1.11.4_linux_s390x.tgz.sha256
- coredns_1.11.4_windows_amd64.tgz
- coredns_1.11.4_windows_amd64.tgz.sha256