[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/hostname



David Fokkema wrote:
On Mon, Jun 21, 2004 at 10:33:06PM +1000, Darryl Luff wrote:

Tom Allison wrote:

My /etc/hostname file contains only the machine name and not the FQDN of the machine.

This is causing problems with procmail, squirrelmail and probably 50 other things out there.

How do I set this once and for all?
And should it be a FQDN or just the machine name?


I put both in:
9.9.9.9	myserver	myserver.mydomain.com


Isn't that your /etc/hosts file instead of your /etc/hostname?

Ahhh. Sorry about that. Selective blindness. If you've got it setup like that, it should be fine. What problem are you having?


I have just my machine name in /etc/hostname. I have both in my
/etc/hosts, just like above.

HTH,
David




Reply to: