mirror of
https://github.com/coredns/coredns.git
synced 2025-09-20 05:01:05 +02:00
This revert 17d807f0 and re-adds the metadata plugin as a plugin that just sets a label to a value function. Add package documentation on how to use the metadata package. Make it clear that any caching is up to the Func implemented. There are now - no in tree users. We could add the request metadata by default under names that copy request.Request, i.e request/ip - remote IP request/port - remote port Variables.go has been deleted. Signed-off-by: Miek Gieben <miek@miek.nl>
48 lines
738 B
Go
48 lines
738 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 plugin will
|
|
// feel the effects of all other plugin below
|
|
// (after) them during a request, but they must not
|
|
// care what plugin above them are doing.
|
|
var Directives = []string{
|
|
"metadata",
|
|
"tls",
|
|
"reload",
|
|
"nsid",
|
|
"root",
|
|
"bind",
|
|
"debug",
|
|
"trace",
|
|
"health",
|
|
"pprof",
|
|
"prometheus",
|
|
"errors",
|
|
"log",
|
|
"dnstap",
|
|
"chaos",
|
|
"loadbalance",
|
|
"cache",
|
|
"rewrite",
|
|
"dnssec",
|
|
"autopath",
|
|
"template",
|
|
"hosts",
|
|
"route53",
|
|
"federation",
|
|
"kubernetes",
|
|
"file",
|
|
"auto",
|
|
"secondary",
|
|
"etcd",
|
|
"forward",
|
|
"proxy",
|
|
"erratic",
|
|
"whoami",
|
|
"on",
|
|
}
|