Comments (4)
下面分析的都是直接curl请求的时候抓包分析的:
dns正常解析的:
dns解析非常长的时间,从下图可以看到足足花了10s钟来dns解析:
从上面的抓包来看,现在底层的dns resovel的时候都会请求A和AAAA记录,正常的都返回两个记录,即使没有AAAA记录也会返回一个空。
但是不正常的那个域名,就是一直不返回AAAA记录,使的底层去重复请求了三次,最后才用了A记录。这样可以判断是那个不正常的域名的权威dns服务器的配置是有问题的。还有为什么切换了114.114.114.114就正常了,应该是114.114.114.114上面有缓存了,所以会正常。等没有缓存的时候,可能又会出错。
还有为什么不开clash用浏览器是直接可以打开的,浏览器是没有直接调用底层的dns 解析库,是自己实现一个dns 服务器和客户端,所以他的解析流程和系统底层dns解析库是不一样的。他应该是有解析返回A记录,就直接用A记录了。surge目前也是有自己的dns解析,所以也不会出问题。
from clash.
使用新版的自定义配置试试
from clash.
我已经试了,chinacdc.com 这个域名是没有问题的。 @TomatoFryEggs 你试试你的那个域名 行不行,看下是不是同一个问题?
from clash.
如果使用自定义 DNS 不能解决再重新打开这个 issue
from clash.
Related Issues (20)
- [Feature] 配置项 ebpf.redirect-to-tun 可以支持 auto-detect-interface ?
- [Feature] default proxy for GLOBAL
- Installation of clash-linux-armv5 on RT-AC86U not working
- [Feature] <增强"rule groups"的 可配置性,添加诸如sub-rule、更多条件判断……等等> HOT 21
- [Bug] <centos 7 amd64运行问题> HOT 1
- [Feature] <可以提升一下clash的并发能力吗> HOT 5
- [Feature] Allow Lan Bind 网卡IP 本机127.0.0.1无法访问 HOT 1
- [Feature] 给出连接域名/ IP 时会使用的代理 / 规则的匹配结果
- [Feature] <titIs it possible to have the dns request sent out through a proxy, rather than through a physical NIC like this, which is a very insecure practice?le> HOT 7
- [Feature] <标题> 关于一些使用clash的gui的开源建议 HOT 10
- title
- title
- [Bug] <iPad局域网无法使用youtube应用播放视频>
- [Bug] <load-balance模式proxy-group节点变红后, 无法使用该节点发送请求(和interval时间无关)>
- The External Controller 提供接口获取clash当前yaml配置文件路径
- [Bug] auto set route failed error=unsupported kernel version
- 在开启TUN模式后,UPNP功能就不正常了,看起来NAT也降级了
- [Bug] TUN模式下使用script模式时,不识别rule-providers中的PROCESS-NAME规则
- [Bug] Ubuntu 上使用 clash premium 开启 TUN 模式后,局域网内其他设备无法通过该设备上网
- [Bug] 概率性DNS解析失败 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clash.