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

search text in:





Poll
Which linux distribution do you use?







poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

185934

userrating:

average rating: 1.7 (102 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

250337

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

137481

userrating:

average rating: 1.4 (42 votes) (1=very good 6=terrible)


April, 26th. 2006:

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: average rating: 1.2 (30 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
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: 88.6 ms