DNS resolution takes over 100 ms longer in Firefox than OS DNS resolution. How to improve?
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