[CentOS] Linux hosts file /etc/hosts

Tue Nov 8 18:06:23 UTC 2011
Reindl Harald <h.reindl at thelounge.net>


Am 08.11.2011 18:53, schrieb Jonathan Vomacka:
> Reindl,
> 
> To my knowledge, all that needs to be configured is A records, MX 
> records, and SPF records (along with correlating PTR's). This is a whole 
> other subject and I feel I will have this correctly configured. My fear 
> is that someone will send email out from my server, and the hostname 
> might come back as my systems host INSTEAD of the mail server hostname.
> 
> Is it good measure to add it to the hosts file anyway or is this a waste 
> of time? I guess my understanding of the host file is clouded

the host-file is simply the same as DNS in both directions and
does nothing than resolve name/ip locally, normally not needed
but maybe a good idea to make sure servers like httpd starts
even if no dns is reachable at this moment because httpd refuses
to start if he can not resolve his own name


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20111108/f2f7d66d/attachment-0004.sig>