Files
zooqueen e7a7730dfb register proxyproto, and skip two checks root cannot fail
proxyproto is declared in plugin.cfg and implemented under plugin/proxyproto,
    and appears in NEITHER generated file — not the imports in
    core/plugin/zplugin.go, not the directive order in
    core/dnsserver/zdirectives.go. Both were generated before it was added, so
    the plugin has never been reachable: a Corefile naming it gets "Unknown
    directive 'proxyproto'", which is what TestReadme found while checking that
    plugin's own README. Added to both, and to the directive list between tls
    and quic, where plugin.cfg orders it — position there is plugin chain
    order, not decoration. Checked every other plugin.cfg entry the same way;
    these two were the only gaps.

  TestDefaultLoader and TestTLSKeyLog/Bad_Path chmod a path to 0000 and expect
    the permission error. Root does not get one, and CI runs as root in a
    container, so both skip there now with the reason.

Whole repo green with the Makefile's tags. proxyproto verified by starting a
server with it in the Corefile, not only by the README test going quiet.
2026-08-10 21:37:36 -07:00

74 lines
1.0 KiB
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{
"root",
"metadata",
"geoip",
"cancel",
"tls",
"proxyproto",
"quic",
"grpc_server",
"https",
"https3",
"timeouts",
"multisocket",
"reload",
"nsid",
"bufsize",
"bind",
"debug",
"trace",
"ready",
"health",
"pprof",
"prometheus",
"errors",
"log",
"dnstap",
"local",
"dns64",
"any",
"chaos",
"loadbalance",
"tsig",
"cache",
"rewrite",
"acl",
"header",
"dnssec",
"autopath",
"minimal",
"template",
"transfer",
"hosts",
"route53",
"azure",
"clouddns",
"k8s_external",
"kubernetes",
"file",
"auto",
"secondary",
"etcd",
"hanzodns",
"loop",
"forward",
"grpc",
"erratic",
"whoami",
"on",
"sign",
"view",
"nomad",
}