dont set auth bit in refused responses

This commit is contained in:
Miek Gieben 2011-04-03 13:58:34 +02:00
parent 0241a65caa
commit d46e21bcbd
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ func Refused(w ResponseWriter, r *Msg) {
m := new(Msg)
m.SetReply(r)
m.MsgHdr.Rcode = RcodeRefused
m.MsgHdr.Authoritative = false
buf, _ := m.Pack()
w.Write(buf)
}