server name QDN

David Kirchner dpk at
Wed Aug 31 20:07:30 GMT 2005

On 8/31/05, Dark Star <dead_line at> 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="" in /etc/rc.conf .
hostname -s will return the first portion of the fqdn.

More information about the freebsd-questions mailing list