Use fqdn not hostname.