Re: localhost.localdomain

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

 



On Wed, 14 May 2003, Daniel Nilsson wrote:

> 
> Hi all,
> 
> My RedHat-installs has the following line in /etc/hosts (host1 is the
> real hostname):
> 
> 127.0.0.1               host1 localhost.localdomain localhost
> 
> Im running sendmail as null-client.
> All root mail comes from root@xxxxxxxxxxxxxxxxx because sendmail thinks
> this is the domain of the machine.
> 
> I see 2 solutions to this problem.
> 
> A) configure sendmail with the correct domainname. Not a very good idea,
> this should be configured correctly by the OS I think.
> 
> B) change /etc/hosts to:
> 
> 127.0.0.1               localhost.localdomain localhost
> 192.168.0.2             host1 host1.domain.com
> 
> To get the real hostname and the real FQDN tied to the real IP.
> 
> Comments? Why does RedHat use localhost.localdomain? And why is the
> hostname set on 127.0.0.1 and not on the real ip?
> 

How is this a kickstart issue?




-- 
Please, reply only to the list.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux