QuanX 的 DNS 劫持导致调试和 dig 模式下拿不到真实的 IP

168 天前
 yanjieee

如图所示,工作需要,经常会用 chrome 的 F12 调试模式来看目标服务器的地址,但是由于默认一直开着 QuanX ,它会把所有的域名劫持到 198.18.*.*上面。

然后用系统的 dig 命令也会,所有的域名都是 198.18.*.*这样的。除非手动指定,例如 dig @114.114.114.114

请问有什么配置,可以让 quanx 正常工作,且这两个地方得到的解析地址也是现实正确的?

651 次点击
所在节点    宽带症候群
2 条回复
pinkbook
168 天前
dns_exclusion_list =
配置文件中这个参数后面域名好像不走 fake-ip 模式
pinkbook
168 天前
@pinkbook #1 示例文件中解释如下:
The dns_exclusion_list contains the domains that disabled the placeholder IP(198.18.0.0/15) mapping mechanism. Domains that are not in the dns_exclusion_list have the placeholder IP mapping mechanism enabled and have the so called "resolve-on-remote" effect. The DNS query for domains in the dns_exclusion_list may or may not follow the settings in [dns] section.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/998685

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX