doggo/pkg/resolvers/resolver.go

11 lines
242 B
Go
Raw Normal View History

2020-12-11 12:18:54 +01:00
package resolvers
import "github.com/miekg/dns"
2020-12-12 07:16:13 +01:00
// Resolver implements the configuration for a DNS
// Client. Different types of client like (UDP/TCP/DOH/DOT)
// can be initialised.
2020-12-11 12:18:54 +01:00
type Resolver interface {
Lookup([]dns.Question) error
}