mirror of
https://git.hackfreedom.org/mesh.cat/meshname.git
synced 2026-05-22 06:22:32 +00:00
Copy all answer sections from the upstream server
This commit is contained in:
@@ -146,6 +146,8 @@ func (s *MeshnameServer) handleMeshnameRequest(w dns.ResponseWriter, r *dns.Msg)
|
||||
}
|
||||
s.log.Debugln(resp.String())
|
||||
m.Answer = append(m.Answer, resp.Answer...)
|
||||
m.Ns = append(m.Ns, resp.Ns...)
|
||||
m.Extra = append(m.Extra, resp.Extra...)
|
||||
}
|
||||
|
||||
if err := w.WriteMsg(m); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user