Open slovx2 opened 6 days ago
想了解一下设置中的"VPN DNS"具体作用是什么。 我有部署了两台服务器,都是用x-ui部署的ss协议,一台在bandwagon-美国,一台在华为-香港。 这两个节点在其他平台客户端上使用都正常(iOS V2Box、Mac V2RayU、 Win V2RayN)。 唯独在Android的此app上使用有问题。
VPN DNS 默认设置下都能正常访问
所谓“无法正常使用”指的都是包括C浏览器在内所有APP无法访问国内和国外网络,(Chrome提示: DNS_PROBE_FINISHED_NO_INTERNET)
如上所述,我可以提供服务器信息以供测试,但我不确定在别的手机上能不能复现。 这导致我在两个节点间切换时,总要修改VPN DNS 设置
以下是 2. VPN DNS 设置为 “1.1.1.1” 时,香港节点无法正常使用;时的日志
2. VPN DNS 设置为 “1.1.1.1” 时,香港节点无法正常使用;
--------- beginning of main 11-27 21:50:59.904 10204 13757 I GoLog : [Info] [2263923013] transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe 11-27 21:51:00.116 10204 13757 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.117 10204 13763 I GoLog : [Info] [333385888] proxy/socks: client UDP connection from udp:127.0.0.1:60527 11-27 21:51:00.117 10204 13763 I GoLog : [Info] [333385888] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:00.117 10204 13757 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.118 10204 13757 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.118 10204 13831 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [333385888] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [333385888] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [39564871] proxy/socks: client UDP connection from udp:127.0.0.1:33165 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [39564871] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [3409403235] proxy/socks: client UDP connection from udp:127.0.0.1:48405 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [3409403235] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [3409403235] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [39564871] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [2087788080] proxy/socks: client UDP connection from udp:127.0.0.1:54750 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [2087788080] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [3409403235] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [2087788080] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [39564871] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:00.118 10204 13757 I GoLog : [Info] [2087788080] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:00.118 10204 13757 I GoLog : from udp:127.0.0.1:60527 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:00.118 10204 13757 I GoLog : from udp:127.0.0.1:48405 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:00.118 10204 13757 I GoLog : from udp:127.0.0.1:33165 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:00.118 10204 13757 I GoLog : from udp:127.0.0.1:54750 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:00.222 10204 13866 I GoLog : [Info] [3909028139] proxy/socks: client UDP connection from udp:127.0.0.1:38059 11-27 21:51:00.222 10204 13866 I GoLog : [Info] [3909028139] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:00.222 10204 13866 I GoLog : [Info] [3718994366] proxy/socks: client UDP connection from udp:127.0.0.1:38596 11-27 21:51:00.222 10204 13866 I GoLog : [Info] [3718994366] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:00.222 10204 13866 I GoLog : from udp:127.0.0.1:38059 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:00.222 10204 13866 I GoLog : [Info] [3909028139] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:00.222 10204 13866 I GoLog : [Info] [3718994366] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:00.222 10204 13866 I GoLog : from udp:127.0.0.1:38596 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:00.224 10204 13757 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.224 10204 13827 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.225 10204 13831 I GoLog : [Info] [3718994366] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:00.225 10204 13831 I GoLog : [Info] [3909028139] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:00.331 10204 13866 I GoLog : [Info] [3824253464] transport/internet/udp: failed to handle UDP input > io: read/write on closed pipe 11-27 21:51:00.684 10204 13831 I GoLog : [Info] [1500529631] proxy/socks: TCP Connect request to tcp:172.217.14.110:443 11-27 21:51:00.684 10204 13831 I GoLog : [Info] [1500529631] app/dispatcher: sniffed domain: play-fe.googleapis.com 11-27 21:51:00.685 10204 13831 I GoLog : [Info] [1500529631] app/dispatcher: taking detour [proxy] for [tcp:play-fe.googleapis.com:443] 11-27 21:51:00.685 10204 13831 I GoLog : from tcp:127.0.0.1:40332 accepted tcp:172.217.14.110:443 [socks -> proxy] 11-27 21:51:00.685 10204 13831 I GoLog : [Info] [1500529631] transport/internet/tcp: dialing TCP to tcp:香港服务器地址:443 11-27 21:51:00.717 10204 13827 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:00.719 10204 13831 I GoLog : [Info] [1500529631] proxy/shadowsocks: tunneling request to tcp:play-fe.googleapis.com:443 via TCP:香港服务器地址:443 11-27 21:51:01.125 10204 13763 I GoLog : Using Prepared:香港服务器地址 11-27 21:51:01.125 10204 13866 I GoLog : [Info] [1954313125] proxy/socks: client UDP connection from udp:127.0.0.1:57623 11-27 21:51:01.126 10204 13866 I GoLog : [Info] [3408182488] proxy/socks: client UDP connection from udp:127.0.0.1:38701 11-27 21:51:01.126 10204 13866 I GoLog : [Info] [3408182488] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:01.126 10204 13866 I GoLog : [Info] [1954313125] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:01.126 10204 13866 I GoLog : [Info] [1954313125] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:01.126 10204 13827 I GoLog : Using Prepared: 香港服务器地址 11-27 21:51:01.127 10204 13866 I GoLog : [Info] [1954313125] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:01.127 10204 13866 I GoLog : [Info] [3408182488] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:01.127 10204 13866 I GoLog : [Info] [3408182488] proxy/shadowsocks: tunneling request to udp:1.1.1.1:53 via UDP:香港服务器地址:443 11-27 21:51:01.127 10204 13866 I GoLog : from udp:127.0.0.1:57623 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:01.127 10204 13866 I GoLog : from udp:127.0.0.1:38701 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:01.233 10204 13757 I GoLog : [Info] [1323713279] proxy/socks: client UDP connection from udp:127.0.0.1:41390 11-27 21:51:01.233 10204 13757 I GoLog : [Info] [1323713279] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:01.233 10204 13757 I GoLog : [Info] [1323713279] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:01.233 10204 13757 I GoLog : from udp:127.0.0.1:41390 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:01.237 10204 13831 I GoLog : [Info] [1977089734] proxy/socks: client UDP connection from udp:127.0.0.1:34534 11-27 21:51:01.237 10204 13831 I GoLog : [Info] [1977089734] transport/internet/udp: establishing new connection for udp:1.1.1.1:53 11-27 21:51:01.237 10204 13831 I GoLog : [Info] [1977089734] app/dispatcher: taking detour [proxy] for [udp:1.1.1.1:53] 11-27 21:51:01.237 10204 13831 I GoLog : from udp:127.0.0.1:34534 accepted udp:1.1.1.1:53 [socks -> proxy] 11-27 21:51:01.237 10204 13866 I GoLog : Using Prepared: 香港服务器地址
表现为测试OK,实际浏览器与APP均提示DNS解析异常,修改为公共DNS114.114.114.114即可正常使用
想了解一下设置中的"VPN DNS"具体作用是什么。 我有部署了两台服务器,都是用x-ui部署的ss协议,一台在bandwagon-美国,一台在华为-香港。 这两个节点在其他平台客户端上使用都正常(iOS V2Box、Mac V2RayU、 Win V2RayN)。 唯独在Android的此app上使用有问题。
预期行为
VPN DNS 默认设置下都能正常访问
实际行为
所谓“无法正常使用”指的都是包括C浏览器在内所有APP无法访问国内和国外网络,(Chrome提示: DNS_PROBE_FINISHED_NO_INTERNET)
复现方法
如上所述,我可以提供服务器信息以供测试,但我不确定在别的手机上能不能复现。 这导致我在两个节点间切换时,总要修改VPN DNS 设置
日志信息
以下是
2. VPN DNS 设置为 “1.1.1.1” 时,香港节点无法正常使用;
时的日志环境信息
额外信息(可选)