Added the API attribute domain when allocating IP