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

Function NewTransportFromHostname

intra/dns53/upstream.go:69–76  ·  view source on GitHub ↗

NewTransportFromHostname returns a DNS53 transport serving from hostname, ready for use.

(ctx context.Context, id, hostOrHostport string, ipcsv string, px ipn.ProxyProvider)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

AddDNSProxyFunction · 0.92
newSystemDNSProxyFunction · 0.92
AddProxyDNSFunction · 0.92

Calls 2

newTransportFunction · 0.70

Tested by

no test coverage detected