In a previous blog entry I described setting up a caching-only DNS server to speed up hostname resolution on Debian systems. I’ve recently been playing with Ubuntu and noticed that this hack is not working.
Lately I’ve been noticing significant DNS latency when visiting certain sites. This is most obvious when my browser spends ages with “Looking up some.web.server.com…” in it’s status bar. It’s particularly bad at sites like wordpress.com where many pages make reference to sub-domains of wordpress.com and typically also to google.com for analytics or ads.
While my ISP’s DNS infrastructure is pretty good, there are a couple of things I can do to improve DNS look-up, which makes page loads a lot quicker.