[CentOS] Linux hosts file /etc/hosts
Reindl Harald
h.reindl at thelounge.net
Tue Nov 8 17:50:09 UTC 2011
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
-------------- 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/3949f65e/attachment.sig>
More information about the CentOS
mailing list