MCPcopy
hub / github.com/nextdns/nextdns / HostResolver

Interface HostResolver

proxy/proxy.go:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35type HostResolver interface {
36 LookupAddr(addr string) []string
37 LookupHost(addr string) []string
38}
39
40// Proxy is a DNS53 to DNS over anything proxy.
41type Proxy struct {

Callers 5

setupClientReportingFunction · 0.65
LookupAddrFunction · 0.65
hostsResolveFunction · 0.65
LookupHostFunction · 0.65
hostsResolveFunction · 0.65

Implementers 8

DHCPdiscovery/dhcp.go
Firewalladiscovery/firewalla_linux.go
MDNSdiscovery/mdns.go
Ubiosdiscovery/ubios_other.go
Merlindiscovery/merlin_other.go
DNSdiscovery/dns.go
Hostsdiscovery/hosts.go
Dummydiscovery/dummy.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…