package
0.0.0-20230705191951-b0482357d067
Repository: https://github.com/afula/dnsproxy.git
Documentation: pkg.go.dev
# Functions
LookupParallel performs lookup for IP address of host with all resolvers concurrently.
NewDialContext returns a DialHandler that dials addrs and returns the first successful connection.
ResolveDialContext returns a DialHandler that uses addresses resolved from u using resolvers.
# Constants
ErrNoResolvers is returned when zero resolvers specified.
# Interfaces
Resolver resolves the hostnames to IP addresses.
# Type aliases
DialHandler is a dial function for creating unencrypted network connections to the upstream server.