[GH-ISSUE #226] dns使用password会失败 #145

Closed
opened 2026-02-27 23:15:39 +03:00 by kerem · 3 comments
Owner

Originally created by @momaer on GitHub (Mar 7, 2019).
Original GitHub issue: https://github.com/snail007/goproxy/issues/226

您好,请问 dns 不支持 password 吗?
vps上执行
./proxy socks -t tcp -p :33080 -z qq12345678
本地执行
./proxy dns -S socks -T tcp -Z qq12345678 -P vps_ip:33080 -p :2253
本地执行
dig @127.0.0.1 -p 2253 google.com.hk
失败.
vps报错如下:
2019/03/07 10:11:43 handshake fail, ERR: new methods request fail,ERR: socks version not supported
2019/03/07 10:11:48 handshake fail, ERR: new methods request fail,ERR: socks version not supported
2019/03/07 10:11:53 handshake fail, ERR: new methods request fail,ERR: socks version not supported
本地报错如下:
2019/03/07 10:11:43 dail to 8.8.8.8:53 fail,socks connect tcp vps_ip:33080->8.8.8.8:53: unexpected protocol version 119
2019/03/07 10:11:48 id: 60773 cache: MISS [(google.com.hk. IN A)]
2019/03/07 10:11:48 id: 60773 resolve: [(google.com.hk. IN A)] 8.8.8.8:53
2019/03/07 10:11:48 dail to 8.8.8.8:53 fail,socks connect tcp vps_ip:33080->8.8.8.8:53: unexpected protocol version 119
2019/03/07 10:11:53 id: 60773 cache: MISS [(google.com.hk. IN A)]
2019/03/07 10:11:53 id: 60773 resolve: [(google.com.hk. IN A)] 8.8.8.8:53
2019/03/07 10:11:53 dail to 8.8.8.8:53 fail,socks connect tcp vps_ip:33080->8.8.8.8:53: unexpected protocol version 119

如果vps执行的命令去掉 -z qq12345678 本地执行的命令去掉 -Z qq12345678 就可以正确解析域名.
请帮忙看下,谢谢.

Originally created by @momaer on GitHub (Mar 7, 2019). Original GitHub issue: https://github.com/snail007/goproxy/issues/226 您好,请问 dns 不支持 password 吗? vps上执行 ./proxy socks -t tcp -p :33080 -z qq12345678 本地执行 ./proxy dns -S socks -T tcp -Z qq12345678 -P vps_ip:33080 -p :2253 本地执行 dig @127.0.0.1 -p 2253 google.com.hk 失败. vps报错如下: 2019/03/07 10:11:43 handshake fail, ERR: new methods request fail,ERR: socks version not supported 2019/03/07 10:11:48 handshake fail, ERR: new methods request fail,ERR: socks version not supported 2019/03/07 10:11:53 handshake fail, ERR: new methods request fail,ERR: socks version not supported 本地报错如下: 2019/03/07 10:11:43 dail to 8.8.8.8:53 fail,socks connect tcp vps_ip:33080->8.8.8.8:53: unexpected protocol version 119 2019/03/07 10:11:48 id: 60773 cache: MISS [(google.com.hk. IN A)] 2019/03/07 10:11:48 id: 60773 resolve: [(google.com.hk. IN A)] 8.8.8.8:53 2019/03/07 10:11:48 dail to 8.8.8.8:53 fail,socks connect tcp vps_ip:33080->8.8.8.8:53: unexpected protocol version 119 2019/03/07 10:11:53 id: 60773 cache: MISS [(google.com.hk. IN A)] 2019/03/07 10:11:53 id: 60773 resolve: [(google.com.hk. IN A)] 8.8.8.8:53 2019/03/07 10:11:53 dail to 8.8.8.8:53 fail,socks connect tcp vps_ip:33080->8.8.8.8:53: unexpected protocol version 119 如果vps执行的命令去掉 -z qq12345678 本地执行的命令去掉 -Z qq12345678 就可以正确解析域名. 请帮忙看下,谢谢.
kerem closed this issue 2026-02-27 23:15:39 +03:00
Author
Owner

@momaer commented on GitHub (Mar 7, 2019):

本地和vps的版本是 v7.0_20190302172319

<!-- gh-comment-id:470356442 --> @momaer commented on GitHub (Mar 7, 2019): 本地和vps的版本是 v7.0_20190302172319
Author
Owner

@snail007 commented on GitHub (Mar 7, 2019):

已经证实是bug.,下个版本7.2已经修复.
fixed in v7.2

<!-- gh-comment-id:470369351 --> @snail007 commented on GitHub (Mar 7, 2019): 已经证实是bug.,下个版本7.2已经修复. fixed in v7.2
Author
Owner

@momaer commented on GitHub (Mar 7, 2019):

感谢,比心

<!-- gh-comment-id:470369721 --> @momaer commented on GitHub (Mar 7, 2019): 感谢,比心
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#145
No description provided.