It is unintuitive and unexpected to have to 'enable' one's dns domain name after having already set it in /etc/dnsdomainname. The dns domain name should be set to whatever is in /etc/dnsdomainname the same way one doesn't have to 'enable' /etc/hosts by running /etc/init.d/hosts. Why would someone go through the trouble of setting up /etc/dnsdomainname or adding a FQDN to /etc/hosts for the IP corresponding to their machine's NIC(s) if they didn't expect those settings be in effect whenever their network was up?
as i understood, then /etc/dnsdomainname and /etc/init.d/domainname are for setting up /etc/resolv.conf 'domain' directive the output of dnsdomainname cames automatically from hostname, eg, you cannot actually SET it. (which is not same for domainname and nisdomainname)
glen has it right
Unforunately, even if I run hostname at boot I don't get a domain name with hostname -f. I only get the hostname. I have /etc/dnsdominname setup and I have /etc/resolv.conf with domain mydomain. On other distros (RH and Caldera) I don't remember having this problem. How did they do it? It seems from the mail list that this is an ongoing problem. How do I make it work?