MCPcopy Index your code
hub / github.com/foxcpp/maddy / LookupAddr

Method LookupAddr

framework/dns/resolver.go:37–37  ·  view source on GitHub ↗
(ctx context.Context, addr string)

Source from the content-addressed store, hash-verified

35// It is implemented by dns.DefaultResolver(). Methods behave the same way.
36type Resolver interface {
37 LookupAddr(ctx context.Context, addr string) (names []string, err error)
38 LookupHost(ctx context.Context, host string) (addrs []string, err error)
39 LookupMX(ctx context.Context, name string) ([]*net.MX, error)
40 LookupTXT(ctx context.Context, name string) ([]string, error)

Callers 1

LookupAddrFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected