Hello, World!
CoreDNS 开发
插件开发
参考: https://github.com/coredns/rrl
集成插件
- 将插件放置在
coredns/plugin/
目录下 - 将指令添加到
core/dnsserver/zdirectives.go
Directives 数组中 - 增加插件到
plugin.cfg
core/plugin/zplugin.go
参考: https://github.com/coredns/rrl
coredns/plugin/
目录下core/dnsserver/zdirectives.go
Directives 数组中plugin.cfg
core/plugin/zplugin.go