Documentation ¶
Index ¶
- Variables
- type ExtResolver
- func (e ExtResolver) AuthLookupAddr(ctx context.Context, addr string) (ad bool, names []string, err error)
- func (e ExtResolver) AuthLookupHost(ctx context.Context, host string) (ad bool, addrs []string, err error)
- func (e ExtResolver) AuthLookupIPAddr(ctx context.Context, host string) (ad bool, addrs []net.IPAddr, err error)
- func (e ExtResolver) AuthLookupMX(ctx context.Context, name string) (ad bool, mxs []*net.MX, err error)
- func (e ExtResolver) AuthLookupTLSA(ctx context.Context, name string) (ad bool, recs []dns.TLSA, err error)
- func (e ExtResolver) AuthLookupTXT(ctx context.Context, name string) (ad bool, recs []string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNxDomain = errors.New("NXDOMAIN")
Functions ¶
This section is empty.
Types ¶
type ExtResolver ¶
type ExtResolver struct {
// contains filtered or unexported fields
}
ExtResolver is a convenience wrapper for miekg/dns library that provides access to certain low-level functionality (notably, AD flag in responses, indicating whether DNSSEC verification was performed by the server).
func NewExtResolver ¶
func NewExtResolver() (*ExtResolver, error)
func (ExtResolver) AuthLookupAddr ¶
func (ExtResolver) AuthLookupHost ¶
func (ExtResolver) AuthLookupIPAddr ¶
func (ExtResolver) AuthLookupMX ¶
func (ExtResolver) AuthLookupTLSA ¶
func (ExtResolver) AuthLookupTXT ¶
Click to show internal directories.
Click to hide internal directories.