mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-05 02:29:13 -04:00
Feat: DNS hosts support multiple addresses (#884)
This commit is contained in:
@@ -214,7 +214,7 @@ func (s *DNS) lookupIPInternal(domain string, option dns.IPOption) ([]net.IP, er
|
||||
newError("domain replaced: ", domain, " -> ", addrs[0].Domain()).WriteToLog()
|
||||
domain = addrs[0].Domain()
|
||||
default: // Successfully found ip records in static host
|
||||
newError("returning ", len(addrs), " IPs for domain ", domain).WriteToLog()
|
||||
newError("returning ", len(addrs), " IPs for domain ", domain, " -> ", addrs).WriteToLog()
|
||||
return toNetIP(addrs)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user