On 19/04/17 18:39, Philip Paeps wrote:
Linux systems often only configure their shortname with `sethostname()` (for reasons I've never understood). If you set a FQDN though, it will be returned with `gethostname()`.Try to figure out where your particular flavour of Linux sets its hostname and teach it to set a FQDN instead of a shortname.
You're right, this is my case! Will consider moving to FQDN in hostname then (wonder what it may break)...
-- With Best Regards, Marat Khalili