Why is my domain name setting lost when I reboot my linux system?
As per KB article 433 I know that GMS requires a domain name to be set via the operating system so that it can send email.
On my linux system, this value is lost when I reboot – what can I do about this?
We have found that some Linux systems will not retain the “domainname” value following a reboot. If this is the case, then you need to edit the file
and add a line that reads;
kernel.domainname = domain.dom
Where “domain.dom” is your company domain name. This should then set the domain value for you at boot time for any future system restart.
If you are running Suse Linux Version 9 or above you are also able to store the default domain name in the file /etc/defaultdomain for the purpose of carrying it over reboots.
Keywords:gethostbyname, domainname, reboot