On 2017-08-23 21:04, Per Jessen wrote:
Carlos E. R. wrote:
On 2017-08-23 15:45, Roger Oberholtzer wrote:
On Wed, Aug 23, 2017 at 3:31 PM, James Knott
wrote: On 23/08/17 02:13 AM, Roger Oberholtzer wrote:
On Wed, Aug 23, 2017 at 8:07 AM, Per Jessen
wrote: > $ dnsdomainname > 3111skyline.com For me dnsdomainname reports nothing.
Same here.
After I switched the order in /etc/hosts (fqdn first, then the short machine name) I got the domain from dnsdomainname.
Yes, the ordering is documented and is important.
So the presence and order in /etc/hosts seems key in having a fqdn.
Well, apparently you need both /etc/hosts and /etc/hostname correctly populated.
You just need the name to resolve, either with /etc/hosts or with DNS.
I never touch /etc/hosts, but I have a working DNS and all server names are know/resolvable.
I think the YaST name tab touches both files. I like the self name to work even if the DNS is broken. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)