On the existence of a solution in a domain identification problem