summaryrefslogtreecommitdiffstats
path: root/etc/hosts
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-11-11 22:32:36 +0000
committerwollman <wollman@FreeBSD.org>1993-11-11 22:32:36 +0000
commite3c85028d01d9dcff88790fc0a919c786d7135a3 (patch)
tree047546703c4c5a1525fc95ba6e2687b6a30816c3 /etc/hosts
parentf85d696ee40bbf9aaa8c17bed755f49cb6e03919 (diff)
downloadFreeBSD-src-e3c85028d01d9dcff88790fc0a919c786d7135a3.zip
FreeBSD-src-e3c85028d01d9dcff88790fc0a919c786d7135a3.tar.gz
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.
Diffstat (limited to 'etc/hosts')
-rw-r--r--etc/hosts17
1 files changed, 12 insertions, 5 deletions
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').
+#
OpenPOWER on IntegriCloud