Hi,

On Wed, 2002-07-03 at 23:53, Jay Daniels wrote:

> > You have a structure different from:
> > 
> > IP_address  FQDN    alias1  alias2
> 
> Correct
> 
> IP_address  hostname  FQDN <add more aliases here like: www mail ftp>

Have you tried the hostname, hostname --fqdn, domainname and
dnsdomainname commands? From the man pages of theses commands and the
trial and error method, I've found that the correct way to configure a
hostname, for example foo.bar.net is the following:

/etc/hosts:
127.0.0.1   localhost   localhost.localdomain
xxx.xxx.xxx.xxx    foo.bar.net   foo   alias1...alias_n

You have an entry in /etc/sysconfig/network
HOSTNAME=foo

And finally, if you want to update the hostname without rebooting, you
should also use the hostname command.

Juan.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to