Versions in this module Expand all Collapse all v1 v1.3.0 Sep 13, 2018 Changes in this version + func Exchange(m *dns.Msg, addr string) (r *dns.Msg, err error) + func ExchangeConn(c net.Conn, m *dns.Msg) (r *dns.Msg, err error) + func ExchangeContext(ctx context.Context, m *dns.Msg, addr string) (r *dns.Msg, err error) + func ListenAndServe(addr string, network string, handler dns.Handler) error + func ListenAndServeTLS(addr, certFile, keyFile string, handler dns.Handler) error + type Client struct + func (c *Client) Exchange(m *dns.Msg, addr string) (r *dns.Msg, rtt time.Duration, err error) + func (c *Client) ExchangeContext(ctx context.Context, m *dns.Msg, addr string) (r *dns.Msg, rtt time.Duration, err error) + type Handler struct + func WrapHandler(handler dns.Handler) *Handler + func (h *Handler) ServeDNS(w dns.ResponseWriter, r *dns.Msg)