Add retrieve domain by ID or name