搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

DNS resolution takes over 100 ms longer in Firefox than OS DNS resolution. How to improve?

  • 無回覆
  • 1 有這個問題
  • 49 次檢視
more options

Firefox takes an exceedingly long time to perform DNS resolution. For example when I visit yahoo.com resolving s.yimg.com takes 133 ms.

Resolution takes almost a magnitude longer than it should take. For reference when I use dig:

$ dig s.yimg.com | grep "Query time" ;; Query time: 19 msec

I run dnsmasq on localhost, so whatever isn't already cached only takes about 20 ms on average to resolve.

Why is Firefox taking so long to do DNS resolution and what can I do to fix it?

I've already tried toggling DNS prefetch and disabling IPv6 DNS. No effect.

I'm running the latest Firefox ESR on Linux antix1 4.9.200-antix.1-amd64-smp

Firefox takes an exceedingly long time to perform DNS resolution. For example when I visit yahoo.com resolving s.yimg.com takes 133 ms. Resolution takes almost a magnitude longer than it should take. For reference when I use dig: $ dig s.yimg.com | grep "Query time" ;; Query time: 19 msec I run dnsmasq on localhost, so whatever isn't already cached only takes about 20 ms on average to resolve. Why is Firefox taking so long to do DNS resolution and what can I do to fix it? I've already tried toggling DNS prefetch and disabling IPv6 DNS. No effect. I'm running the latest Firefox ESR on Linux antix1 4.9.200-antix.1-amd64-smp