resolver

package
v0.0.0-...-be37458 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2019 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSResolver

type DNSResolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(path string) (*DNSResolver, error)

func NewResolverFromConfig

func NewResolverFromConfig(cfg *dns.ClientConfig) *DNSResolver

func (*DNSResolver) ExchangeContext

func (r *DNSResolver) ExchangeContext(ctx context.Context, msg *dns.Msg) (*dns.Msg, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL