Documentation
¶
Overview ¶
Package systemresolver contains the system resolver
Index ¶
- type Resolver
- func (r *Resolver) LookupAddr(ctx context.Context, addr string) ([]string, error)
- func (r *Resolver) LookupCNAME(ctx context.Context, host string) (string, error)
- func (r *Resolver) LookupHost(ctx context.Context, hostname string) ([]string, error)
- func (r *Resolver) LookupMX(ctx context.Context, name string) ([]*net.MX, error)
- func (r *Resolver) LookupNS(ctx context.Context, name string) ([]*net.NS, error)
- func (r *Resolver) Transport() modelx.DNSRoundTripper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver is the system resolver
func (*Resolver) LookupAddr ¶
LookupAddr returns the name of the provided IP address
func (*Resolver) LookupCNAME ¶
LookupCNAME returns the canonical name of a host
func (*Resolver) LookupHost ¶
LookupHost returns the IP addresses of a host
func (*Resolver) Transport ¶
func (r *Resolver) Transport() modelx.DNSRoundTripper
Transport returns the transport being used
Click to show internal directories.
Click to hide internal directories.