def METHOD_NAME(self, rtype=None, name=None, content=None):
    payload = self._get(f"/domains/{self.domain_id}/dns")
    # payload['domains'] should be a list of len 1
    try:
        raw_records = payload["domains"][0]["entries"]
    except (KeyError, IndexError):
        raise Exception("Unexpected response")
    processed_records = []
    for record in raw_records:
        processed_record = {
            "type": record["type"],
            "name": self._full_name(record["name"]),
            "ttl": record["ttl"],
            "content": record["content"],
            "id": record["id"],
        }
        processed_records.append(processed_record)
    if rtype:
        processed_records = [
            record for record in processed_records if record["type"] == rtype
        ]
    if name:
        name = self._relative_name(name)
        processed_records = [
            record for record in processed_records if name in record["name"]
        ]
    if content:
        processed_records = [
            record
            for record in processed_records
            if record["content"].lower() == content.lower()
        ]
    LOGGER.debug("list_records: %s", processed_records)
    return processed_records