coredns源码构建记录&添加插件(>=win10,x64)
作者:互联网
推荐使用powershell7作为windows shell
source
github/coredns
git clone https://github.com/coredns/coredns
env
toolchain
- test
go version
dependencies
mirror
$env:GOPROXY = "https://proxy.golang.com.cn,direct"
build
go get
go build
- target->coredns.exe
add plugin
Compile Time Enabling or Disabling Plugins
- cp plugin dir to /plugin/plugin_name
- edit plugin.cfg
go generate
go build
标签:插件,plugin,x64,golang,源码,build,https,go,coredns 来源: https://www.cnblogs.com/q-z-lin/p/16410603.html