Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithClient ¶ added in v0.3.5
func WithServer ¶ added in v0.3.5
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SetZoneResolver ¶
func (v *Client) SetZoneResolver(r ZoneResolver)
type HandlerDNS ¶ added in v0.1.1
func DefaultExchanger ¶
func DefaultExchanger(dns ...string) HandlerDNS
type Option ¶ added in v0.3.5
func OptionNetDOT ¶ added in v0.3.5
func OptionNetDOT() Option
func OptionNetTCP ¶ added in v0.3.5
func OptionNetTCP() Option
func OptionNetUDP ¶ added in v0.3.5
func OptionNetUDP() Option
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleFunc ¶ added in v0.1.1
func (v *Server) HandleFunc(r HandlerDNS)
type ZoneResolve ¶
type ZoneResolve struct {
// contains filtered or unexported fields
}
func NewSimpleZoneResolve ¶
func NewSimpleZoneResolve(dns ...string) *ZoneResolve
func (*ZoneResolve) Resolve ¶
func (v *ZoneResolve) Resolve(name string) string
type ZoneResolver ¶
Click to show internal directories.
Click to hide internal directories.