Yesterday I came across a Firefox extension called Speed DNS which claims to speed up browsing by performing DNS lookups in advance. According to the author, it "does DNS pre-resolution of all the links on a web page" and the reviews seem to indicate this works well.
That got me wondering about whether it would be feasible (or a good idea) to build a simple DNS optimizer consisting in a cronjob that would:
- extract the top X most visited entries from your browsing history (in my case, from Firefox's places.sqlite, using sqlite's command line utility)
- ping each of them to obtain their IP addresses, and
- use this info to update the
I assume this would speed up web browsing, and provide added robustness when the Internet connection is fine but DNS servers temporarily don’t work (e.g. when IMs work but browsers don’t -- it happens to me occasionally on my university's lab computers, for instance).
Is this a good idea? Would it work? What would be a good value for X? (Or, in other words, at what size does the hosts file start being too big to work well?) And more importantly: has something like this been done before?, and if so, where can I find it?