Subject: Re: Telnet can't!
To: port-i386@netbsd.org, Todd Whitesel <toddpw@best.com>
From: Morten Liebach <morten@hotpost.dk>
List: port-i386
Date: 07/21/2000 10:34:13
On Thu, Jul 20, 2000 at 06:43:44PM -0700, Todd Whitesel wrote:
> > The only thing I can think of now is that telnet might not use
> > /etc/hosts (that it has something to do with DNS)?
> > If that is so, how can that behavior be changed?
> 
> You can probably fixing it by correcting /etc/resolv.conf,
> but in the meantime: edit /etc/nsswitch.conf and change
> 
> 	hosts:	dns files
> 
> to
> 
> 	hosts:	files dns
> 
> Then make sure your /etc/hosts file names the machine, and use the name.

/etc/nsswitch.conf was _it_!

I never knew what that file was for, but now I do.

Great!

Thanks to Steve, David and Todd for pointing the answer out to me.

Regards
		Morten

-- 
"Our scientific power has outrun our spiritual power. We have guided
 missiles and misguided men (Martin Luther King, Jr.)"