MCPcopy Create free account
hub / github.com/celzero/firestack / resolv

Function resolv

intra/ipn/multihost/multihost.go:339–385  ·  view source on GitHub ↗

resolv resolves the given domains or ips and returns the names, pre-resolved IPs, and resolved IPs. It returns an error if any of the domains or ips could not be resolved. It also returns the names as is, even if they could not be resolved. The returned pre-resolved IPs are those that were already r

(id string, domainsOrIps []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addMethod · 0.85

Calls 8

WFunction · 0.92
DFunction · 0.92
ResolveFunction · 0.92
VFunction · 0.92
OneErrFunction · 0.92
JoinErrFunction · 0.92
normalizeFunction · 0.85
addrportFunction · 0.70

Tested by

no test coverage detected