Re: Linux hosts file /etc/hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Reindl Harald wrote:
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

also refer to /etc/resolv.conf
this file tells the system where to go for hostname lookups - as mentioned, if dns is unavailable during boot some things can get lost.
------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux