'Retrieve all current settings for a given zone.'

def ex_get_zone_settings(self, zone):

    params = {'z': zone.domain}
    self.connection.set_context({'zone_domain': zone.domain})
    resp = self.connection.request(action='zone_settings', params=params)
    result = resp.object['response']['result']['objs'][0]
    return result
