Hi, If I use dhcp to obtain my ip address, how do I change my hostname and domain name? what commands do I need to issue and what files do i need to change?
currently, I'm doing the following:
type "hostname firstname.lastname@example.org
change the hostname in "/etc/sysconfig/network" to email@example.com
If I use just the hostname abc, then I always get the message unqualified domain name. That's why I added the @abc.com at the end.
I have my own domain name and am trying to set up a mail server (sendmail), thererfore, maybe including the domain name is a good idea too?