Improve resolver API

This commit is contained in:
Daniel
2021-01-25 17:11:48 +01:00
parent 587f6f36cf
commit fa1b8aa148
4 changed files with 57 additions and 19 deletions

View File

@@ -208,10 +208,6 @@ func (q *Query) checkCompliance() error {
}
func (resolver *Resolver) checkCompliance(_ context.Context, q *Query) error {
if q.FQDN == resolver.SkipFQDN {
return errSkip
}
if noInsecureProtocols(q.SecurityLevel) {
switch resolver.ServerType {
case ServerTypeDNS: