Browse Source

Revert "Fix: DNS return value (#1242)"

This reverts commit 46fa8f74806ca0254cd46da1c2ab48b06fc0a8e4.
Shelikhoo 4 years ago
parent
commit
9b0f8b7747
1 changed files with 0 additions and 4 deletions
  1. 0 4
      app/dns/nameserver_quic.go

+ 0 - 4
app/dns/nameserver_quic.go

@@ -259,10 +259,6 @@ func (s *QUICNameServer) findIPsForDomain(domain string, option dns_feature.IPOp
 		return nil, err6
 	}
 
-	if (option.IPv4Enable && record.A != nil) || (option.IPv6Enable && record.AAAA != nil) {
-		return nil, dns_feature.ErrEmptyResponse
-	}
-
 	return nil, errRecordNotFound
 }