Name Resolution on woody

"Pavic, Aleksander" <[email protected]>
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Hi All,
i have a question to the Name Resolution.
 
I have two hosts @ a switch. Sektor and Cyrix (both debian 3.0)
 
When i connect from one to the other, I see that the system tries first to resolv 'Cyrix' from my Providers DNS.
Of Course this isn't possible. It takes a long time till the System searches in /etc/hosts.
 
But my nsswitch.conf is:
 
hosts    files    dns
 
my resolv.conf is:
nameserver <IP_of_my_Providers_DNS>
 
Normally the System has to search first in my /etc/hosts and then asking the DNS.
And, of course, i have an hosts entry for cyrix.
 
I'm just on Solaris till now, and in Solaris Enviroments the config of /etc/nsswitch.conf and /etc/resolv.conf is 
enough to say the System where to start with the resolution of hostnames.
 
Is there anyone who knows something about that?
 
greetz
Aleks
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.