v0.17.1
What's new:
- 新插件类型
pipeline 插件
和新路由插件pipeline
: 用于组成一个双向运行的流水线。(coredns 的插件运行模式。插件控制上下文,可随时返回或继续执行) - 新插件
cache
: 实现 DNS 缓存。 hosts
现在也可以用作pipeline 插件
。
不兼容的变更:
为了避免歧义,重命名了以下预定义插件:
_block_servfail
->_block_with_servfail
_block_nxdomain
->_block_with_nxdomain
_response_err_rcode
->_response_has_err_rcode
_query_unusual_types
->_query_type_is_unusual
blackhole
: rcode 设为 0,将原有应答丢弃。
-> rcode 设为负数,将原有应答丢弃。