Look at /etc/nsswitch.conf

Lonnie

On Mon, 2002-12-30 at 09:15, Wouter Lagerweij wrote:
> Hi,
> 
> I think something's wrong with hostname resolving, at least on my
> machine, but maybe it's a cooker thing.
> 
> I have the following configuration:
> 
> host.conf:
> order hosts,bind
> multi on
> 
> resolv.conf:
> search lagerweij.com 
> nameserver 194.109.6.66
> 
> hosts:
> 127.0.0.1               localhost.localdomain localhost
> 192.168.1.2             om.lagerweij.com om
> 192.168.1.1             ixolite.lagerweij.com ixolite
> 192.168.1.3             angua.lagerweij.com angua
> 
> Which should mean that a 'host om.lagerweij.com' resolves into
> 192.168.1.2, since this hostname is in the hosts file, and the hosts
> file is the first in the 'order' in host.conf.
> Instead it resolves into my external ip address, 213.84.161.99, which
> one would expect if the lookup was done through the nameserver.
> (the same is true for both angua and ixolite)
> 
> The reason I'm looking into this, btw, is that my machine seems to be
> running a bit slower that I think is normal, and I heard gnome tends to
> slowdown when there are lookup problems.
> 
> Any ideas?
> 
> Wouter


Reply via email to