mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-10-06 02:31:50 -07:00
Fix: fakedns option (#879)
This commit is contained in:
+3
-3
@@ -172,7 +172,7 @@ func (s *DNS) LookupIP(domain string) ([]net.IP, error) {
|
||||
return s.lookupIPInternal(domain, dns.IPOption{
|
||||
IPv4Enable: true,
|
||||
IPv6Enable: true,
|
||||
FakeEnable: false,
|
||||
FakeEnable: s.ipOption.FakeEnable,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -181,7 +181,7 @@ func (s *DNS) LookupIPv4(domain string) ([]net.IP, error) {
|
||||
return s.lookupIPInternal(domain, dns.IPOption{
|
||||
IPv4Enable: true,
|
||||
IPv6Enable: false,
|
||||
FakeEnable: false,
|
||||
FakeEnable: s.ipOption.FakeEnable,
|
||||
})
|
||||
}
|
||||
|
||||
@@ -190,7 +190,7 @@ func (s *DNS) LookupIPv6(domain string) ([]net.IP, error) {
|
||||
return s.lookupIPInternal(domain, dns.IPOption{
|
||||
IPv4Enable: false,
|
||||
IPv6Enable: true,
|
||||
FakeEnable: false,
|
||||
FakeEnable: s.ipOption.FakeEnable,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user