[medium] Fix: use net.LookupHost for hostname.

LookupHost in turn calls getbyhostname to get the FQDN. This is more compatible with OSes which do not store the FQDN in
utsname.nodename.
Also note that this is the equivalent of gethostbyname(utsname.nodename) - not gethostbyname(gethostname).