'Delete a zone.
Note: This will delete all the records belonging to this zone.
:param zone: Zone to delete.
:type  zone: :class:`Zone`
:rtype: ``bool``'

def delete_zone(self, zone):

    action = '/app/dns/dyndns.jsp?'
    params = {'action': 'DELETEZONE', 'name': zone.id}
    try:
        response = self.connection.request(action=action, params=params)
    except ZonomiException:
        e = sys.exc_info()[1]
        if (e.code == '404'):
            raise ZoneDoesNotExistError(zone_id=zone.id, driver=self, value=e.message)
        raise e
    return ('DELETED' in response.objects)
