This posting is to let others know how I configured DNS caching and improved browsing performance.
1. installed package bind-utils for dig/nslookup
2. installed package bind
3. In PCLinuxOS Control Center > System > "Manage system services..."
4. clicked Start button for named service
5. changed network config to use 127.0.0.1 as the first DNS server and the second DNS to one of the openDNS. I do have both openDNS servers (22.214.171.124 126.96.36.199) configured in my wireless router.
tried "dig www.google.com
" twice and can see significant difference in the time to resolve to ip.
I think when a dns request is sent, named tries to get from its cache and if not found, it tries with the dns from the default gateway (router in my case) and then caches it for subsequent requests.
Hope this helps.