feat: Add DOH support

This commit is contained in:
Karan Sharma 2020-12-12 11:46:13 +05:30
parent b602beda0f
commit 169837d094
8 changed files with 126 additions and 24 deletions

View file

@ -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
}