server name QDN

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


On 8/31/05, Dark Star <dead_line at 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.


More information about the freebsd-questions mailing list