mirror of
https://github.com/coredns/coredns.git
synced 2025-11-03 02:33:21 -05:00
plugin/k8s_external: Persist tc bit from lookup to client response (#4716)
* persist reponse tc bit from lookup to client Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -99,9 +99,9 @@ func (e *External) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Ms
|
||||
|
||||
switch state.QType() {
|
||||
case dns.TypeA:
|
||||
m.Answer = e.a(ctx, svc, state)
|
||||
m.Answer, m.Truncated = e.a(ctx, svc, state)
|
||||
case dns.TypeAAAA:
|
||||
m.Answer = e.aaaa(ctx, svc, state)
|
||||
m.Answer, m.Truncated = e.aaaa(ctx, svc, state)
|
||||
case dns.TypeSRV:
|
||||
m.Answer, m.Extra = e.srv(ctx, svc, state)
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user