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>

index | next in thread | previous in thread | raw e-mail

On 8/31/05, Dark Star <dead_line@hotmail.com> wrote:
> Hello everyone,
> 
>    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 ="xname"
> 
>    When the machine start, the logs will start to complain /var/log/messages
> 
>    xname sm-mta[157]: unable to qualify my own domain name (xname) -- using
> short name

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


home | help

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