Fix fqdn resolution