Replies: 1 comment 9 replies
-
阿里云和腾讯云的dns表现不同原因在于,阿里云做了一个巨大的缓存,当域名缓存ttl到期后依旧向客户端提供ttl为0的缓存结果(与smartdns的“Serve expired”行为类似)。腾讯云在缓存过期后,会继续向上游发起查询直到获取到最新可信结果,然后再答复下游。这就造成了阿里云应答快,但在(尤其是ddns之类的,包括自家域名解析服务)域名过期后仍答复错误的结果;腾讯应答慢,但结果准确。 考虑到阿里的https支持问题,我建议弃用阿里云。对于smartdns开启缓存和预读,可以获得和阿里云相当的性能。 |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
比如在国内组,把119.29.29.29设置为可信dns,当223.5.5.5返回IP结果快时,设置一个3s的ttl,等119.29.29.29返回结果时,采纳119.29.29.29的查询结果。
Beta Was this translation helpful? Give feedback.
All reactions