You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025/02/07 22:11:46 [Debug] transport/internet/udp: UDP original destination: udp:1.1.1.1:53
2025/02/07 22:11:46 [Debug] [2614643243] proxy/dokodemo: processing connection from: 192.168.192.101:33328
2025/02/07 22:11:46 [Info] [2614643243] proxy/dokodemo: received request for 192.168.192.101:33328
2025/02/07 22:11:46 [Info] [2614643243] app/dispatcher: taking detour [dns-out] for [udp:1.1.1.1:53]
2025/02/07 22:11:46 [Info] [2614643243] proxy/dns: handling DNS traffic to udp:1.1.1.1:53
2025/02/07 22:11:46 [Debug] app/dns: domain baidu.com will use DNS in order: [UDP:8.8.4.4:53] [TypeA]
2025/02/07 22:11:46 [Debug] app/dns: DNS cache is disabled. Querying IP for baidu.com at UDP:8.8.4.4:53
2025/02/07 22:11:46 [Debug] app/dns: UDP:8.8.4.4:53 querying DNS for: baidu.com.
2025/02/07 22:11:46 [Debug] transport/internet/udp: dispatch request to: udp:8.8.4.4:53
2025/02/07 22:11:46 [Info] transport/internet/udp: establishing new connection for udp:8.8.4.4:53
2025/02/07 22:11:46 [Info] app/dispatcher: taking detour [dns-out] for [udp:8.8.4.4:53]
2025/02/07 22:11:46 [Info] proxy/dns: handling DNS traffic to udp:8.8.4.4:53
2025/02/07 22:11:46 [Info] app/dns: UDP:8.8.4.4:53 got answer: baidu.com. TypeA -> [39.156.66.10 110.242.68.66] 157.135426ms
2025/02/07 22:11:46 [Debug] app/dns: UDP:8.8.4.4:53 updating IP records for domain:baidu.com.
而且没有出现proxy/vless/outbound: tunneling request to udp:8.8.4.4:53 via vps.server.nginx:443
网关抓包出现了8.8.4.4.53
22:17:21.948949 IP 192.168.192.101.55493 > 8.8.4.4.53: 7+ A? baidu.com. (27)
22:17:21.948949 IP 192.168.192.101.55493 > 8.8.4.4.53: 8+ AAAA? baidu.com. (27)
22:17:22.102754 IP 8.8.4.4.53 > 192.168.192.101.55493: 8 0/1/0 (70)
22:17:22.102785 IP 8.8.4.4.53 > 192.168.192.101.55493: 7 2/0/0 A 110.242.68.66, A 39.156.66.10 (59)
我看过《漫谈各种黑科技式 DNS 技术在代理环境中的应用》,里面有一句“6. 内置 DNS 发出的 DNS 请求会按路由规则走,因为 8.8.8.8 匹配了路由中的第一条规则,这个 DNS 请求的流量会走 proxy”,但是我的没有走proxy,而是发往网关了,百思不得其解,请帮我看下到底是哪里出了问题?
期望在使用内部DNS的情况下能缓存域名解析结果,而且内部DNS发出的DNS请求能按路由规则走,好控制走哪个outbound,而不是再泄漏出去,发送到网关。
非常感谢!
网络环境
局域网电脑(v2ray-5.12.1 client) ---> Linux网关(PPPoE) ---> Internet ---> vps(v2ray-5.12.1 server)
各位好
我在客户端配置里使用DNS出站时遇到域名泄漏出来的问题,具体见下:
1.当我把v2ray客户端配置里的路由规则第一个去掉的时候,未出现dns泄漏,所有流量都走proxy了,但是v2ray不能cache域名解析结果了,日志:
2.当不去掉客户端路由规则里的第一个规则时,域名解析结果可以缓存,但是dns泄漏了,因为我在网关上可以抓到去往8.8.4.4的包,日志:
而且没有出现proxy/vless/outbound: tunneling request to udp:8.8.4.4:53 via vps.server.nginx:443
网关抓包出现了8.8.4.4.53
我看过《漫谈各种黑科技式 DNS 技术在代理环境中的应用》,里面有一句“6. 内置 DNS 发出的 DNS 请求会按路由规则走,因为 8.8.8.8 匹配了路由中的第一条规则,这个 DNS 请求的流量会走 proxy”,但是我的没有走proxy,而是发往网关了,百思不得其解,请帮我看下到底是哪里出了问题?
期望在使用内部DNS的情况下能缓存域名解析结果,而且内部DNS发出的DNS请求能按路由规则走,好控制走哪个outbound,而不是再泄漏出去,发送到网关。
非常感谢!
网络环境
局域网电脑(v2ray-5.12.1 client) ---> Linux网关(PPPoE) ---> Internet ---> vps(v2ray-5.12.1 server)
v2ray 服务器配置
客户端配置
客户端iptables配置
客户端/etc/resolv.conf
nameserver 1.1.1.1
The text was updated successfully, but these errors were encountered: