This commit is contained in:
Miek Gieben 2012-08-05 09:35:01 +02:00
parent 8b1012b495
commit ac4f400d38
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@ func serve(w dns.ResponseWriter, req *dns.Msg, z *dns.Zone) {
if nss != nil && nss.NonAuth {
m.SetReply(req)
m.Ns = nss.RR[dns.TypeNS]
for _, n := range m.Ns {
}
// lookup the a records for additional, only when
// in baliwick
w.Write(m)