[CentOS] Hostname question

Mon Apr 8 18:52:12 UTC 2013
Jason T. Slack-Moehrle <slackmoehrle at gmail.com>

John,

Weird question, but if web and e-mail are going to be on the same box. Do I
need to do mail.hostname.tld or can I just to hostname.tld?

For the MeowBox.me domain.
for DNS A-record: @ is the public IP
A-record mail is the public IP.

Mx record is 0 mail mail.meowbox.me



On Mon, Apr 8, 2013 at 11:46 AM, John R Pierce <pierce at hogranch.com> wrote:

> On 4/8/2013 11:17 AM, Jason T. Slack-Moehrle wrote:
> > but `hostname -f` says:
> >
> > $ hostname -f
> > hostname: Unknown host
>
> put the hostname in /etc/sysconfig/network, as ..
>
> HOSTNAME=full.domain.name.com
>
> example...
>
> $ more /etc/sysconfig/network
> NETWORKING=yes
> NETWORKING_IPV6=no
> HOSTNAME=hostname.mydomain.com
> GATEWAY=x.y.w.x
>
>
> --
> john r pierce                                      37N 122W
> somewhere on the middle of the left coast
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>