Remove fqdn for localhost machines