You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Tuesday, October 3rd 2006, 2:22am

konqueror ignoring /etc/hosts for local machines

I have a small network connecting several machines. Each of the machines has its own static IP (192.168.x.x), hostname etc. All running Debian. All the hostnames and IPs are in an /etc/hosts file on every machine. The network is connected to a firewall and ADSL modem. Ping etc and connecting to the Internet works beautifully.

/etc/resolv.conf contains the IP addr of the firewall.

/etc/host.conf is:
order hosts,bind
multi on

I installed Apache on one of the machines to develop php for a website. Mozilla and Firefox access the web pages and images from the machine quickly and smoothly. Konqueror does not. It spends ages resolving "http://copper/index.php" to and then does the same for every single image!! I can see the modem light flickering as it pointlessly sends DNS requests to my ISP. Why is it ignoring host.conf and not using the hosts file?

From what I could find searching this site it appears to be a bug in KDE concerning the IPv6 resolver. Is this correct? But why does it not affect Mozilla or Firefox?! Is using short names like "copper" to blame?

It's frustrating as I really like developing using Konqueror. How do I fix this or work around it?


edit: It appears to be DNS related because if I use "" accessing the page is lightning fast. I've been using this but it's a bit ugly and messes up my cookies. I just like to know why only Konqueror is doing this...

This post has been edited 1 times, last edit by "slartibartfast" (Oct 3rd 2006, 5:53pm)