Unnecessary DNS queries in Konqueror (second part of BR#88855)

Stefan Taferner taferner at kde.org
Mon Oct 11 11:24:47 BST 2004


Am Montag, 11. Oktober 2004 12:41 schrieb Matthias Welwarsky:
> On Monday 11 October 2004 06:48, Dawit A. wrote:
> > Hi,
> >
> > Is there any reason why we do a DNS query even when the host is listed in
> > the /etc/hosts file ?  We even do a lookup for "localhost" !!! Why ? This
> > was really a surprise to me, but tcpdump confirms that it does indeed
> > happen. Thiago any comments on this ?
>
> Doesn't this largely depend on the content of /etc/nsswitch.conf?

/etc/host.conf, afaik

Default is often to fallback to /etc/hosts if not found via DNS.
Not the other way around.

Or in other words, Dawit:  this is nothing a program like konqueror can
control.

Kind regards,
Stefan




More information about the kde-core-devel mailing list