Categorygithub.com/etcdhosts/client-go
modulepackage
0.0.0-20220124073420-32d930b1c2f2
Repository: https://github.com/etcdhosts/client-go.git
Documentation: pkg.go.dev

# Functions

MakeSurrogateIP takes an IP like 127.0.0.1 and munges it to 0.0.0.1 so we can sort it more easily.
No description provided by the author
Parse2Map reads the hostsfile and populates the byName and addr maps.
SplitHostPort splits s up in a host and port portion, taking reverse address notation into account.
Transport returns the transport defined in s and a string where the transport prefix is removed (if there was any).

# Constants

These transports are supported by CoreDNS.
These transports are supported by CoreDNS.
GRPCPort is the default port for DNS-over-gRPC.
These transports are supported by CoreDNS.
HTTPSPort is the default port for DNS-over-HTTPS.
Port is the default port for DNS.
These transports are supported by CoreDNS.
TLSPort is the default port for DNS-over-TLS.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
HostsFile contains known host entries.
Map contains the IPv4/IPv6 and reverse mapping.

# Type aliases

No description provided by the author
No description provided by the author
Name represents a domain name.
Zones represents a lists of zone names.