updated validation for fqdn