'Remove all the records for the provided zone.
:param zone: Zone to delete records for.
:type  zone: :class:`Zone`'

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)
