Versions in this module Expand all Collapse all v0 v0.2.0 May 5, 2026 v0.1.0 May 2, 2026 Changes in this version + type Resolver struct + Fallback gonnect.Resolver + Network gonnect.Network + Port int + Timeout time.Duration + func NewResolver(network gonnect.Network) *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, host string) ([]string, error) + func (r *Resolver) LookupIP(ctx context.Context, network, address string) ([]net.IP, error) + func (r *Resolver) LookupIPAddr(ctx context.Context, host string) ([]net.IPAddr, 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) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) + func (r *Resolver) LookupPort(ctx context.Context, network, service string) (int, error) + func (r *Resolver) LookupSRV(ctx context.Context, service, proto, name string) (string, []*net.SRV, error) + func (r *Resolver) LookupTXT(ctx context.Context, name string) ([]string, error)