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

Function NewDefaultDNS

intra/bootstrap.go:77–89  ·  view source on GitHub ↗

NewDefaultDNS creates a new DefaultDNS resolver of type typ. For typ DOH, url scheme is http or https; for typ DNS53, url is ipport or csv(ipport). ips is a csv of ipports for typ DOH, and nil for typ DNS53.

(typ, url, ips string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

IFunction · 0.92
reinitMethod · 0.65

Tested by

no test coverage detected