fix: delay to support dns query under proxy and wait for v2ray-core's bug fixed

This commit is contained in:
mzz2017 committed 2020-01-05 07:21:45 +08:00
1 parent 766bc1ec2b
commit 59ed1b5333
1 file changed
+5 -1
+5 -1
View File
@@ -357,7 +357,11 @@ func NewTemplateFromVmessInfo(v vmessInfo.VmessInfo) (t Template, err error) {
} //openDNS 非标准端口
}
}
/*
TODO:
FAST mode: dns请求直接发送,嗅探域名
*/
t.DNS.Servers = []interface{}{"119.29.29.29"}
//根据配置修改端口
ports := configure.GetPorts()
if ports != nil {