Versions in this module Expand all Collapse all v1 v1.16.0 Mar 25, 2026 v1.15.0 Mar 25, 2026 Changes in this version + func FromURL(u string, caPool *x509.CertPool) (*net.Resolver, error) + func NewPlainResolver(addr string) *net.Resolver + func NewTCPResolver(addr string) *net.Resolver + type FastResolver struct + func NewFastResolver(resolvers ...LookupNetIPer) *FastResolver + func (r FastResolver) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) + type LookupNetIPer interface + LookupNetIP func(context.Context, string, string) ([]netip.Addr, error) + func FastFromURLs(caPool *x509.CertPool, urls ...string) (LookupNetIPer, error)