Changes

The /etc/hosts file

356 bytes added, 23:26, 27 June 2014
The following lines were added (+) and removed (-):
  192.168.1.3 first.domain.com first  192.168.1.3 alpha.domain.com alpha bravo  192.168.1.4 second.domain.com second  192.168.1.4 delta.domain.com delta  192.168.1.5 third.domain.com third  192.168.1.5 foxtrot.domain.com foxtrot If "ping alpha" or "ping bravo" is used, both will return 192.168.1.3 as will "ping alpha.domain.com". Another example from a CentOS system.  127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 10.10.25.0 echo.foo.com echo 10.10.25.1 bravo.foo.com bravo The default Redhat format for the loopback interface is used.
Bureaucrat, administrator
16,192
edits