www.LinuxHowtos.org
What is Konqueror
Konqueror is the default browser/file manager for KDE.As time of this writing this is one of only 4 browsers who correctly display the
acid2 test (http://www.webstandards.org/act/acid2/) correctly.
The Problem
One problem of this browser is the lack of an internal dns cache, that means for every http request (each image on a web page) it sends a dns query.Depending on your internet connection and speed of your dns servers, this can slow things down.
Solution
pdnsdpdnsd is a tiny dns proxy. pdnsd should be available on most distributions.
Just install the tool via apt-get, rpm, emerge or whatever your distribution uses.
configuring
you can use the default example configuration and modify the cache size and dns server ip.
My config reads this:
global {
       perm_cache=2048;   # cachesize in kB.
       cache_dir="/var/cache/pdnsd";
       run_as="pdnsd";
       server_ip = 127.0.0.1;
       status_ctl = on;
       paranoid=on;
       min_ttl=900;       # store cache at least 15 minutes.
       max_ttl=604800;    # store cache maximum one week.
       timeout=10;
}
server {
       label= "myisp";
       ip = 192.168.0.1;  # enter IP of your dns server
       proxy_only=on;
       timeout=4;
       uptest=if;
       interface=eth0;
       interval=600;
       purge_cache=off;
}modify /etc/resolv
domain yourdomain
server 127.0.0.1
start the dns proxy
/etc/init.d/pdnsd start
check if the server works by pinging a server
ping www.linuxhowtos.org
if everything works, add the pdnsd to the started services and you are done.
Happy surfing.
rate this article:
current rating: average rating: 1.2 (44 votes) (1=very good 6=terrible)
Your rating:
back