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

不能正常解析域名 #3

Closed
rwzsycwan opened this issue Jan 15, 2017 · 2 comments
Closed

不能正常解析域名 #3

rwzsycwan opened this issue Jan 15, 2017 · 2 comments

Comments

@rwzsycwan
Copy link

gfwlist里的域名v4、v6解析正常,不在列表里的不能正常解析,报Get dns response failed: Response message is nil, maybe timeout 错误。
配置文件:
{
"BindAddress": ":5353",
"PrimaryDNSAddress": "119.29.29.29:53",
"PrimaryDNSProtocol": "udp",
"AlternativeDNSAddress": "127.0.0.1:1053",
"AlternativeDNSProtocol": "tcp",
"Timeout": 6,
"RedirectIPv6Record": true,
"IPNetworkFilePath": "/tmp/china_ip_list.txt",
"DomainFilePath": "/tmp/gfwlist.txt",
"DomainBase64Decode": true,
"MinimumTTL": 6000,
"EDNSClientSubnetPolicy": "auto",
"EDNSClientSubnetIP": ""
}。
还有,能不能设置多个上游服务器?哪个先返回用哪个。

@shawn1m
Copy link
Owner

shawn1m commented Jan 16, 2017

是实际使用无法解析还是 dig 无法解析,一次还是多次,已知存在在打开EDNSClientSubnet的时候 debian 8 下的 dig 会报这个错误的 bug,而我用 osx 完全没有这个问题。。。
多个上游考虑过,日后有必要的话会跟进,不过多个上游就不一定都支持 EDNS 了,目前单上游的模式适应绝大多数场景。

@rwzsycwan
Copy link
Author

rwzsycwan commented Jan 16, 2017

哦,我用的是debian8下的dig,看来是EDNSClientSubnet这个问题,我晚上回家再试试。

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