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

能否增加指定DNS? #22

Closed
js2854 opened this issue Jan 23, 2018 · 6 comments
Closed

能否增加指定DNS? #22

js2854 opened this issue Jan 23, 2018 · 6 comments

Comments

@js2854
Copy link

js2854 commented Jan 23, 2018

在非root权限下执行时,无法设置DNS的情况,某些网站无法打开,能否增加指定DNS的参数,来做域名解析?

@snail007
Copy link
Owner

dns请参考udp代理,手册3.4部分

@js2854
Copy link
Author

js2854 commented Jan 23, 2018

感谢回复!答案并不是我想要的,我是想能够指定dns,用来解析走当前代理的域名,只是个小众需求。

@snail007
Copy link
Owner

http代理协议本来就是用远程服务器解析域名,要么就是你的客户端问题,建议用谷歌浏览器加插件。

@snail007 snail007 reopened this Jan 23, 2018
@js2854
Copy link
Author

js2854 commented Jan 23, 2018

是的,我遇到的场景就是一级http所在服务器的dns配置有问题,然后又是非root用户,所以改不了dns,导致如github无法访问。

@js2854 js2854 closed this as completed Jan 23, 2018
@snail007
Copy link
Owner

明白了你的问题,目前还没有指定dns做为请求域名解析的功能.这个情况比较特殊.后续看需求量是否支持.

@js2854
Copy link
Author

js2854 commented Jan 24, 2018

感谢!

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

No branches or pull requests

2 participants