Versions in this module Expand all Collapse all v0 v0.3.0 Sep 23, 2015 v0.2.0 Sep 15, 2015 Changes in this version + func A(hdr dns.RR_Header, ip net.IP) *dns.A + func Message(opts ...MsgOpt) *dns.Msg + func NS(hdr dns.RR_Header, ns string) *dns.NS + func RRHeader(name string, rrtype uint16, ttl uint32) dns.RR_Header + func SOA(hdr dns.RR_Header, ns, mbox string, minttl uint32) *dns.SOA + func SRV(hdr dns.RR_Header, target string, port, priority, weight uint16) *dns.SRV + type MsgOpt func(*dns.Msg) + func Answers(rrs ...dns.RR) MsgOpt + func Extras(rrs ...dns.RR) MsgOpt + func Header(auth bool, rcode int) MsgOpt + func NSs(rrs ...dns.RR) MsgOpt + func Question(name string, qtype uint16) MsgOpt + type ResponseRecorder struct + Local net.IPAddr + Msg *dns.Msg + Remote net.IPAddr + func (r *ResponseRecorder) Close() error + func (r *ResponseRecorder) Hijack() + func (r *ResponseRecorder) Write([]byte) (int, error) + func (r *ResponseRecorder) WriteMsg(m *dns.Msg) error + func (r ResponseRecorder) LocalAddr() net.Addr + func (r ResponseRecorder) RemoteAddr() net.Addr + func (r ResponseRecorder) TsigStatus() error + func (r ResponseRecorder) TsigTimersOnly(bool)