aboutsummaryrefslogtreecommitdiff
path: root/plugin/template/template.go
diff options
context:
space:
mode:
authorGravatar Isolus <mail@bjoern-kinscher.de> 2018-12-30 17:05:08 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2018-12-30 17:05:08 +0100
commit7642995558c9dcd0454c358a3688ac08a1ebfb7c (patch)
tree4cae62802869e1e8929102ca1e5b2fcf321c0787 /plugin/template/template.go
parent38790c722258c135b1e518dfd2469dec12d32fb7 (diff)
downloadcoredns-7642995558c9dcd0454c358a3688ac08a1ebfb7c.tar.gz
coredns-7642995558c9dcd0454c358a3688ac08a1ebfb7c.tar.zst
coredns-7642995558c9dcd0454c358a3688ac08a1ebfb7c.zip
disable ra flag for several plugins (#2408)
* disable ra flag for several plugins * removed unnecessary assignment * removed more unnecessary assignments
Diffstat (limited to 'plugin/template/template.go')
-rw-r--r--plugin/template/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/template/template.go b/plugin/template/template.go
index c25a0d242..887badf6f 100644
--- a/plugin/template/template.go
+++ b/plugin/template/template.go
@@ -75,7 +75,7 @@ func (h Handler) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
msg := new(dns.Msg)
msg.SetReply(r)
- msg.Authoritative, msg.RecursionAvailable = true, true
+ msg.Authoritative = true
msg.Rcode = template.rcode
for _, answer := range template.answer {