MCPcopy
hub / github.com/DNSControl/dnscontrol / Resolver

Interface Resolver

pkg/spflib/resolver.go:12–14  ·  view source on GitHub ↗

Resolver looks up spf txt records associated with a FQDN.

Source from the content-addressed store, hash-verified

10
11// Resolver looks up spf txt records associated with a FQDN.
12type Resolver interface {
13 GetSPF(string) (string, error)
14}
15
16// LiveResolver simply queries DNS to resolve SPF records.
17type LiveResolver struct{}

Callers 4

GetSPFMethod · 0.65
ParseFunction · 0.65
mainFunction · 0.65
flattener.jsFile · 0.65

Implementers 3

LiveResolverpkg/spflib/resolver.go
cachepkg/spflib/resolver.go
gResolverdocs/flattener/js.go

Calls

no outgoing calls

Tested by

no test coverage detected