Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法解析IPV6地址,访问异常 #544

Open
kimoziiiii opened this issue Nov 1, 2023 · 2 comments
Open

无法解析IPV6地址,访问异常 #544

kimoziiiii opened this issue Nov 1, 2023 · 2 comments

Comments

@kimoziiiii
Copy link

Expected Behavior

这是个BUG!钉钉试用免费/商业版本代理访问异常

Current Behavior

image

Possible Solution

看日志,应该是无法识别DNS返回的IPv6地址

2023/11/01 07:17:44.678 WARN connect fail, target: www.dingtalk.com:80([[2401:b180:2000:50::b]:443]:80), parent: , err: dial tcp: address [[2401:b180:2000:50::b]:443]:80: too many colons in address

Steps to Reproduce

  1. proxy http -p :10808 --dns-address 10.0.20.194 --dns-ttl 600 --bind-ip 10.0.20.202:10808

image

Context (Environment)

  1. proxy version is : commercial_14.0
  2. full command is : proxy http -p :10808 --dns-address 10.0.20.194 --dns-ttl 600 --bind-ip 10.0.20.202:10808
  3. system is : Ubuntu22.04LTS
  4. full log is:

Detailed Description

Possible Implementation

@snail007
Copy link
Owner

snail007 commented Nov 1, 2023

这你的dns问题,返回了的IP地址里面包含了端口号,这是错误的行为。

@kimoziiiii
Copy link
Author

DNS我用的是dnsmasq,只是用来做转发,上级DNS是直接递归到公网DNS了,DNS返回的结果里面不应该带端口啊,dnsmasq我没有做任何的自定义修改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants