You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_ "github.com/coredns/coredns/plugin/whoami"
_ "github.com/leiless/dnsredir" <--- add this
and build , and run with option -plugins list them
Server types:
dns
Caddyfile loaders:
flag
default
Other plugins:
dns.bind
dns.cache
dns.debug
dns.dnsredir <--- at here
dns.dnstap
dns.errors
dns.forward
dns.health
dns.loadbalance
dns.log
dns.loop
dns.metadata
dns.pprof
dns.prometheus
dns.reload
dns.template
dns.whoami
As detailed in https://coredns.io/2017/03/01/how-to-add-plugins-to-coredns/#4-hooking-it-up, looks like the new plugin needs to be added to plugin.cfg and some code to be generated with "go generate && go build". Since node-cache vendors in coredns repo, you might be able to do it there for local testing.
edit file
cmd/node-cache/main.go
and build , and run with option
-plugins
list thembut run failed with
The text was updated successfully, but these errors were encountered: