plugin/k8s_external: Set authoritative bit in responses (#5284)
set authoritative bit in responses Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
parent
83021637b3
commit
e60c179194
4 changed files with 9 additions and 0 deletions
|
@ -89,6 +89,7 @@ func (e *External) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Ms
|
|||
|
||||
m := new(dns.Msg)
|
||||
m.SetReply(state.Req)
|
||||
m.Authoritative = true
|
||||
|
||||
if len(svc) == 0 {
|
||||
m.Rcode = rcode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue