Open
Description
What happened:
In preparation for adding my own plugin as described in https://coredns.io/2017/07/25/compile-time-enabling-or-disabling-plugins/#build-with-external-golang-source-code I build coredns from an external repo (see code below). There's no Corefile in the directory.
❯ go run main.go
no action found for directive 'log' with server type 'dns' (missing a plugin?)
exit status 1
What you expected to happen:
I expected coredns to start.
How to reproduce it (as minimally and precisely as possible):
package main
import (
"github.com/coredns/coredns/coremain"
)
func main() {
coremain.Run()
}
Using coredns v1.9.0.
Anything else we need to know?:
Environment:
- the version of CoreDNS: v1.9.0
- Corefile: n/a
- logs, if applicable: see above
- OS (e.g:
cat /etc/os-release
): OSX (m1 mbp) - Others: