'Return a list of records for the provided zone.
:param zone: Zone to list records for.
:type zone: :class:`Zone`
:return: ``list`` of :class:`Record`'

def list_records(self, zone):

    action = '/Record.List'
    data = {'domain_id': zone.id}
    try:
        response = self._make_request(action=action, data=data, method='POST')
    except DNSPodException:
        e = sys.exc_info()[1]
        if (e.message in ZONE_DOES_NOT_EXIST_ERROR_MSGS):
            raise ZoneDoesNotExistError(value='', driver=self, zone_id=zone.id)
        else:
            raise e
    records = self._to_records(response.object['records'], zone=zone)
    return records
