def ex_delete_all_records(self, zone):
        deletions = []
        for r in zone.list_records():
            if r.type in (RecordType.NS, RecordType.SOA):
                continue
            deletions.append(('DELETE', r.name, r.type, r.data, r.extra))

        if deletions:
            self._post_changeset(zone, deletions)
Remove all the records for the provided zone.
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/route53.py/Route53DNSDriver.ex_delete_all_records