*BSD News Article 82409


Return to BSD News archive

#! rnews 1210 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!tezcat!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.mathworks.com!uunet!in3.uu.net!nntp.inet.fi!news.csc.fi!news.ifmo.ru!usenet
From: "Cyril A. Vechera" <sply@by.by>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: order of named and hosts
Date: Wed, 06 Nov 1996 16:31:16 +0000
Organization: ETU
Lines: 24
Message-ID: <3280BD53.41C67EA6@by.by>
References: <55la8h$ce@kauss.rhein-main.de>
NNTP-Posting-Host: veronica.etu.ru
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01b1 (X11; I; FreeBSD 2.1.5-RELEASE i386)
To: Stephan Kauss <ska@kauss.rhein-main.de>

Stephan Kauss wrote:
> Under Solaris 2.x there is a file called /etc/nsswitch.conf
> here I am able to set  the sequence in which the machine has to find
> out the IP address.
> 
> Thanks
> 
>   Stephan
In your /etc/hosts.conf make something like it:
#any garbadge
hosts
bind
.........

Initial setup is like that:
bind
hosts

and I don't understand why...


Cyril A. Vechera,
Saint-Petersburg Electrotechnical University
http://veronica.etu.ru