diff options
author | 2022-04-12 11:01:15 -0400 | |
---|---|---|
committer | 2022-04-12 11:01:15 -0400 | |
commit | e60c179194cc1ff85d24fe9b887d901aea74641d (patch) | |
tree | 4baf531fdee7372c1cc5c16a1cc0609bda0e8857 /plugin/k8s_external/external.go | |
parent | 83021637b35b0ef0ba09640e6f3d902cad8cdfb7 (diff) | |
download | coredns-e60c179194cc1ff85d24fe9b887d901aea74641d.tar.gz coredns-e60c179194cc1ff85d24fe9b887d901aea74641d.tar.zst coredns-e60c179194cc1ff85d24fe9b887d901aea74641d.zip |
plugin/k8s_external: Set authoritative bit in responses (#5284)
set authoritative bit in responses
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
Diffstat (limited to 'plugin/k8s_external/external.go')
-rw-r--r-- | plugin/k8s_external/external.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/k8s_external/external.go b/plugin/k8s_external/external.go index ee1bdca15..1096c2ea7 100644 --- a/plugin/k8s_external/external.go +++ b/plugin/k8s_external/external.go @@ -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 |