def METHOD_NAME(self):
    payload = self._get("/zones")
    domain_info = next(
        (domain for domain in payload if domain["name"] == self.domain), None
    )
    if not domain_info:
        raise AuthenticationError("No domain found")
    self.domain_id = domain_info["id"]