使用redir-host做透明代理,DNS请求是否会多次的疑问,请大佬帮忙解答下 #4155
Unanswered
GoFightNow
asked this question in
Q&A
Replies: 2 comments 6 replies
-
请求dns:我想知道ABC在哪 |
Beta Was this translation helpful? Give feedback.
4 replies
-
那redir-host基本DNS会重复发起。那fakeip好像不会出现这样的问题吧?本地的dns直接被返回假ip,建立连接请求直接代理服务器dns+网页数据一起就完事儿。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我认为在redir-host的透明代理中,PC发起DNS请求并由国外服务器解析正常IP,那PC拿到这个IP,应该是直接使用IP来发送数据包而不是域名。那这时候Clash收到这个包,我看还是根据域名匹配发起的请求,为什么还是根据域名匹配发起呢?那这个包发送到代理服务器应该还需要解析一次DNS,才能访问网页数据,这样是不是重复DNS请求了呢?如果是,除了fake-ip有什么优化方法吗?
Beta Was this translation helpful? Give feedback.
All reactions