aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1993-11-11 22:32:36 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1993-11-11 22:32:36 +0000
commita2afa74527efd6d3d7eb2defb97c5873196be780 (patch)
tree047546703c4c5a1525fc95ba6e2687b6a30816c3 /etc
parent4fd85984456fe7d68f728db8e94fc8d5a31275ed (diff)
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.
Notes
Notes: svn path=/head/; revision=748
Diffstat (limited to 'etc')
-rw-r--r--etc/hosts17
1 files changed, 12 insertions, 5 deletions
diff --git a/etc/hosts b/etc/hosts
index 29402c5849e9..d6fc7587e5ea 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').
+#