mirror of
https://github.com/coredns/coredns.git
synced 2025-10-29 09:14:17 -04:00
33 lines
555 B
Go
33 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",
|
||
|
|
}
|