aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2021-07-15 10:10:16 +0200
committerGravatar GitHub <noreply@github.com> 2021-07-15 10:10:16 +0200
commit50d888f3d7cfbe554a35f88e21c6009aebe65a4c (patch)
tree24c3a406f943655ba9822ad387b1d567604dac6d /core
parent00128bda4e2fa56ec4bf66e321bf3e00263d1188 (diff)
downloadcoredns-50d888f3d7cfbe554a35f88e21c6009aebe65a4c.tar.gz
coredns-50d888f3d7cfbe554a35f88e21c6009aebe65a4c.tar.zst
coredns-50d888f3d7cfbe554a35f88e21c6009aebe65a4c.zip
plugin/header: run go gen and small doc updates (#4754)
* plugin/header: run go gen and small doc updates Run go gen to enable the new plugin, this should fix the CI failures. Small tweaks to the docs. Signed-off-by: Miek Gieben <miek@miek.nl> * another typo Signed-off-by: Miek Gieben <miek@miek.nl> * gofmt Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'core')
-rw-r--r--core/dnsserver/zdirectives.go1
-rw-r--r--core/plugin/zplugin.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/dnsserver/zdirectives.go b/core/dnsserver/zdirectives.go
index 134ed20b2..bca217185 100644
--- a/core/dnsserver/zdirectives.go
+++ b/core/dnsserver/zdirectives.go
@@ -36,6 +36,7 @@ var Directives = []string{
"loadbalance",
"cache",
"rewrite",
+ "header",
"dnssec",
"autopath",
"minimal",
diff --git a/core/plugin/zplugin.go b/core/plugin/zplugin.go
index b2692fbbb..a9167eeaf 100644
--- a/core/plugin/zplugin.go
+++ b/core/plugin/zplugin.go
@@ -27,6 +27,7 @@ import (
_ "github.com/coredns/coredns/plugin/forward"
_ "github.com/coredns/coredns/plugin/geoip"
_ "github.com/coredns/coredns/plugin/grpc"
+ _ "github.com/coredns/coredns/plugin/header"
_ "github.com/coredns/coredns/plugin/health"
_ "github.com/coredns/coredns/plugin/hosts"
_ "github.com/coredns/coredns/plugin/k8s_external"