Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 13:07:24 -0700
From:      David Kirchner <dpk@dpk.net>
To:        Dark Star <dead_line@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: server name QDN
Message-ID:  <35c231bf05083113074a708168@mail.gmail.com>
In-Reply-To: <BAY20-F15C467FC98763974EF42B49AA10@phx.gbl>
References:  <BAY20-F15C467FC98763974EF42B49AA10@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/31/05, Dark Star <dead_line@hotmail.com> wrote:
> Hello everyone,
>=20
>    Well, Im on FreeBSD 4.8-R Fresh installation, and i have a simple
> question
>    Lets say I named my box Xname so in rc.conf the hostname =3D"xname"
>=20
>    When the machine start, the logs will start to complain /var/log/messa=
ges
>=20
>    xname sm-mta[157]: unable to qualify my own domain name (xname) -- usi=
ng
> short name

On FreeBSD, the hostname should be set to the entire fully qualified
domain name -- hostname=3D"xname.xwhatever.com" in /etc/rc.conf .
hostname -s will return the first portion of the fqdn.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35c231bf05083113074a708168>