var onceReadProtocols …
func readProtocols() { … }
func lookupProtocol(_ context.Context, name string) (int, error) { … }
func (r *Resolver) lookupHost(ctx context.Context, host string) (addrs []string, err error) { … }
func (r *Resolver) lookupIP(ctx context.Context, network, host string) (addrs []IPAddr, err error) { … }
func (r *Resolver) lookupPort(ctx context.Context, network, service string) (int, error) { … }
func (r *Resolver) lookupCNAME(ctx context.Context, name string) (string, error) { … }
func (r *Resolver) lookupSRV(ctx context.Context, service, proto, name string) (string, []*SRV, error) { … }
func (r *Resolver) lookupMX(ctx context.Context, name string) ([]*MX, error) { … }
func (r *Resolver) lookupNS(ctx context.Context, name string) ([]*NS, error) { … }
func (r *Resolver) lookupTXT(ctx context.Context, name string) ([]string, error) { … }
func (r *Resolver) lookupAddr(ctx context.Context, addr string) ([]string, error) { … }