from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results



Last additions:
Disable Anti-Aliasing fonts

Disable Anti-Aliasing fonts

words:

186

views:

6107

userrating:

no votes yet


May 25th. 2007:
Words

491

Views

7050

why adblockers are bad


handy one-liners for sed (Unix stream editor)
Tutorial:

handy one-liners for sed (Unix stream editor)

words:

4078

views:

19774

userrating:

no votes yet


rotating apache logfiles with cronolog

rotating apache logfiles with cronolog

words:

294

views:

7427

userrating:

no votes yet


Druckversion . pdf icon
You are here: Network

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

pdnsd

pdnsd 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: no votes yet
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back
comment this article
Please read "Why adblockers are bad". Ärger mit Freenet.de



to the forum.
:
:
other Ads
Stellenangebote
Stellenangebote
für Fach- und
Führungskräfte
www.nachoben.com
Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
FeedCollector
Combine various newsfeeds to one customized webpage
www.feedcollector.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004 S&P Softwaredesign
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 68.3 ms
system status display