mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #22] 能否增加指定DNS? #18
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @js2854 on GitHub (Jan 23, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/22
在非root权限下执行时,无法设置DNS的情况,某些网站无法打开,能否增加指定DNS的参数,来做域名解析?
@snail007 commented on GitHub (Jan 23, 2018):
dns请参考udp代理,手册3.4部分
@js2854 commented on GitHub (Jan 23, 2018):
感谢回复!答案并不是我想要的,我是想能够指定dns,用来解析走当前代理的域名,只是个小众需求。
@snail007 commented on GitHub (Jan 23, 2018):
http代理协议本来就是用远程服务器解析域名,要么就是你的客户端问题,建议用谷歌浏览器加插件。
@js2854 commented on GitHub (Jan 23, 2018):
是的,我遇到的场景就是一级http所在服务器的dns配置有问题,然后又是非root用户,所以改不了dns,导致如github无法访问。
@snail007 commented on GitHub (Jan 24, 2018):
明白了你的问题,目前还没有指定dns做为请求域名解析的功能.这个情况比较特殊.后续看需求量是否支持.
@js2854 commented on GitHub (Jan 24, 2018):
感谢!