mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
persist truncated state to client if lookup response is truncated (#4712)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
@@ -131,6 +131,9 @@ func (d *DNS64) Synthesize(origReq, origResponse, resp *dns.Msg) *dns.Msg {
|
||||
ret := dns.Msg{}
|
||||
ret.SetReply(origReq)
|
||||
|
||||
// persist truncated state of AAAA response
|
||||
ret.Truncated = resp.Truncated
|
||||
|
||||
// 5.3.2: DNS64 MUST pass the additional section unchanged
|
||||
ret.Extra = resp.Extra
|
||||
ret.Ns = resp.Ns
|
||||
|
||||
Reference in New Issue
Block a user