On 2017-08-23 17:09, Per Jessen wrote:
Carlos E. R. wrote:
On 2017-08-23 15:31, 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.
Customized 42.2, returns my domain, not the host.domain. Bind is running.
42.3 default configured by YaST, returns nothing. The domain is "suse".
My guess - if the hostname+domain configured cannot be resolved, "hostname -f" will not return it. Only if it can be resolved (dns or /etc/hosts) will it be returned.
Interesting hypothesis. Try then on a machine where dnsmasq is running. Mmmm... no, "domainname" doesn't work there either. cer@Isengard:~> domainname (none) cer@Isengard:~> host Isengard Isengard.Valinor has address 192.168.... -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)