Scrub the returned result

This commit is contained in:
Miek Gieben
2016-03-28 11:29:50 +01:00
parent 3541bc8b2a
commit 6324bb1fa7

View File

@@ -61,7 +61,7 @@ func (f File) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (i
default:
// TODO
}
// sizing and Do bit RRSIG
m, _ = state.Scrub(m)
w.WriteMsg(m)
return dns.RcodeSuccess, nil
}