Carlos E. R. wrote:
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.
Yesterday when I updated a test system to be "james.ramboll.ramboll-group.global.network", both /etc/hosts and /etc/hostname were touched/written (same timestamp), but only the latter was changed.
I like the self name to work even if the DNS is broken.
For me, nothing works without DNS. -- Per Jessen, Zürich (18.0°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org