server name QDN

2005-08-31 Thread Dark Star

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
  xname sm-msp-queue[167]: My unqualified host name (xname) unknown; 
sleeping for retry
  xname sm-msp-queue[167]: unable to qualify my own domain name (xname) -- 
using short name


  Yes I do have a domain name lets say its Xwhatever.com
  and Yes if i will change the hostname -s to Xwhatever.com it will work 
just fine,

  but its not a logic to keep the command line standby as a domain name,

  so where do i tell my box that Xname = Xwhatever.com ?
 I tried to add to /etc/hosts this line
 Xname  Space   Xwhatever.com
 localhost space  Xname

 but its still the same,
 Any help would be appreciate it.
 Thank you in advance.
 Marwan

_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: server name QDN

2005-08-31 Thread David Kirchner
On 8/31/05, Dark Star [EMAIL PROTECTED] 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]