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.
This commit is contained in:
parent
4fd8598445
commit
a2afa74527
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=748
17
etc/hosts
17
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').
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user