* Set version to 001 * Remove k8stest, test fails is k8s is not there: touch luck * Remove server directory: not used anymore * Disable k8s test (for now) * gometalinter changes
32 lines
555 B
Go
32 lines
555 B
Go
package dnsserver
|
|
|
|
// Add here, and in core/coredns.go to use them.
|
|
|
|
// Directives are registered in the order they should be
|
|
// executed.
|
|
//
|
|
// Ordering is VERY important. Every middleware will
|
|
// feel the effects of all other middleware below
|
|
// (after) them during a request, but they must not
|
|
// care what middleware above them are doing.
|
|
var directives = []string{
|
|
"bind",
|
|
"health",
|
|
"pprof",
|
|
|
|
"prometheus",
|
|
"errors",
|
|
"log",
|
|
"chaos",
|
|
"cache",
|
|
|
|
"rewrite",
|
|
"loadbalance",
|
|
|
|
"dnssec",
|
|
"file",
|
|
"secondary",
|
|
"etcd",
|
|
"kubernetes",
|
|
"proxy",
|
|
}
|