10.2.2.1. /etc/hosts
The /etc/hosts file always contains
the localhost IP address, 127.0.0.1, which is used for
interprocess communication. Never remove this line! Sometimes
contains addresses of additional hosts, which can be contacted
without using an external naming service such as DNS (the Domain
Name Server).
A sample hosts file for a small home
network:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.52.10 tux.mylan.com tux
192.168.52.11 winxp.mylan.com winxp
|
Read more in man hosts.