MCPcopy Create free account
hub / github.com/foxcpp/maddy / isLoopback

Function isLoopback

framework/dns/dnssec.go:79–85  ·  view source on GitHub ↗
(addr string)

Source from the content-addressed store, hash-verified

77}
78
79func isLoopback(addr string) bool {
80 ip := net.ParseIP(addr)
81 if ip == nil {
82 return false
83 }
84 return ip.IsLoopback()
85}
86
87func (e ExtResolver) exchange(ctx context.Context, msg *dns.Msg) (*dns.Msg, error) {
88 var resp *dns.Msg

Callers 1

exchangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected