add domain query method