Skip to content

Commit

Permalink
Revert "Fix: DNS return value (#1242)"
Browse files Browse the repository at this point in the history
This reverts commit 46fa8f7.
  • Loading branch information
xiaokangwang committed Sep 4, 2021
1 parent 484dc4e commit 9b0f8b7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/dns/nameserver_quic.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9b0f8b7

Please sign in to comment.