*BSD News Article 17889


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!noc.near.net!das-news.harvard.edu!kepler!jiu
From: jiu@kepler.uucp (Haibin Jiu)
Subject: Re: domain name
Message-ID: <1993Jul2.212009.3405@das.harvard.edu>
Sender: usenet@das.harvard.edu (Network News)
Organization: Harvard University Engineering Labs
References: <1993Jul2.203312.2808@das.harvard.edu> <1993Jul2.204948.3004@das.harvard.edu>
Date: Fri, 2 Jul 1993 21:20:09 GMT
Lines: 15

In article <1993Jul2.204948.3004@das.harvard.edu> jiu@kepler.uucp (Haibin Jiu) writes:
>
>I think accessing /etc/hosts file is the sure way to get the
>corrent host and domain name for your Internet node.
>
>Any comment?

Hi, it's me again.  The problem with /etc/hosts is that on systems with
NIS (Yellow Pages - e.g., Suns), the local /etc/hosts is incomplete;
instead ypcat hosts has to be called form teh command line to get a
complete list of hosts.

Any suggestions?

HBJ