resolve_fqdn should return nil if nothing matched