1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 01:15:38 +00:00

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

This reverts commit 46fa8f7480.
This commit is contained in:
Shelikhoo 2021-09-04 11:47:13 +01:00
parent 484dc4e488
commit 9b0f8b7747
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

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