From e3c85028d01d9dcff88790fc0a919c786d7135a3 Mon Sep 17 00:00:00 2001 From: wollman Date: Thu, 11 Nov 1993 22:32:36 +0000 Subject: Added RCS Id. Also changed comment to indicate that /etc/host.conf determines when and how this file will be consulted. Added comment to the effect that (1) zero is not a vaild network number and (2) please get a valid network number assigned by your provider or by the Internet Registry. --- etc/hosts | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'etc') diff --git a/etc/hosts b/etc/hosts index 29402c5..d6fc758 100644 --- a/etc/hosts +++ b/etc/hosts @@ -1,13 +1,20 @@ +# $Id$ # # Host Database # This file should contain the addresses and aliases # for local hosts that share this file. -# It is used only for "ifconfig" and other operations -# before the nameserver is started. +# In the presence of the domain name service or NIS, this file may +# not be consulted at all; see /etc/host.conf for the resolution order. # # -127.1 localhost localhost.my.domain +127.0.0.1 localhost localhost.my.domain # # Imaginary network. -0.2 myname.my.domain myname -0.3 myfriend.my.domain myfriend +#0.2 myname.my.domain myname +#0.3 myfriend.my.domain myfriend +# +# NB: 0 is not a valid network number. PLEASE PLEASE PLEASE do not try +# to invent your own network numbers but instead get one from your +# network provider (if any) or from the Internet Registry (ftp to +# rs.internic.net, directory `/templates'). +# -- cgit v1.1