def METHOD_NAME(self, rtype=None, name=None, content=None):
    records = []
    response = self._get(f"/dns_zones/{self.domain_id}/records.json")
    for record_type in response["dns_zone"]["records"]:
        # For now we do not support other RR types so we ignore them, also see
        # _key_for_record_type
        if record_type not in ("A", "AAAA", "CNAME", "TXT"):
            continue
        if rtype and record_type != rtype:
            continue
        for record in response["dns_zone"]["records"][record_type]:
            record = record["dns_record"]
            if name and record["name"] != self._relative_name(name):
                continue
            record_content = record[self._key_for_record_type(record_type)]
            if content and record_content != content:
                continue
            records.append(
                {
                    "id": record["id"],
                    "name": self._full_name(record["name"]),
                    "type": record["type"],
                    "ttl": record["ttl"],
                    "content": record_content,
                }
            )
    LOGGER.debug("list_records: %s", records)
    return records