Versions in this module Expand all Collapse all v1 v1.11.1 Jan 18, 2024 Changes in this version + type MultiRecorder struct + Len int + Msgs []*dns.Msg + Start time.Time + func NewMultiRecorder(w dns.ResponseWriter) *MultiRecorder + func (r *MultiRecorder) Write(buf []byte) (int, error) + func (r *MultiRecorder) WriteMsg(res *dns.Msg) error + type Recorder struct + Len int + Msg *dns.Msg + Rcode int + Start time.Time + func NewRecorder(w dns.ResponseWriter) *Recorder + func (r *Recorder) Write(buf []byte) (int, error) + func (r *Recorder) WriteMsg(res *dns.Msg) error + type Server struct + Addr string + func NewServer(f dns.HandlerFunc) *Server + func (s *Server) Close()