Re: Linux hosts file /etc/hosts

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



Am 08.11.2011 18:23, schrieb Jonathan Vomacka:
> Good afternoon Gentlemen,
> 
> I have a question regarding /etc/hosts for CentOS 6 x64. I already have 
> a hostname set on my server, however there are 10 additional IP aliases 
> assigned to the box, one which I plan to use as a mail server. The mail 
> server will be serving mail for a completely different domain (different 
> then the default hostname of my box). My question is this: If I take one 
> of my additional IP addresses and bind it to postfix for mail, do I also 
> have to specify the remote IP and mail server hostname in /etc/hosts?
> 
> For example my hosts looks something like this
> 127.0.0.1 localhost
> 
> Can I add?
> 66.x.x.x mail.foo.bar
> 
> Is this even necessary?

not if your dns-servers on LAN and WAN are configured right and
if this is not the case you must not run a public mailserver

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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