mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-17 00:09:56 -04:00
fix #1165
This commit is contained in:
@@ -230,7 +230,10 @@ func (s *ClassicNameServer) sendQuery(ctx context.Context, domain string) {
|
||||
}
|
||||
|
||||
func (s *ClassicNameServer) findIPsForDomain(domain string) []net.IP {
|
||||
s.RLock()
|
||||
records, found := s.ips[domain]
|
||||
s.RUnlock()
|
||||
|
||||
if found && len(records) > 0 {
|
||||
var ips []net.IP
|
||||
now := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user