For /etc/hosts, which is the correct format?
Code:
127.0.0.1 localhost.localdomain localhost
10.10.10.10 core.domain.com core
Or
Code:
127.0.0.1 core.domain.com core localhost.localdomain localhost
10.10.10.10 core.domain.com core
On various sources, some say the server's actual fqdn must follow the 127.0.0.1 and then localhost.localdomain and localhost and some say the line with 127.0.0.1 should only contain localhost.localdomain and localhost.
Or does it vary depending on the distro? I'm running Redhat and Ubuntu distros.
Thanks