Hostnames that contain at least one period, are now first attempted to be resolved as FQDNs, before adding local domains is tried.