Versions in this module Expand all Collapse all v3 v3.9.0 May 29, 2022 Changes in this version + type Transport struct + DialFunc func(ctx context.Context) (net.Conn, error) + DialTimeout time.Duration + EnablePipeline bool + IdleTimeout time.Duration + Logger *zap.Logger + MaxConns int + MaxQueryPerConn uint16 + ReadFunc func(c io.Reader) (*dns.Msg, int, error) + WriteFunc func(c io.Writer, m *dns.Msg) (int, error) + func (t *Transport) Close() error + func (t *Transport) CloseIdleConnections() + func (t *Transport) ExchangeContext(ctx context.Context, q *dns.Msg) (*dns.Msg, error)