mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
* Document fallthrough and fix *reverse* While documenting the fallthrough behavior and testing it I noticed the did not properly work. This PR does a tiny bit too much as it - Documents fallthrough - Fixes fallthrough in reverse - Makes directives_generate complain on duplicate priorities - Moved reverse *before* file in middleware.cfg - Add a test that tests the reverse fallthrough behavior with a file backend Fixes #515 * ....and fix the tests
36 lines
618 B
Go
36 lines
618 B
Go
// generated by directives_generate.go; DO NOT EDIT
|
|
package dnsserver
|
|
|
|
// 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{
|
|
"root",
|
|
"bind",
|
|
"trace",
|
|
"health",
|
|
"pprof",
|
|
"prometheus",
|
|
"errors",
|
|
"log",
|
|
"chaos",
|
|
"cache",
|
|
"rewrite",
|
|
"loadbalance",
|
|
"dnssec",
|
|
"reverse",
|
|
"file",
|
|
"auto",
|
|
"secondary",
|
|
"etcd",
|
|
"kubernetes",
|
|
"proxy",
|
|
"whoami",
|
|
"erratic",
|
|
}
|