From 9b0f8b7747a7dc6d5eb3650e872983b287bd3622 Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Sat, 4 Sep 2021 11:47:13 +0100 Subject: [PATCH] Revert "Fix: DNS return value (#1242)" This reverts commit 46fa8f74806ca0254cd46da1c2ab48b06fc0a8e4. --- app/dns/nameserver_quic.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/dns/nameserver_quic.go b/app/dns/nameserver_quic.go index ce1a1bc89..f630ccac2 100644 --- a/app/dns/nameserver_quic.go +++ b/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 }