Update DomainService to use hostMap