feat: Add DOH support
This commit is contained in:
parent
b602beda0f
commit
169837d094
8 changed files with 126 additions and 24 deletions
|
@ -2,7 +2,9 @@ package resolvers
|
|||
|
||||
import "github.com/miekg/dns"
|
||||
|
||||
// Resolver implements the configuration for a DNS
|
||||
// Client. Different types of client like (UDP/TCP/DOH/DOT)
|
||||
// can be initialised.
|
||||
type Resolver interface {
|
||||
Name() string
|
||||
Lookup([]dns.Question) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue