mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
disable ra flag for several plugins (#2408)
* disable ra flag for several plugins * removed unnecessary assignment * removed more unnecessary assignments
This commit is contained in:
@@ -63,7 +63,7 @@ func (h Hosts) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (
|
||||
|
||||
m := new(dns.Msg)
|
||||
m.SetReply(r)
|
||||
m.Authoritative, m.RecursionAvailable = true, true
|
||||
m.Authoritative = true
|
||||
m.Answer = answers
|
||||
|
||||
w.WriteMsg(m)
|
||||
|
||||
Reference in New Issue
Block a user